Commit Graph

52 Commits

Author SHA1 Message Date
suhrke
47eb891dfe changed count loops into iterator loops where intent was more clear 2017-07-06 11:29:14 -07:00
suhrke
100c830c83 Added extractMapInfo(vector---) + finish const correct functions 2017-07-06 11:10:04 -07:00
suhrke
3b73c4300a extractMapInfo now passes queue by value so parser can use it 2017-07-06 10:29:54 -07:00
suhrke
640ce93ff4 Added tests for PointLight conversion + spawns 2017-07-06 10:09:15 -07:00
suhrke
d16f3f8503 Race and other mode spawns play nice when on same map now 2017-07-06 08:52:59 -07:00
suhrke
c88cf1405b Fixed truncation of PointLight intensity value 2017-07-05 22:43:24 -07:00
suhrke
e622f495a9 PointLights converted, looking for ways to test accuracy of bright+color conversion 2017-07-05 22:36:39 -07:00
suhrke
26e287d9b4 EC: const correct prototypes, pass by ref where possible 2017-07-05 20:32:49 -07:00
suhrke
774688180d added unittest to main recipe, removed debug couts 2017-07-05 19:53:09 -07:00
suhrke
802f0bc99a race maps and maps without race convert spawns correctly, possible issue with maps with both 2017-07-05 19:49:03 -07:00
suhrke
fde15235bd EC extracts mode info where it can, race spawns still an issue 2017-07-05 18:58:07 -07:00
111b0f50a7 Merge branch 'master' of https://git.teknik.io/scuti/reflex2q3 2017-07-05 16:25:24 -07:00
a1f1a35372 Appended hex color to the end of material name 2017-07-05 16:25:00 -07:00
suhrke
0e61e02259 EC: fixed malformed race spawn conversion, issue #33 2017-07-05 16:14:17 -07:00
suhrke
ff47d28870 encapsulate constants for EC 2017-07-05 16:00:22 -07:00
dbcd7c59d8 [minor] Fixed function prototype 2017-07-05 11:57:51 -07:00
2d4581c076 Entity Converter shifts position of entities respective to type 2017-07-05 11:53:45 -07:00
suhrke
f6b1b9ca41 Offset height for teleport desinations, pickups, and player spawns 2017-07-05 05:10:31 -07:00
suhrke
d47b0af646 fixed bug: if unsupported ent type, returns empty vector 2017-07-05 03:21:51 -07:00
suhrke
e4412bcdaa minor bug fix & general test cases made for EC 2017-07-04 00:06:13 -07:00
suhrke
3fd631c42a queue scan added, Catch added for EntityConverter tests 2017-07-03 22:19:50 -07:00
suhrke
991cb4d02a EntityConverter::convertTarget made safer 2017-07-03 19:27:18 -07:00
suhrke
0b6254da89 CTS converts such that only next checkpoint shows 2017-07-03 18:10:05 -07:00
suhrke
62de82a945 Reflex mapping format given its own file, removed from code 2017-07-03 17:04:06 -07:00
suhrke
0c5d5d1899 added PlayerSpawn conversion (will break if race and regular spawns present) 2017-07-02 23:41:59 -07:00
suhrke
225e1375ef broke apart EntityConverter::convert, added submodule 2017-07-02 20:22:09 -07:00
suhrke
757daa6dd1 added quote to fix issue #22 2017-07-01 17:28:35 -07:00
ff1f57fdaa Added robust program options & prepared for entity conversion 2017-06-18 07:44:42 -07:00
728f6fba8b Individual entity-brush conversion working, parsing error in NetRadiant 2017-06-17 13:04:11 -07:00
0e214e5955 Integrated entity converter; missing brush component. 2017-06-17 03:34:19 -07:00
ce16bf92f9 Templated brush parsing functions. 2017-06-16 13:08:10 -07:00
0428d31ad7 Added function to identify jumppads and teleporters 2017-06-15 07:09:38 -07:00
suhrke
98abd5c184 EntityConverter Target handled by pre-scan 2017-06-07 01:46:43 -07:00
suhrke
717be4c3a8 Added entity converter, need integration 2017-06-06 18:22:54 -07:00
e05e86fe67 Added hex digit to TFace 2017-05-06 17:54:48 -07:00
111cdc6339 Fixed bug where hex digit in Face is assigned as a material 2017-05-06 15:25:47 -07:00
98c2ec2a20 Parser accidentally omitted added to directory. 2017-05-05 19:40:31 -07:00
60f7b314b6 Integrated new parser. 2017-05-05 19:33:26 -07:00
suhrke
d995b858aa Parser control logic fixed, closes issue #8 2017-04-20 13:02:56 -07:00
d55de51b94 Clean up & headers no longer include libraries.h 2017-04-12 00:24:54 -07:00
8689f24329 Changed map parser so V8 inherits from v6 2017-04-12 00:18:29 -07:00
add1138a78 minor dealings with include guards 2017-04-11 08:27:53 -07:00
00e9f3b50e .map file workable for NetRadiant 2017-04-11 08:27:10 -07:00
697cce13ef TFace attributes offset, scale, and rotation are assigned. 2017-04-11 04:30:36 -07:00
19f97c27c1 Separated planes functions to its own file 2017-04-07 08:19:51 -07:00
suhrke
bc2a3aad8f updated for linux 2017-04-06 18:23:47 -07:00
31df64b272 Placed hardcoded keywords into defines & cleaned up scraps 2017-04-06 17:05:11 -07:00
4f2aec99e2 Fixed crash - parser properly transitions through states 2017-04-06 06:00:44 -07:00
4f13310893 Changed Vertex to check for NULL 2017-04-06 03:48:12 -07:00
92914e0e5d Parser transitions from prefab, entity, brush, to vertex, but crashes on vertex. 2017-04-06 03:30:53 -07:00