Commit Graph
29864 Commits
Author SHA1 Message Date
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
Michael Steenbeek 96aed495f9 Merge pull request #26179 from Gymnasiast/refactor/track-data-continued
Move more symbols out of Track.cpp/h and TrackData.cpp/h
2026-03-10 18:58:30 +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 117ff8aa54 Move Map and Footpath units into OpenRCT2 namespace (#26171)
* Move Map.h/cpp into OpenRCT2 namespace

* Move Footpath.h/cpp into OpenRCT2 namespace
2026-03-09 13:42:30 +01: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
Aaron van Geffen 3014621495 Resize dropdowns in mapgen window (#26148) 2026-03-06 21:56:58 +01:00
matheusvb3 512d69fa49 Create OpenStringWithArgs.h (#26155) 2026-03-06 16:46:41 +01:00
matheusvb3 14862decbe Remove declarations for non-existing functions (#26156) 2026-03-06 16:42:48 +01:00
Aaron van Geffen 86b2a0011b Resize dropdowns in options window (#26139)
This resizes the dropdowns and spinner widgets in the options window to be 14px high, now fitting CJK glyphs properly.

Even for languages that use the built-in sprite font (e.g. English), the difference is quite nice, imo. Below are screenshots of the display tab, for good measure.
2026-03-05 22:17:37 +01:00
Michael Steenbeek 0bee422162 Fix #26151: Incorrect strings in brake speed and special dropdown (#26152) 2026-03-05 10:20:21 +01:00
Michał Janiszewski 891788a8a5 Drop unused macro in SDL-TTF port 2026-03-04 11:26:38 +01:00
MarcelVos96 e219349c97 Fix #26140: TimeInQueue overflows back to 0 after 65535 (about a year) (#26141) 2026-03-04 00:56:24 +01:00
Michał Janiszewski b9d33ad187 Cleanup TrackPaintUtilLeftQuarterTurn{1,3}TileTunnel declaration (#26137)
* Ghost Train tunnel

* Move TrackPaintUtilLeftQuarterTurn1TileTunnel declaration

* Move TrackPaintUtilRightQuarterTurn3TilesTunnel declaration
2026-03-03 23:21:17 +01:00
Michał Janiszewski 541d043887 Properly scope namespace of RCTObjectEntry (#26138) 2026-03-03 21:52:44 +01:00
Michael Steenbeek 8b4280064c Merge pull request #26131 from Gymnasiast/refactor/widget-string
Stop using common formatter for window captions
2026-03-03 21:51:58 +01:00
Gymnasiast f999cab0a7 Stop using common formatter for window captions 2026-03-03 14:47:00 +01:00
Gymnasiast 1292cb1a3a Use Widget::setString() instead of manual string setting 2026-03-03 14:46:59 +01:00
Gymnasiast f6473949c4 Add Widget::setString() 2026-03-03 14:46:59 +01:00
Gymnasiast 1b58a3d028 Rename Widget::IsVisible() to Widget::isVisible() 2026-03-03 14:46:59 +01:00