Commit Graph

8126 Commits

Author SHA1 Message Date
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
Ted John daa5a0c506 add small scenery object 2016-07-08 22:58:38 +01:00
Ted John 7e206d1a85 add path item object 2016-07-08 22:58:38 +01:00
Ted John 90923fbb43 add footpath objects 2016-07-08 22:58:38 +01:00
Ted John 78e15b1d56 start getting object loading working 2016-07-08 22:58:38 +01:00
Ted John e93b2141a1 save object details to repository file 2016-07-08 22:58:38 +01:00
Ted John 2449b7dbf0 add reading of entrance objects 2016-07-08 22:58:38 +01:00
Ted John c9a1357994 add new MemoryStream class 2016-07-08 22:58:38 +01:00
Ted John 28ae0cbee6 add image table reading 2016-07-08 22:58:38 +01:00
Ted John 463e88583d prepare new object classes with EntranceObject 2016-07-08 22:58:38 +01:00
Ted John 3f65a3a383 add object scan call 2016-07-08 22:58:38 +01:00
Ted John 06bf6bb39d settle for ObjectRepository and write load / save 2016-07-08 22:58:38 +01:00
Ted John 0fa703a1cb add new ObjectCache class with Entry 2016-07-08 22:58:38 +01:00
Ted John 76b2621a51 Merge pull request #4000 from SijmenSchoon/develop
Add a "default" button to the loadsave window
2016-07-08 22:58:07 +01:00
Josue Acevedo bfce74f905 Minor fix: guest list not contain any guest. (#4016)
Mistake that I made accidentally in #4006, caused because selected page takes the -1 value if the num of pages is 0 (it only happens if the num of guests is 0).
2016-07-08 23:57:26 +02:00
Duncan 9af54d0fd7 Merge pull request #4015 from SijmenSchoon/ferris_prison
Fix #4003: Fix the closing of ferris wheels
2016-07-08 22:45:27 +01:00
Sijmen Schoon d06633331a Fix the closing of ferris wheels
Well, that was anticlimactic
2016-07-08 23:36:59 +02:00
Duncan 9e730c2ba7 Merge pull request #4012 from gDanix/fix-3749
Fix #3749: Block Brake Issue when Run on Continous Non-block
2016-07-08 21:13:28 +01:00
Josue Acevedo 68794c8ab8 Fix: page dropdown doesn't appear in guest list window. (#4006) 2016-07-08 20:17:56 +02:00
Daniel Trujillo d731a015ea Fix bug causing block brakes blocking vehicles in non-block mode
A comparison has been added to ensure that, if the ride isn't in a
block-sectioned mode, the block brakes will act as a simple brakes
(with 6 km/h boosters)
2016-07-08 19:03:22 +02:00
Sijmen Schoon 511ce8f06a Sort includes 2016-07-08 15:21:08 +02:00
Sijmen Schoon 66628e5131 Remove unused variable 2016-07-08 11:32:34 +02:00