Commit graph

8147 commits

Author SHA1 Message Date
Ted John
6f97ec798e remove object entry addresses and use constants 2016-07-08 22:58:38 +01:00
Ted John
3bfa747ce4 implement a proper image list allocation 2016-07-08 22:58:38 +01:00
Ted John
7124143b89 do more cleanup of old object code 2016-07-08 22:58:38 +01:00
Ted John
faf1f08b7f fix loading object via console 2016-07-08 22:58:38 +01:00
Ted John
8d168fb2ce remove more old object code 2016-07-08 22:58:38 +01:00
Ted John
a47c039f22 remove lots of old object code 2016-07-08 22:58:38 +01:00
Ted John
2cade7dd13 add object property validation 2016-07-08 22:58:38 +01:00
Ted John
7e1f948e19 remove required flag (unused) and fix scenery selection 2016-07-08 22:58:38 +01:00
Ted John
4bed693344 fix basic object selection 2016-07-08 22:58:38 +01:00
Ted John
aa62c3f03f add drawing of other object previews 2016-07-08 22:58:38 +01:00
Ted John
ebcbb085d2 add ride previews 2016-07-08 22:58:38 +01:00
Ted John
52c11267bc add small scenery preview 2016-07-08 22:58:38 +01:00
Ted John
13a560fb1d fix ride type sorting and add water preview 2016-07-08 22:58:38 +01:00
Ted John
72f7f0f329 refactor object factory loading 2016-07-08 22:58:38 +01:00
Ted John
8ce9a66286 add better object read error logging 2016-07-08 22:58:38 +01:00
Ted John
6b353346b9 read footpath objects correctly 2016-07-08 22:58:38 +01:00
Ted John
f6d6d93580 fix highlight object in object selection 2016-07-08 22:58:38 +01:00
Ted John
554d445db4 migrate more of object selection 2016-07-08 22:58:38 +01:00
Ted John
d1dc6b528d Add Memory::Copy overlap check and Memory::Move 2016-07-08 22:58:38 +01:00
Ted John
343623c815 move more code from old object list to new repository 2016-07-08 22:58:38 +01:00
Ted John
db304cdfcb fix filtering on object selection 2016-07-08 22:58:38 +01:00
Ted John
840179299c scrap object exetended and add sort ability
Not yet sure if we need to sort object repository, but add code for it anyway.
2016-07-08 22:58:38 +01:00
Ted John
995bbffb84 trim string entries 2016-07-08 22:58:38 +01:00
Ted John
6c7bc9b158 add methods to get object repo items 2016-07-08 22:58:38 +01:00
Ted John
33d0bebad9 fix file / directory enumeration 2016-07-08 22:58:38 +01:00
Ted John
202b754d8d fix ride type to ride entry map 2016-07-08 22:58:38 +01:00
Ted John
1b4079536d try to read objects with bad image tables 2016-07-08 22:58:38 +01:00
Ted John
f0844370bb create new FileEnumerator class 2016-07-08 22:58:38 +01:00
Ted John
cf714e9a1a save new objects to user directory 2016-07-08 22:58:38 +01:00
Ted John
904b5923ca support objdata recursive and user directory 2016-07-08 22:58:38 +01:00
Ted John
9e142efbd2 display the number of files scanned 2016-07-08 22:58:38 +01:00
Ted John
09782e980c implement saving of objects and fix other bugs 2016-07-08 22:58:38 +01:00
Ted John
01cd37316c prepare unpacking objects 2016-07-08 22:58:38 +01:00
Ted John
84bd948488 report object scan time 2016-07-08 22:58:38 +01:00
Ted John
12f48f36b5 disable set_load_objects_fail_reason for now 2016-07-08 22:58:38 +01:00
Ted John
78bbfe8daf initialise pointers in LargeSceneryObject 2016-07-08 22:58:38 +01:00
Ted John
602a3d4775 do not free non allocated array 2016-07-08 22:58:38 +01:00
Ted John
6d80f2bc79 handle object load exceptions 2016-07-08 22:58:38 +01:00
Ted John
a0d8b9ccbf handle empty string tables 2016-07-08 22:58:38 +01:00
Ted John
1af6242381 Fix GCC by not naming field same as type 2016-07-08 22:58:38 +01:00
Ted John
50b7e4222f remove a lot of old object code 2016-07-08 22:58:38 +01:00
Ted John
9b90249f5b re-introduce object hash table 2016-07-08 22:58:38 +01:00
Ted John
b207f6112d fix unloading of objects 2016-07-08 22:58:38 +01:00
Ted John
d7575732fb get title screen loading correctly 2016-07-08 22:58:38 +01:00
Ted John
25af7d346c add water object loading 2016-07-08 22:58:38 +01:00
Ted John
6912c537bb add scenery group object loading 2016-07-08 22:58:38 +01:00
Ted John
a07bbc6bce add banner object loading 2016-07-08 22:58:38 +01:00
Ted John
54f50c1f20 add wall object loading 2016-07-08 22:58:38 +01:00
Ted John
958dfa6623 add large scenery object loading 2016-07-08 22:58:38 +01:00
Ted John
2c02412f98 add ride object loading 2016-07-08 22:58:38 +01:00