Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
ζeh Matt
9dfd4f3b19
Rename the callback types
2024-12-04 20:43:55 +02:00
ζeh Matt
e86618e835
Make sure the callback is not converted to void*
2024-12-04 16:46:35 +02:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Michael Steenbeek
c8388002d9
Merge pull request #23245 from Gymnasiast/refactor/ride-type-checks
...
Replace some direct ride type checks
2024-11-28 19:55:36 +01:00
Aaron van Geffen
f90954b1a4
Reduce dependencies for Research.h ( #23268 )
2024-11-25 14:32:16 +00:00
Gymnasiast
d9d5df509e
Add RtdSpecialType to replace checks for maze and other naughty types
2024-11-24 12:58:32 +01:00
Aaron van Geffen
ece199176e
Move UnitConversion from Util into its own compilation unit
2024-10-29 11:27:00 +01:00
Michael Steenbeek
8063c5caa7
Reduce casting for objects
2024-10-16 14:12:25 +02:00
Michael Steenbeek
71ce725a2a
Split off BannerElement and TrackElement ( #22955 )
2024-10-14 14:26:10 +02:00
AT41
6e7b489304
Added additional stats to Plugin interface
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2024-10-03 11:23:50 +00:00
Michael Steenbeek
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02:00
Michael Steenbeek
558d235680
Fix #22479 : Crash when a ride has no valid music object
2024-09-29 14:21:26 +00:00
Michael Bernardi
09fa68a803
Revert DPI accessors
2024-09-27 02:50:50 +10:00
Michael Bernardi
4cd5548352
Refactor DPI to distinguish screen and world coords
2024-09-27 00:07:40 +10:00
Michael Steenbeek
04bdff052f
Use FlagHolder for _currentTrackAlternative
2024-09-25 14:29:39 +02:00
Harry Hopkinson
d34f17c945
Refactor Colour.h constants to kCamelCase
2024-09-24 20:42:44 +00:00
Aaron van Geffen
97acb793e8
Rename InteractionInfo::SpriteType to interactionType
2024-09-22 16:53:43 +02:00
Aaron van Geffen
6d27369ea6
Rename PeepSpriteType to PeepAnimationGroup
2024-09-22 16:42:27 +02:00
Gymnasiast
5f92d1920b
Group all sequence-bound properties
2024-09-18 22:43:55 +02:00
Michael Steenbeek
4fd07d3216
Fix #2614 : Junior Roller Coaster - Invisible First Vehicle
2024-09-07 21:23:58 +02:00
Aaron van Geffen
b971d1596e
Indent window widget definitions ( #22700 )
...
* Indent definitions in About, AssetPacks windows
* Indent definitions in Banner, Changelog, CustomCurrency windows
* Indent DebugPaint, DemolishRidePrompt windows
* Indent EditorBottomToolbar, EditorInventionsList
* Indent EditorObjectiveOptions, EditorScenarioOptions
* Indent Finances
* Indent Footpath
* Indent GameBottomToolbar
* Indent Guest window
* Indent GuestList, InstallTrack windows
* Indent Land, LandRights windows
* Indent LoadSave, Main, MapGen, MapTooltip windows
* Indent MazeConstruction
* Indent Multiplayer
* Indent NetworkStatus
* Indent NewCampaign
* Indent NewRide window
* Indent News window
* Indent NewsOptions window
* Indent ObjectLoadError window
* Indent Options window
* Indent Park window
* Indent PatrolArea window
* Indent Player window
* Indent RefurbishRidePrompt window
* Indent Research window
* Indent Ride window
* Indent RideConstruction
* Indent RideList
* Indent SavePrompt
* Indent ScenarioSelect widgets
* Indent scenario window
* Indent scenery scatter window defs
* Indent server list window
* Indent server start window§
* Indent ShortcutKeys window
* Indent Sign window
* Indent Staff window
* Indent StaffFirePrompt window
* Indent StaffList window defs
* Indent Themes window defs
* Indent TileInspector window defs
* Indent TitleExit, TitleMenu, TitleOptions, Tooltip windows
* Indent TrackDesignManage window defs
* Indent TrackDesignPlace defs
* Indent TrackList def
* Indent Transparency window defs
* Indent ViewClipping window defs
* Indent Viewport window defs
* Indent Water window defs
2024-09-04 21:11:26 +02:00
Harry Hopkinson
003c196eb8
Cleanup gameState usage ( #22692 )
2024-09-04 07:34:37 +02:00
Gymnasiast
71b9cfb12c
Keep ‘i’ and ‘colour’ variables inside the loop
2024-08-17 19:06:09 +02:00
Gymnasiast
9bda9a50d5
Fix: ‘Randomise all’ sometimes picks invalid colours
2024-08-17 18:01:04 +02:00
Arnold Zhou
cbaf01658a
Add option to randomise train or vehicle colours ( #22206 )
2024-08-17 11:55:32 +00:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Harry Hopkinson
4744c7416d
Refactor object and network constants to kCamelCase
2024-08-11 20:21:24 +00:00
Aaron van Geffen
aa7eb18d78
Rename ScrollBar struct to ScrollArea and rename its properties ( #22539 )
2024-08-11 16:21:53 +02:00
Gymnasiast
a436801d64
Remove TrackDrawerDescriptor::SupportsTrackGroup()
2024-08-11 15:27:12 +02:00
Michael Steenbeek
07f54c22bd
Create named enum for track group ( #22523 )
2024-08-11 09:26:19 +02:00
Aaron van Geffen
44e8c0dc68
Ride window: remove logic to hide scrollbars manually
2024-08-09 19:48:04 +02:00
Aaron van Geffen
03bc1e5707
Introduce isToolActive function as alternative for globals ( #22430 )
...
* Introduce isToolActive function
* Ride window: use isToolActive instead of gCurrentToolWidget
* Footpath window: use isToolActive instead of gCurrentToolWidget
* Staff window: use isToolActive instead of gCurrentToolWidget
* MazeConstruction window: use isToolActive instead of gCurrentToolWidget
* Guest window: use isToolActive instead of gCurrentToolWidget
* Map window: use isToolActive instead of gCurrentToolWidget
* LandRights window: use isToolActive instead of gCurrentToolWidget
* Replace SceneryToolIsActive legacy function with calls to isToolActive
* ClearScenery window: use isToolActive instead of gCurrentToolWidget
* Scenery window: use isToolActive instead of gCurrentToolWidget
* Water window: use isToolActive instead of gCurrentToolWidget
* Land window: use isToolActive instead of gCurrentToolWidget
* Widget: replace WidgetIsActiveTool with isToolActive
* RideConstruction window: use isToolActive instead of gCurrentToolWidget
* Ride: use isToolActive instead of gCurrentToolWidget
* TrackDesignPlace window: use isToolActive instead of gCurrentToolWidget
* StaffList window: use isToolActive instead of gCurrentToolWidget
* ViewClipping window: use isToolActive instead of gCurrentToolWidget
* PatrolArea window: use isToolActive instead of gCurrentToolWidget
* TileInspector window: use isToolActive instead of gCurrentToolWidget
* Park window: use isToolActive instead of gCurrentToolWidget
2024-08-05 10:47:36 +02:00
Gymnasiast
9294a58e98
Change TrackDescriptor field names to lowerCamelCase
2024-08-03 12:51:25 +02:00
tmatale
45d3105508
Fix #22292 : Progress bars displayed incorrectly if multiple windows are open
2024-08-02 22:41:40 +02:00
Aaron van Geffen
a97820f297
Move kRideInspectionIntervalNames into Ride unit
2024-07-13 12:30:40 +02:00
Aaron van Geffen
022d7756bd
Move StringToMoney and MoneyToString to Currency unit
2024-07-12 23:33:26 +02:00
Aaron van Geffen
3fd91038c3
Rename Date.h to Localisation.Date.h to match unit file
2024-07-12 22:18:43 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
John
71cba8ac37
Add music track listing to ride music window ( #20980 )
...
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2024-07-08 17:03:54 +02:00
Aaron van Geffen
90dee86267
Constrain plugins to normal range when assigning ride prices ( #22227 )
...
* Constrain plugins to normal range when assigning ride prices
* Introduce kRideMinPrice, kRideMaxPrice
* Adjust RideSetPriceAction to fail in case of invalid price
* Add changelog entry
2024-07-06 09:39:00 +00:00
Gymnasiast
64230380af
Sync more TrackDesign fields with their Ride counterparts
2024-07-04 00:29:41 +02:00
Gymnasiast
56accb3790
Use RatingTuple across the codebase
2024-07-04 00:29:40 +02:00
Gymnasiast
2c7d2fff7c
Move track design appearance to its own struct
2024-07-02 22:35:19 +02:00
Harry-Hopkinson
2a027f4269
Rename CheatsMaxOperatingLimit to kCheatsMaxOperatingLimit
2024-05-27 08:31:07 +00:00
Harry-Hopkinson
900b7a15d7
Rename MaxWaitingTime to kMaxWaitingTime
2024-05-27 08:27:18 +00:00
Harry-Hopkinson
c489d6288a
Rename NumColourSchemes to kNumColourSchemes
2024-05-27 07:52:32 +00:00
Harry-Hopkinson
1cca5d7ec3
Rename MaxCircuitsPerRide to kMaxCircuitsPerRide
2024-05-27 07:38:57 +00:00
Harry-Hopkinson
84bdd12008
Rename MaxCarsPerTrain to kMaxTrainsPerRide
2024-05-27 07:25:48 +00:00