1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00
Commit Graph

22584 Commits

Author SHA1 Message Date
frutiemax
adb692b74e Forward declare Formatter 2021-12-30 12:17:51 -05:00
ζeh Matt
48ff68dc5b Merge pull request #16328 from ZehMatt/fix-16327
Fix #16327: Crash supplying a bad signature size in the auth packet
2021-12-30 04:16:03 -08:00
ζeh Matt
7318cdd9b0 Update changelog.txt 2021-12-30 14:00:16 +02:00
ζeh Matt
b89eddc867 Fix #16327: Crash supplying a bad signature size in the auth packet 2021-12-28 16:44:21 +02:00
Vinícius Hashimoto
4155bf9ce0 Close #13748: Refactor About window to class (#16297) 2021-12-27 18:44:06 -03:00
Michael Steenbeek
f65e12fc78 Close #12243: Merge pull request #16295 from GalBr/use-coords-objects-in-maze-functions
Use Coords objects in maze functions
2021-12-22 19:16:34 +01:00
Gal B
10bd0e7189 Increment NETWORK_STREAM_VERSION 2021-12-22 18:48:37 +02:00
Gal B
367fcaad3c Refactor MazeGetSegmentBit to use const CoordsXY& 2021-12-22 18:48:37 +02:00
Gal B
343f9bbca0 Refactor maze_set_track to use const CoordsXYZD& 2021-12-22 18:48:37 +02:00
Duncan
ee297e9ed3 Fix #16287: Incorrect sv6 extension using console or system browser 2021-12-22 16:19:02 +01:00
Michael Steenbeek
24567290ad Add #16097 to changelog
[ci skip]
2021-12-19 19:38:29 +01:00
Karst
ee6296215b Close#16132: Add Inline Twist to Corkscrew Roller Coaster
The code for this sadly did not exist yet in any other coaster. The sprites did though. So I pulled the sprites from the lay-down coaster and modified the regular inline twist (instead of the flyer) to be drawn correctly.
2021-12-19 18:36:36 +01:00
Michael Steenbeek
25cb49f8ce Pass paint_session as reference 2021-12-19 14:48:00 +00:00
Michael Steenbeek
2cf62abf85 Fix #16188: B&M tracks support incorrect in single angle 2021-12-19 14:48:53 +01:00
Michael Steenbeek
fa68f798c2 Merge pull request #16268 from Gymnasiast/remove-superfluous-ride-null-checks
Pass Ride reference to track paint functions
2021-12-18 23:37:53 +01:00
Gymnasiast
86df2b0ea7 const auto* stationObj 2021-12-18 23:22:29 +01:00
Gymnasiast
db3048ac67 Fix formatting 2021-12-18 23:22:29 +01:00
Gymnasiast
9d3b76388a Pass Ride ref to individual track paint functions 2021-12-18 23:01:39 +01:00
Gymnasiast
85e1326832 Pass Ride ref to track_paint_util_draw_pier() 2021-12-18 22:58:26 +01:00
Gymnasiast
089c231224 Pass Ride ref to station drawing function 2021-12-18 22:58:26 +01:00
Gymnasiast
cf6c1d0a40 Pass Ride ref to track_paint_util_draw_narrow_station_platform() 2021-12-18 22:58:26 +01:00
Gymnasiast
bd500d7d93 Pass ref to Ride in track_paint_util_has_fence() 2021-12-18 22:58:26 +01:00
Gymnasiast
76f6fa1b0d Remove superfluous ride null checks 2021-12-18 22:58:24 +01:00
Michael Steenbeek
4005d3b86a Make Ride::GetStationObject() const 2021-12-18 20:49:24 +00:00
Michael Steenbeek
07a059e10f Add #16258 to changelog
[ci skip]
2021-12-18 20:54:13 +01:00
Michael Steenbeek
4ee1df7de1 Merge pull request #16266 from Gymnasiast/refactor/more-ride-functions
More Ride.h cleanup
2021-12-18 20:52:46 +01:00
Gymnasiast
ef6f2cceee Create RideConstruction.h 2021-12-18 20:27:13 +01:00
Michael Steenbeek
6d19c983e8 Normalise RCT12TileElementType 2021-12-18 19:43:30 +01:00
Gymnasiast
517fbe2d8d Remove unused ride_entry_get_train_layout() 2021-12-18 18:49:29 +01:00
Gymnasiast
449da0d6bd Convert ride_get_station_object() to method 2021-12-18 18:48:52 +01:00
Ted John
e165de7482 Refactor paint structs to use ImageId and extend size of image list (#16258)
* Move to image ID for paint struct

* Move image list to be past the end of legacy limit

* Extend image list size

* Introduce constants for image list size

* Use std::array to store internal paint struct
2021-12-18 07:40:10 +00:00
ζeh Matt
186d3efb59 Merge pull request #16092 from ZehMatt/refactor/timing
Refactor update/time related things
2021-12-17 10:08:42 -08:00
Michael Steenbeek
6c6fe67926 Add #15830 to changelog
[ci skip]
2021-12-17 12:53:14 +01:00
X123M3-256
7e158a1787 Make srcX and srcY work with indexed images 2021-12-17 11:48:55 +01:00
Michael Steenbeek
b6c541c805 Close #16231: Do not load image table when creating object index 2021-12-17 09:45:40 +01:00
Sadret
8282579b63 Close #16251: Improve null handling in plugin API 2021-12-16 21:41:02 +01:00
Ted John
efca2852c4 Refactor remaining object preview to ImageId 2021-12-16 21:39:10 +01:00
Duncan
6c7d85fd70 Merge pull request #15990 from duncanspumpkin/fixobj
Mark legacy json objects to not be loaded
2021-12-15 21:49:43 +00:00
duncanspumpkin
8426914c0e Make identifier fixing more conservative. Bump park version
It is still possible to make a park with the legacy names in a version 7 as we don't fail to start the game with the old identifiers loaded
2021-12-15 21:31:47 +00:00
duncanspumpkin
2916daa29d Handle mixed install object loading more gracefully 2021-12-15 21:29:02 +00:00
duncanspumpkin
7e7947fe8b Move legacy identifier interpreting to separate file from parkfile 2021-12-15 21:29:02 +00:00
duncanspumpkin
01722cc85d Merge branches 'pf legacy' 2021-12-15 21:29:00 +00:00
duncanspumpkin
74b0f5da5a Move legacy 2021-12-15 21:28:57 +00:00
duncanspumpkin
c0f13ad44a Remove legacy part 2021-12-15 21:27:12 +00:00
duncanspumpkin
98e0782b07 Move parkfile 2021-12-15 21:27:12 +00:00
Duncan
8e1fd54c5a Rename type and add static assert from review (#16247) 2021-12-15 05:56:43 +00:00
Duncan
d6e13476ef Merge pull request #16208 from bkolstad1/window-refactor
Close #13768: Refactor window to class: DemolishRidePrompt
2021-12-14 21:25:23 +00:00
GalBr
35e8bc7f69 Refactor Land Rights window to class (#16183) 2021-12-14 21:19:27 +00:00
Brian Kolstad
35a56c0810 Split demolish and refurbish into seperate windows 2021-12-14 14:03:22 -05:00
Ted John
5cc776c622 Fix #16206: Wooden supports for scenery are not drawn 2021-12-14 14:25:41 +01:00