Commit Graph

119 Commits

Author SHA1 Message Date
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
Ted John b8025e763e Fix read / writing of boat vehicles 2021-04-03 00:21:43 +01:00
Ted John ac52a16c9f Fix more build errors 2021-04-03 00:21:43 +01:00
Gymnasiast 3496078bc9 Comment out unused constexprs (which prevent GCC compilation) 2021-04-03 00:21:43 +01:00
duncanspumpkin 89d3b91f15 Fix formatting 2021-04-03 00:21:43 +01:00
duncanspumpkin 86bdec5915 Remove storage class from specialisation 2021-04-03 00:21:43 +01:00
duncanspumpkin 8a37a011f9 Move where templates are specialised to workaround gcc bug 2021-04-03 00:21:43 +01:00
duncanspumpkin 44c9cca676 Finish entity fixes 2021-04-03 00:21:43 +01:00
duncanspumpkin e7113a9f26 Fix entity writing 2021-04-03 00:21:43 +01:00
duncanspumpkin 1f1d533282 Make non entity rebase fixes 2021-04-03 00:21:43 +01:00
duncanspumpkin efbc1453e2 Remove next/previous and linked lists 2021-04-03 00:21:43 +01:00
Gymnasiast 944e96f5fb Fix formatting 2021-04-03 00:21:43 +01:00
duncanspumpkin 9e4848a034 Remove entity fields generated on load 2021-04-03 00:21:43 +01:00
duncanspumpkin 3e6c61aa6b Move SubType to type specific area 2021-04-03 00:21:43 +01:00
duncanspumpkin 59d11a63c0 Fix compile issue 2021-04-03 00:21:43 +01:00
Gymnasiast b37a6d25eb Fix rebase errors (including one temporary hack) 2021-04-03 00:21:43 +01:00
Gymnasiast 09e87179b9 Fix casts; enums; TimeInPark and Objective 2021-04-03 00:21:43 +01:00
Ted John 1007bac730 Read / write entities field by field 2021-04-03 00:21:43 +01:00
Ted John 07c5c62445 Fix news item read / write 2021-04-03 00:21:43 +01:00
Gymnasiast e587580653 Replace C casts and fix rebase error 2021-04-03 00:21:43 +01:00
Gymnasiast 6e22d30a4d Fix rebase error 2021-04-03 00:21:43 +01:00
Matt 79d1f06447 Store cheats in save file 2021-04-03 00:20:45 +01:00
Gymnasiast 9fa7e97d63 Rename things back to sprites; fix formatting 2021-04-03 00:20:45 +01:00
Gymnasiast 23299f1f29 Fix rebase errors 2021-04-03 00:20:45 +01:00
Ted John a3351efd49 Fix the build for GCC 2021-04-03 00:20:45 +01:00
Ted John b3969cf1fe Fix clang errors 2021-04-03 00:20:45 +01:00
Ted John cb44c634e0 Implement saving / loading of banners 2021-04-03 00:20:45 +01:00
Ted John bc66342521 Fix loading / saving of rides 2021-04-03 00:20:45 +01:00
Ted John b7456c93df Fix rebase errors 2021-04-03 00:20:45 +01:00
Ted John 3261da535f Derive some park variables 2021-04-03 00:20:45 +01:00
Ted John b2a8089bb7 Implement things chunk, strings chunk and fix ride, more animations 2021-04-03 00:20:45 +01:00
Ted John 48f5515a55 Fix nested arrays and ride measurement 2021-04-03 00:20:45 +01:00
Ted John ccb2eed939 Fix build after rebase 2021-04-03 00:20:45 +01:00
Ted John f433f452ca More ride loading / saving 2021-04-03 00:20:45 +01:00
Ted John be04dd87a0 Begin loading / saving of rides 2021-04-03 00:20:45 +01:00
Ted John a1de07218f Auto create map animations 2021-04-03 00:20:45 +01:00
Ted John c4b32adada Rename methods 2021-04-03 00:20:45 +01:00
Ted John d1185dc73e Rename blob to stream 2021-04-03 00:20:45 +01:00
Ted John 61e726478d Refactor OrcaStream to new file 2021-04-03 00:20:45 +01:00
Ted John ba14399c21 Refactor stream classes 2021-04-03 00:20:45 +01:00
Ted John 4643469ac3 Finish refactor of loading / saving 2021-04-03 00:20:45 +01:00
Ted John 311ce446cf Extract IO to new class 2021-04-03 00:20:45 +01:00
Ted John 2659441659 Fix saving / loading issues 2021-04-03 00:20:44 +01:00
Ted John 335c1daed4 Add more read code 2021-04-03 00:20:44 +01:00
Ted John 4174b8adcc Fix the build 2021-04-03 00:20:44 +01:00
Ted John 3040ac9a04 Save more info 2021-04-03 00:20:44 +01:00
Ted John fa0748c64c Read / write climate data 2021-04-03 00:20:44 +01:00
Ted John bbd24c9eb9 Update writing of authoring chunk 2021-04-03 00:20:44 +01:00
Ted John 153db1f0be Read and write scenario chunk 2021-04-03 00:20:44 +01:00
Ted John 0b519c68f2 Refactor ParkFile to just a source file 2021-04-03 00:20:44 +01:00
Ted John 3aaef84392 Load and save interface chunk 2021-04-03 00:20:44 +01:00
Ted John 2fc8e06a95 Load general properties and fix entrance positions 2021-04-03 00:20:44 +01:00
Ted John 6baa70ced9 Get tiles loading correctly 2021-04-03 00:20:44 +01:00
Ted John fbc120feba Start work on loading 2021-04-03 00:20:44 +01:00
Ted John c264bc7b72 Write tiles 2021-04-03 00:20:44 +01:00
Ted John 9ba375f23b Write objects 2021-04-03 00:20:44 +01:00
Ted John 3f663feec7 Automatically write array size 2021-04-03 00:20:44 +01:00
Ted John 9919253983 Get some saving working 2021-04-03 00:20:44 +01:00
Ted John 7353225b7f Start new save format 2021-04-03 00:20:44 +01:00