Ted John
f8271e93b0
Refactor code base to allow easy addition of new object types
2018-05-15 00:32:36 +01:00
Aaron van Geffen
8c3766288b
Address clang 6.0 compilation errors.
2018-05-13 23:22:40 +02:00
Ted John
0f0bb021d6
Add support for raw images
2018-05-13 11:36:35 +01:00
Ted John
73a4d1400d
Read images with offsets
2018-05-13 11:36:35 +01:00
Ted John
580f1baff2
Get basic relative .png loading
2018-05-13 11:36:35 +01:00
Hielke Morsink
8d10bfb5a1
Add namespace closing comments
2018-05-04 22:54:43 +02:00
Ted John
edb9dc39ab
Pass object repository as a dependency when loading objects
2018-04-19 23:51:05 +01:00
Ted John
dea5d2754b
Search ObjData recursively
...
Enable recursive searching ObjData for Windows and non-Windows. This allows players to continue using sub directories for their official objects, e.g. WW and TT. There will be a slight performance hit if all objects are in a sub directory as a search is done for each official object that is loaded.
2018-04-08 19:03:33 +01:00
Ted John
bb5b531f0c
Use resize instead of push_back
2018-03-29 17:59:49 +01:00
Ted John
742edd45da
Update loading object images to use inclusive ranges
2018-03-28 22:26:13 +01:00
Ted John
be000f9ba6
Sort string table when loading strings from JSON
2018-03-26 21:38:10 +02:00
Ted John
f3c125853b
Do not load images for objects if in headless mode
2018-03-26 21:38:09 +02:00
Ted John
83ce94fd9e
Search for object file, case insensitive
2018-03-26 21:38:09 +02:00
Ted John
7ea5c1f099
Fix errors
2018-03-26 21:38:09 +02:00
Gymnasiast
b207797ad2
Fix rebase errors
2018-03-26 21:38:08 +02:00
Ted John
afbdb6dfc7
Continue work on ride JSON loading
2018-03-26 21:37:23 +02:00
Ted John
971e2dcaa2
Add JSON loading for walls
2018-03-26 21:37:23 +02:00
Ted John
ede51ded86
Add JSON loading for scenery groups
2018-03-26 21:37:23 +02:00
Ted John
ec446ac9d6
Return image and string table by reference
2018-03-26 21:37:23 +02:00
Ted John
900bc48efa
Write common JSON string loader
2018-03-26 21:37:22 +02:00
Ted John
d56f1445f8
Add JSON loading for footpath items
2018-03-26 21:35:44 +02:00
Michael Steenbeek
e8b28965cc
Fix extracting ranges from object .DATs
2018-03-26 21:35:44 +02:00
Ted John
d27a90f068
Implement footpath JSON reading
2018-03-26 21:35:44 +02:00
Ted John
1e4a8c0da7
Refactor common JSON methods to new helper namespace
2018-03-26 21:35:44 +02:00