Commit Graph

21234 Commits

Author SHA1 Message Date
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
Michael Steenbeek e46a779c00 Use xyzd for spawns (#52) 2021-04-03 00:20:44 +01:00
Ted John f5b275c6d7 Start write-up on format 2021-04-03 00:20:44 +01:00
Ted John ea961aed93
Fix #14428: No text visible in in-game console window (#14429) 2021-04-03 00:12:30 +01:00
Michael Steenbeek 0e327c86e4
Fix ratings calculation taking 30 minutes 2021-04-02 22:57:36 +02:00
A.N 4d3328c7bb
Add preprocessor directives to stop unused variable/function warnings. (#14422) 2021-04-02 14:41:11 +02:00
Duncan b65f12f1cf
Use correct null value (#14421)
* Use correct null value

* Increment network version
2021-04-02 13:13:33 +01:00
OpenRCT2 git bot 0bb5d453a4 Merge Localisation/master into OpenRCT2/develop 2021-04-02 04:05:31 +00:00
Michael Steenbeek 7344b7fbfd
Use 16-bit ride_id_t thoughout and raise RIDE_ID_NULL (#14411)
* Replace RIDE_ENTRY_INDEX_NULL with OBJECT_ENTRY_INDEX_NULL

Ride entries are objects like any other, so there is little point having separate constants.

* Use ride_id_t in many more places

* Change RIDE_ID_NULL to 0xFFFF

* Increment network version

* Update replays

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2021-04-01 16:02:57 +01:00
Michael Steenbeek cbefc4fe38
Fix #14412: NPE in vehicle_create_car() 2021-04-01 11:26:14 +02:00
OpenRCT2 git bot 7c33a31d3a Merge Localisation/master into OpenRCT2/develop 2021-04-01 04:02:31 +00:00
Michael Steenbeek 9ee3c81768
Merge pull request #14397 from Gymnasiast/refactor/hardcoded-terrain-constants
Remove hardcoded terrain style constants from RCT1 and MapGen
2021-03-31 20:18:12 +02:00
Gymnasiast d7809c26f5
Use string_view instead of const char* 2021-03-31 19:22:09 +02:00
Gymnasiast b627dbd3a4
Apply review requests 2021-03-31 19:15:33 +02:00
Gymnasiast 69f7ad35fc
en-GB: Use real multiplication sign instead of x 2021-03-31 14:37:35 +02:00
Gymnasiast d7d402747e
Add Vietnamese language 2021-03-31 14:26:31 +02:00
Tulio Leao 465bcf768c
Merge pull request #14394 from tupaschoal/coords1
Use more ScreenCoordsXY on openrct2-ui
2021-03-30 19:49:51 -03:00
Michael Steenbeek 4014fbe861
Add missing call to gfx_unload_csg() 2021-03-30 22:49:00 +02:00
OpenRCT2 git bot 6bff0fb1a1 Merge Localisation/master into OpenRCT2/develop 2021-03-30 04:02:43 +00:00
Tulio Leao 7e78061e16 Use ScreenCoordsXY on InGameConsole 2021-03-29 09:34:11 -03:00
Tulio Leao bb8c275df6 Remove raw coords gfx_fill_rect_inset overload 2021-03-29 09:34:11 -03:00
Tulio Leao 08e182fba2 Use ScreenCoordsXY on Graph methods 2021-03-29 09:34:11 -03:00
Tulio Leao eab297f9ff Use ScreenCoordsXY on Graph::Draw 2021-03-29 09:34:11 -03:00
Tulio Leao d34dc3c924 Increase usage of ScreenRect' gfx_fill_rect_inset on Finances 2021-03-29 09:34:09 -03:00