Commit Graph

74 Commits

Author SHA1 Message Date
suhrke
cbb2f69cf0 Fixed default point light color bug 2017-08-13 00:47:17 -07:00
0993b17333 Templated parse entity 2017-07-18 01:28:15 -07:00
suhrke
f00fe06b14 doc-entities.txt and minor cleanup 2017-07-17 16:02:01 -07:00
suhrke
168818b9b0 Error messages made more clear 2017-07-17 13:16:59 -07:00
c2fc685cb4 Merge branch 'master' of https://git.teknik.io/scuti/reflex2q3 2017-07-14 15:14:44 -07:00
046912cad7 Removed libraries.h 2017-07-14 15:14:09 -07:00
suhrke
130cf2d762 Added default case for target angles, fixes pocket-infinity conversion 2017-07-13 17:05:35 -07:00
suhrke
1835dccf8b force floats to fixed width, no scientific notation in output 2017-07-12 20:09:36 -07:00
suhrke
32e6e092c2 Changed position default to 0,0,0 for all objects to reflect reflex map file generation 2017-07-11 23:13:18 -07:00
suhrke
11f8989558 PlayerSpawn defaults to 0,0,0 if position unspecified 2017-07-11 22:26:21 -07:00
suhrke
6c297d44ab bug fixes to get pocket-infinity converted 2017-07-08 07:20:55 -07:00
suhrke
10b4074e8a corrected angle conversion for different coordinate system 2017-07-08 02:50:37 -07:00
9ce83797ec Fix minor miscalculation with rotation in texture definition 2017-07-08 00:31:28 -07:00
5d1d46e2cf parser recognizes race trigger brushes 2017-07-07 23:28:44 -07:00
24d011a289 Writing entity brushes overwrites brush texture with common/trigger 2017-07-07 23:08:58 -07:00
5f0343a88d Merge branch 'master' of https://git.teknik.io/scuti/reflex2q3 2017-07-07 19:17:16 -07:00
d33b9d8639 Replaced placeholder texdef with actual 2017-07-07 19:16:28 -07:00
suhrke
34db7aa76b Removed handling of alpha component in EC::hexToRgb 2017-07-06 18:00:27 -07:00
suhrke
5eb5511bda changed hex to rgb into hex to rgba 2017-07-06 17:30:21 -07:00
suhrke
821d6001bf fixed error with unmatched target and source 2017-07-06 16:14:06 -07:00
9f32ca0568 Merge branch 'master' of https://git.teknik.io/scuti/reflex2q3 2017-07-06 13:52:51 -07:00
984ff03c80 Changed output queue to vector 2017-07-06 13:52:31 -07:00
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