Commit Graph

108 Commits

Author SHA1 Message Date
Gymnasiast 4fd7afe0ee
Map legacy paths in old .PARK saves
This allows loading up older .PARK saves, created before splitting paths.
This includes saves like the one in https://github.com/OpenRCT2/OpenRCT2/issues/15006 and some of @IntelOrca ’s test saves.
2021-08-07 11:16:31 +02:00
Gymnasiast b2ffbb3639
Merge remote-tracking branch 'upstream/develop' into new-save-format 2021-07-19 19:04:19 +02:00
Gymnasiast 999daa9209
Add additional maps for TT footpath railings 2021-06-05 19:10:37 +02:00
Ted John 620b404021 Fix loading of v0 saved parks 2021-06-05 16:26:21 +01:00
duncanspumpkin e45bcde09c Fix saves from corrupting due to old guests in park
RideTypesBeenOn and RidesBeenOn are not at this moment the type that they say they are so doing a check against that type gives invalid results.
2021-06-05 08:42:05 +01:00
duncanspumpkin 5bac7821c9 Merge develop 2021-06-04 13:11:47 +01:00
Ted John 82ce872ad1 Move object id map to bottom of file 2021-06-02 19:24:51 +01:00
duncanspumpkin fe939ece75 Fix static compile error 2021-05-30 19:53:25 +01:00
Gymnasiast e46864a229
Add table to translate old object ids to new ones 2021-05-30 14:04:18 +02:00
duncanspumpkin 35c8fee368 Fix peep thought desync issues and handle >255 rides 2021-05-28 17:38:44 +01:00
Ted John 0ff22e13d7
Fix clang builds 2021-05-20 10:46:17 +01:00
Ted John 650cec46e0 Fix import / export of staff fields 2021-05-19 22:39:02 +01:00
Ted John b6667b5b98 Update import of guests and peep thoughts
Also fix banner import from S4/S6
2021-05-17 22:38:12 +01:00
Ted John 2b2159976d Merge branch 'develop' into new-save-format 2021-05-17 21:33:29 +01:00
Hielke Morsink 7171c8ac0d
[NSF] Fix various implicit type casting warnings (#14656)
These warnings caused compilation to fail on VS2019 Version 16.10.0 Preview 2.1, because warnings are being treated as errors.
2021-05-15 00:29:23 +02:00
Ted John 34f9d5ae8e Remove staff limit and increase patrol area to whole map 2021-05-11 22:38:03 +01:00
Ted John 435e012286 Fix loading of old park files 2021-05-11 22:18:02 +01:00
Ted John 0dc166a403 Fix winning scenarios 2021-05-11 20:29:02 +01:00
Ted John acf02a628c Refactor and increase banner limit 2021-05-10 21:38:04 +01:00
Ted John 5c8512f51c Implement S4 restricted scenery 2021-04-29 01:07:32 +01:00
Ted John d0fbd4193a Implement omit of ghost tile elements when saving 2021-04-27 00:04:38 +01:00
Ted John c9b2e9fb55 Implement removing of trackless rides 2021-04-26 23:54:00 +01:00
Ted John f0ee6de5fc Use real values for gGuestsInParkHistory 2021-04-25 16:23:59 +01:00
Ted John 6db0c01fdc Merge branch 'develop' into new-save-format 2021-04-25 15:03:45 +01:00
Ted John c62290214c Change most things and formatting to money64 2021-04-10 16:00:50 +01:00
duncanspumpkin c44888a556 Correct further warnings 2021-04-10 07:47:17 +01:00
duncanspumpkin a22b8ec90b Fix compilation due to size missmatches 2021-04-10 07:23:02 +01:00
Gymnasiast 6569de4e91
Fix compilation issue on Linux with Clang 2021-04-09 23:13:11 +02:00
Gymnasiast fd29525993
Fix two compilation issues on macOS 2021-04-09 22:51:36 +02:00
Gymnasiast d96ed5499e
Fix formatting 2021-04-09 15:59:14 +02:00
Ted John 8180fb9ae1 Make tile elements dynamic and resizable 2021-04-09 02:09:08 +01:00
Ted John a38154a0f3 Update map tile loop to support large maps 2021-04-08 21:05:34 +01:00
Ted John 01ee1c5f57 Fix transfer of objects in multiplayer 2021-04-08 20:36:26 +01:00
Ted John aec50acad2 Fix research list and other bits after import 2021-04-08 00:49:04 +01:00
Ted John 341f716c9d Implement import / export packed objects 2021-04-07 01:09:49 +01:00
Ted John 3f55053d9c Fix read / write of DAT object entries 2021-04-06 21:03:01 +01:00
Ted John 3173a63726 Replace gScenarioTicks with gCurrentTicks 2021-04-06 00:07:13 +01:00
Ted John e468dd325b Fix patrol area of staff 2021-04-05 23:57:35 +01:00
Ted John f3bf52983a Change price to array write and move gEditorStep 2021-04-05 22:28:15 +01:00
Ted John 66bcfc9e37 Add missing fields to ParkFile 2021-04-05 21:58:59 +01:00
Ted John b45a20549e Remove gS6Info 2021-04-05 18:01:43 +01:00
Ted John 4b980d6b58 Improve saving and playing of .park scenario 2021-04-03 17:27:56 +01:00
Ted John 9555d4fcf2 Only serialise integers, to 32 or 64-bit 2021-04-03 15:10:08 +01:00
Ted John 0fd3c625f7 Fix read / writing of peep thoughts / rides 2021-04-03 12:53:02 +01:00
Ted John d70abcc84e Implement .park for network games 2021-04-03 02:49:15 +01:00
Ted John fc357745d5 Implement compression and replays 2021-04-03 02:17:06 +01:00
Ted John 9fe4cea07e Save .park in crash code 2021-04-03 00:23:15 +01:00
Ted John fce02c21c3 Implement handling of new object types 2021-04-03 00:23:15 +01:00
Ted John 638bbebe59 Write new object identifiers to park file 2021-04-03 00:23:13 +01:00
Ted John 62c6daecc0 Implement read / write of invention list 2021-04-03 00:21:43 +01:00