1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

26751 Commits

Author SHA1 Message Date
Aaron van Geffen
4bdbd787a9 Fix lighting effects not toggling correctly (#22582)
* Fix lighting effects not toggling correctly

* Simplify boolean expressions around lighting effects options

* Invalidate entire screen after toggling lighting effects

* Add changelog entry
2024-08-16 20:37:21 +00:00
OpenRCT2 git bot
87505c2e4d Merge Localisation/master into OpenRCT2/develop 2024-08-16 04:02:03 +00:00
Matt
d72e535117 Fix #22457: Potential crash opening the scenario select window 2024-08-15 18:31:27 +02:00
OpenRCT2 git bot
b4c7cb50af Merge Localisation/master into OpenRCT2/develop 2024-08-15 04:02:14 +00:00
Aaron van Geffen
2a99b2f1f9 Rework modifier key state into strong enum class (#22558)
* Rework modifier key state into strong enum class

* Move modifier key state into InputManager
2024-08-14 16:36:05 +02:00
Aaron van Geffen
0c97e44be0 Move GetInputManager and GetShortcutManager declarations (#22565) 2024-08-14 14:15:44 +01:00
Aaron van Geffen
6e444ea170 Split off MouseInput.h from Input.h (#22564)
* Move declarations from Input.h into new MouseInput.h

* Remove unused GetNextKey function from MouseInput.cpp
2024-08-14 14:14:16 +01:00
Michael Steenbeek
47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00:00
mrmbernardi
da8a049b81 Remove unused graph strings 2024-08-13 18:18:38 +02:00
OpenRCT2 git bot
6790700811 Merge Localisation/master into OpenRCT2/develop 2024-08-13 04:02:02 +00:00
Matt
06501b0e9a Fix #22316: Always recreate the window when changing drawing engine 2024-08-12 23:49:58 +02:00
OpenRCT2 git bot
e2fc4f5c83 Merge Localisation/master into OpenRCT2/develop 2024-08-12 04:02:03 +00:00
Harry Hopkinson
4744c7416d Refactor object and network constants to kCamelCase 2024-08-11 20:21:24 +00:00
Michael Steenbeek
8ebacc1821 Close #19003: Change _currentTrackCurve to a struct 2024-08-11 21:35:29 +02:00
Aaron van Geffen
9daaa38f2a Fix invalidation for land ownership checkboxes (#22543) 2024-08-11 21:30:30 +02:00
Aaron van Geffen
aa7eb18d78 Rename ScrollBar struct to ScrollArea and rename its properties (#22539) 2024-08-11 16:21:53 +02:00
Michael Steenbeek
00be5b0d63 Merge pull request #22538 from Gymnasiast/refactor/track-data
Small track data refactor
2024-08-11 16:20:00 +02:00
Gymnasiast
a436801d64 Remove TrackDrawerDescriptor::SupportsTrackGroup() 2024-08-11 15:27:12 +02:00
Gymnasiast
803f683f58 Update PreviewTrack field names 2024-08-11 15:15:45 +02:00
Gymnasiast
d93233f9fd Update TrackCoordinates field names 2024-08-11 15:06:19 +02:00
Gymnasiast
00c42431da Update PitchAndRoll field names 2024-08-11 15:02:33 +02:00
Gymnasiast
0ea9c5a2c2 Update TrackDefinition field names 2024-08-11 14:52:25 +02:00
Gymnasiast
9ed2e87f49 Replace tabs with spaces in TrackData.cpp 2024-08-11 14:10:48 +02:00
Harry Hopkinson
7a403e0537 Add cheat to make guests ignore prices 2024-08-11 11:27:32 +00:00
Basssiiie
668233fd07 Update scripting.md to update details and fix inconsistencies 2024-08-11 13:10:10 +02:00
Michael Steenbeek
5910c63e3b Clean up WindowRideConstructionUpdateStateGetTrackElement() 2024-08-11 11:09:46 +00:00
Aaron van Geffen
d5485878f7 Remove unnecessary includes from TileInspector.cpp (#22535) 2024-08-11 11:00:46 +00:00
Michael Steenbeek
f0c73cb9ef Specify track style icon and tooltip in RTD 2024-08-11 10:42:11 +00:00
Aaron van Geffen
1e8ac29bd2 Merge pull request #22490 from AaronVanGeffen/rework-landrights
Integrate Map window's land ownership tool in LandRights window
2024-08-11 12:26:29 +02:00
Greg
dae5b00f05 Close #22509: Refactor SPR_NONE to ImageIndex (#22517)
* ImageIndex typedef moved from ImageId.hpp to new file ImageIndexType.h.

* SPR_NONE redefined as ImageIndex type in ImageIndexType.h.

* SPR_NONE renamed to kSpriteIdNull

* Remove casts and enum all sprites as ImageIndex

* Remove sprites.h include from LandTool.h, RideData.h

* Ensure all RTD headers include sprites.h

---------

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-08-11 09:58:28 +00:00
mrmbernardi
c7159aa81e Variable padding for finance graph Y axis labels (#22498)
Also fixes overflows during plotting
2024-08-11 11:35:00 +02:00
lewyche
e2551821f3 Close #20942: Add button to remove park fences
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-08-11 09:31:57 +00:00
Aaron van Geffen
924f7ec6c3 Fix scenery window scrollbar disappearing 2024-08-11 10:56:39 +02:00
Matt
bbba91de78 Actually toggle vsync instead of re-initialising the entire thing again 2024-08-11 09:54:40 +02:00
Michael Steenbeek
07f54c22bd Create named enum for track group (#22523) 2024-08-11 09:26:19 +02:00
Aaron van Geffen
af2544a50f Merge pull request #22491 from AaronVanGeffen/hide-scroll
Hide scrollbars when there is nothing to scroll
2024-08-09 20:03:25 +02:00
Aaron van Geffen
bc055f4031 Replace SCROLLBAR_SIZE macro with kScrollBarWidth constant 2024-08-09 19:48:04 +02:00
Aaron van Geffen
cbf739cf55 Map window: don't add padding for invisible scrollbars 2024-08-09 19:48:04 +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
97c14f27ed Hide scrollbars when there is nothing to scroll 2024-08-09 19:48:04 +02:00
Michael Steenbeek
6255ebe1e1 Merge pull request #22504 from Gymnasiast/refactor/support-tables
Use tables for wooden support placement
2024-08-09 19:28:58 +02:00
Gymnasiast
2e9db4bc9b Use new support calls in APVC
Exluding the slope up
2024-08-09 19:18:30 +02:00
Gymnasiast
a0613327c3 Use new support call in Heartline Twister C 2024-08-09 19:18:30 +02:00
Gymnasiast
1cf0a415f2 Update WoodenWildMouse.cpp with new support call 2024-08-09 19:18:30 +02:00
Gymnasiast
0a33719a96 Add wooden support data to TED
Co-authored-by: AaronVanGeffen <AaronVanGeffen@users.noreply.github.com>
2024-08-09 19:17:59 +02:00
Michael Steenbeek
1a0b585d1b Merge pull request #22507 from Gymnasiast/refactor/path-supports-call
Condense common wooden support code
2024-08-09 16:10:38 +02:00
AuraSpecs
f9f6bca14c Consistify & genericify lattice triangle track
This PR renames all instances of "Giga" or "Intamin" with "Lattice Triangle" to prepare for 3 additional ride types using this track type.
2024-08-09 13:19:48 +02:00
Matt
41a6e9d252 Fix #21908: Errors showing up when placing/moving track design previews 2024-08-07 22:36:50 +02:00
Michael Steenbeek
37859f4728 Merge pull request #21999 from spacek531/add-flag-too-json
Allow setting “no draw on zoom flag” in image JSON
2024-08-07 20:34:47 +02:00
Gymnasiast
d90897fbee Refactor import flags 2024-08-07 20:15:59 +02:00