Commit Graph
23195 Commits
Author SHA1 Message Date
Michael Steenbeek 6d573619fc Merge pull request #26180 from Gymnasiast/refactor/track-data-continued-2
Start splitting up TrackData.cpp
2026-03-12 22:53:26 +01:00
Aaron van Geffen 1a08700134 Fix entrance dropdown caption not being painted (#26187) 2026-03-12 22:45:58 +01:00
matheusvb3 c6f505e718 Convert small scenery entry flags into a FlagHolder (#26181)
Update Staff.cpp
2026-03-12 21:40:08 +00:00
matheusvb3 9e60d64a97 Rename playSplashSoundSlide -> coveredTrackIsWaterChannel (#26185) 2026-03-12 15:06:03 +01:00
Michał Janiszewski 6b4094b04f Disambiguate OpenRCT2::ObjectManager (#26145) 2026-03-12 09:37:27 +01:00
Gymnasiast d4db9c5d0a Implement "noReverseOption" flag 2026-03-10 22:35:28 +01:00
Gymnasiast 37e3506d66 Fix track piece availability 2026-03-10 22:35:28 +01:00
Gymnasiast 4734187a11 Limit the Spinning Cars paint style to just our Spinning Cars port 2026-03-10 22:35:28 +01:00
mix 9a72a3e496 Implement RCT1 spinning cars as a special paint mode 2026-03-10 22:35:28 +01:00
Gymnasiast 73d5112b51 Move maze TED to its own file 2026-03-10 19:10:10 +01:00
Gymnasiast 0c63ed73b5 Move water TEDs to their own file 2026-03-10 19:10:10 +01:00
Gymnasiast 2205df36f1 Move long base TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast 3a6d71b6c1 Create constant for kFlatStraightBlockedSegments 2026-03-10 19:10:09 +01:00
Gymnasiast 14ac087117 Move flat ride base TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast ede29f8471 Move mini golf TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast 079e15d9cf Move corkscrew TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast b4068191dc Move loop and heartline roll TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast 8ef16dc8b3 Move half helix TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast 5250c3bad5 Move station TEDs to their own file 2026-03-10 19:10:09 +01:00
Gymnasiast 5a5a049fa1 Move dive loop TEDs to their own file 2026-03-10 18:59:51 +01:00
Gymnasiast 8cf90739bf Move zero G roll TEDs to their own file 2026-03-10 18:59:51 +01:00
Gymnasiast 0fce8c9436 Move S-bend TEDs to their own file 2026-03-10 18:59:51 +01:00
Gymnasiast f3cec44278 Move TrackTypeIs*() to TrackElemType.{cpp,h} 2026-03-10 18:33:43 +01:00
Gymnasiast dc8bc703db Move GetDodgemsTrackSize() to Vehicle.Dodgems.cpp 2026-03-10 18:33:42 +01:00
Gymnasiast 2b4304f93d Move gTrackDescriptors to RideConstruction.cpp 2026-03-10 18:33:42 +01:00
Gymnasiast 733fdec9ba Move clearance flags to strong enum and FlagHolder 2026-03-10 18:32:36 +01:00
Michael Steenbeek 3df9fe1244 Refactor out more usages of Formatter::Common() (#26176)
* Fix odd text appearing in sources dropdown

* Draw filter dropdown without common formatter

* Remove Formatter::Common from Cheats.cpp

* Remove Formatter::Common from RideConstruction.cpp

* Remove Formatter::Common from Finances.cpp
2026-03-10 17:30:15 +01:00
Aaron van Geffen 586c2edb57 Move entities into OpenRCT2 namespace (#26173) 2026-03-10 07:39:53 +01:00
matheusvb3 b96c0cda52 Convert LargeSceneryText into a FlagHolder (#26177) 2026-03-09 22:45:22 +00:00
Gymnasiast 260b1b7faa Remove Formatter::Common from Finances.cpp 2026-03-09 23:14:57 +01:00
Gymnasiast 296c28d199 Remove Formatter::Common from RideConstruction.cpp 2026-03-09 23:14:57 +01:00
Gymnasiast e1b36b485b Remove Formatter::Common from Cheats.cpp 2026-03-09 23:14:57 +01:00
Gymnasiast 43357cf4aa Draw filter dropdown without common formatter 2026-03-09 23:14:57 +01:00
Gymnasiast 6ec870e96f Fix odd text appearing in sources dropdown 2026-03-09 23:14:27 +01:00
Michał Janiszewski ea9752f1f2 Deduplicate vehicle helper functions (#26164)
* Move common enum values

* Deduplicate PitchAndRollStart and GetAccelerationDecrease2
2026-03-09 22:23:29 +01:00
Aaron van Geffen 3bddf6161d Move DataSerialiser into OpenRCT2 namespace (#26172) 2026-03-09 21:49:13 +01:00
Michael Steenbeek 0616a38121 Move track iteration code to TrackIteration.{cpp,h} and into a namespace (#26174) 2026-03-09 20:46:31 +00:00
Aaron van Geffen a1550fb095 Move Footpath.h/cpp into OpenRCT2 namespace 2026-03-09 13:23:19 +01:00
Aaron van Geffen 4fc9f272fc Move Map.h/cpp into OpenRCT2 namespace 2026-03-09 13:07:14 +01:00
Aaron van Geffen 0ef38bc902 Fix mapgen window size in enlarged UI mode (#26159)
The mapgen window was not getting the right window size in enlarged UI mode.
2026-03-09 11:07:39 +01:00
matheusvb3 d65e5e9c82 Fix parameter name mismatch for declarations and definitions, part 3 (#26168) 2026-03-09 11:04:17 +01:00
matheusvb3 b16fff7563 Rename more Watersplash -> WaterSplash (#26169) 2026-03-09 11:02:56 +01:00
matheusvb3 dc63ff115f Make Weather::isDry signature match others (#26161) 2026-03-08 19:10:22 +01:00
Aaron van Geffen be84cdb1bb Rename Climate to Weather where appropriate (#26163)
* Introduce OpenRCT2::Weather namespace

* Rename Climate.h/cpp to Weather.h/cpp

* Rename ScClimate.hpp to ScWeather.hpp

* Rename drawing/Weather.h to drawing/WeatherDrawer.h
2026-03-08 11:00:07 +01:00
Michael Steenbeek 571745d38f Merge pull request #26129 from Gymnasiast/refactor/track-data-more
Finish move to a TrackElementDescriptor per element
2026-03-08 10:40:57 +01:00
Aaron van Geffen 0ea87ba5bc Rework dropdowns/spinners in scenario options window (#26149) 2026-03-07 23:45:15 +01:00
frozensnowy 1dffdc3cf6 Refactor: Rename internal track design window methods to camelCase (#26165)
* Rename internal TrackListWindow methods to camelCase

* Rename private TrackDesignPlaceWindow methods to camelCase
2026-03-07 20:36:45 +01:00
matheusvb3 de3cf7e7a9 Use -> syntactic sugar where appropriate (#26162) 2026-03-07 18:00:06 +01:00
matheusvb3 47006ad220 Convert large scenery flags into a FlagHolder (#26160) 2026-03-07 17:19:06 +01:00
Aaron van Geffen 968005a076 Resize dropdowns in ride window (#26142) 2026-03-06 22:05:51 +01:00