Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
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
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
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