1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

21123 Commits

Author SHA1 Message Date
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
Tulio Leao
090aadb647 Use ScreenCoordsXY on window_guest_stats_bars_paint 2021-03-29 09:31:05 -03:00
Tulio Leao
aa88c8d181 Increase usage of gfx_fill_rect_inset that uses ScreenRect 2021-03-29 09:31:05 -03:00
Tulio Leao
d5b5c10e80 Use ScreenCoordsXY for window_game_bottom_toolbar_draw_park_rating 2021-03-29 09:31:04 -03:00
Tulio Leao
2f608c32ab Use ScreenCoordsXY for window_ride_maintenance_draw_bar 2021-03-29 09:31:04 -03:00
Michał Janiszewski
ed40badcb1 Initialise variable to fix Launchpad ppc64el builds
`src/openrct2-ui/windows/TopToolbar.cpp:2112:13: error: ‘side’ may be used uninitialized in this function [-Werror=maybe-uninitialized]`
2021-03-29 09:52:52 +02:00
OpenRCT2 git bot
dd7258eb33 Merge Localisation/master into OpenRCT2/develop 2021-03-29 04:04:12 +00:00
Duncan
ee03ab71d7 Reorganise EntityImport for S4 to follow S6/park style (#14398) 2021-03-28 21:35:53 +01:00
OpenRCT2 git bot
7c78a2b8c3 Merge Localisation/master into OpenRCT2/develop 2021-03-28 04:03:42 +00:00
Gymnasiast
b3bbdcbfd5 Remove hardcoded terrain style constants from RCT1 and MapGen 2021-03-27 17:34:10 +01:00
Michael Steenbeek
7a29350688 Merge pull request #14019 from kimjcalvin/good_first_issue
Display where a track design is located inside the track selector
2021-03-27 16:13:06 +01:00
Gymnasiast
22ba7a2bc1 Fix drawing; fix formatting 2021-03-27 15:56:01 +01:00