Commit Graph
8494 Commits
Author SHA1 Message Date
Michael SteenbeekandTed John ff909cc286 Change rct2_path into a C++ string
Co-authored-by: Ted John <ted@brambles.org>
2022-01-05 15:18:25 +01:00
Michael Steenbeek ca27c2181b Clean up two hardcoded vehicle maxes 2022-01-05 14:16:16 +01:00
Michael Steenbeek 2b0d4e6b3d Merge pull request #16352 from Gymnasiast/fix/16061
Fix #16061: Incorrect colours in minimap
2022-01-03 14:40:10 +01:00
Michael Steenbeek fa9ef5728e Merge pull request #16298 from Gymnasiast/refactor/rotation-frames-1
Clean up ride object rotation frames
2022-01-03 14:26:47 +01:00
Michael Steenbeek 2fa33983ad Close #16013: Refactor RCT12Research import (#16350)
* Remove unused symbols in Research.h

* Move RCT12ResearchItem conversion out of Research.cpp/h
2022-01-03 10:20:04 +00:00
Michael SteenbeekandTed John 0e86d9577c Default-initialise MapColours
Co-authored-by: Ted John <ted@brambles.org>
2022-01-02 17:07:36 +01:00
Gymnasiast 1e1f370c8d Create PaletteIndex 2022-01-01 18:38:31 +01:00
Gymnasiast de2b893d99 Fix #16061: Incorrect colours in minimap 2022-01-01 16:52:49 +01:00
Michael Steenbeek 3faa0ebc4b Fix #16346: Crash in Staff::UpdateWatering() 2022-01-01 15:07:55 +01:00
frutiemax c2b33e3541 Close #16002: Segfault opening ride statistics for huge ride 2022-01-01 14:10:42 +01:00
Michael Steenbeek c468a6b197 Merge pull request #16332 from Gymnasiast/refactor/screams
(Re)name some scream-related symbols
2022-01-01 10:55:59 +01:00
ζeh Matt e9f79f1c9d Merge pull request #16335 from ZehMatt/fix-16324
Fix #16324: Real time ticks advancing every millisecond
2021-12-30 16:39:03 -08:00
ζeh Matt 2329d3d681 Refactor tile access to be continuous when iterating 2021-12-30 23:03:32 +01:00
Michael Steenbeek 678dd0f69f Merge pull request #16195 from frutiemax/ForwardDeclareFormatter
Forward declare Formatter
2021-12-30 23:01:42 +01:00
Gymnasiast f1f6ac4177 Order scream sounds by name 2021-12-30 22:29:34 +01:00
Gymnasiast 0f2ad4ac40 (Re)name some scream-related symbols 2021-12-30 22:29:14 +01:00
Michael Steenbeek c7f87d3aa9 Merge pull request #16310 from frutiemax/ted_description
Add description field to TrackElementDescriptor
2021-12-30 22:26:08 +01:00
frutiemax 83b2be602f Empty initialization for Formatter and TextPaint structures 2021-12-30 12:44:58 -05:00
frutiemax adb692b74e Forward declare Formatter 2021-12-30 12:17:51 -05:00
Hielke Morsink 66bd4b4894 Remove unused includes from TrackDesign.cpp 2021-12-30 17:18:16 +01:00
ζeh Matt 578a7865c9 Fix #16324: Real time ticks advancing every millisecond 2021-12-30 18:16:40 +02:00
frutiemax 95c63832bb Replace zeros with STR_EMPTY 2021-12-30 11:07:03 -05:00
Hielke Morsink 5fbb77ebc1 Remove unused includes from Map.cpp 2021-12-30 13:58:20 +01:00
Gymnasiast 3c8558bba0 Use uint32_t in more places 2021-12-30 12:27:43 +01:00
Gymnasiast b09898ab3b Clean up ride object rotation frames 2021-12-30 12:26:21 +01:00
ζeh Matt b89eddc867 Fix #16327: Crash supplying a bad signature size in the auth packet 2021-12-28 16:44:21 +02:00
frutiemax 36f0cce65b Add description field to TrackElementDescriptor 2021-12-25 09:55:03 -05: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
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
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 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