1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00
Commit Graph

278 Commits

Author SHA1 Message Date
Michael Steenbeek
9e03ec4caa Fix stack corruption when footpath dragging 2025-10-19 22:35:57 +02:00
Michael Steenbeek
ff580112c8 Add footpath dragging tool 2025-10-17 19:37:19 +00:00
Gymnasiast
53f345d4dc Small codestyle fixes 2025-10-12 22:47:00 +02:00
Gymnasiast
0e3494b701 Use SlopePitch for _footpathConstructSlope 2025-10-12 22:47:00 +02:00
Gymnasiast
70ae5e0304 Create SlopePitch 2025-10-12 22:47:00 +02:00
Gymnasiast
c2c834df15 Create struct for footpath slope 2025-10-12 22:46:59 +02:00
Gymnasiast
1f8c9af9ce Rename methods of InputManager 2025-10-01 20:35:35 +02:00
Gymnasiast
45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
Aaron van Geffen
9019f00039 Split off WindowFootpathUpdateModifierKeyState to its own function 2025-09-25 19:27:26 +02:00
Michael Steenbeek
eb38b7227f Change WindowFlag to strong enum 2025-09-20 21:46:42 +02:00
Gymnasiast
a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast
3a803e13e2 Change window functions to use lowerCamelCase 2025-09-17 20:10:12 +02:00
Gymnasiast
d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
Gymnasiast
2a792987a7 Rename local variables like ‘pressedWidgets’ in anticipation of field renames 2025-09-17 20:10:12 +02:00
Gymnasiast
b6e09bbc7e Change code style of enums in Viewport.h 2025-09-17 20:10:11 +02:00
Gymnasiast
129c69927e Create FootpathGetPlacementFromScreenCoords() 2025-09-14 17:09:26 +02:00
Gymnasiast
61db76f74b Move FootpathGetDefaultSurface() into window 2025-09-14 17:09:26 +02:00
Gymnasiast
4cf07f181d Move two footpath globals into the window 2025-09-14 17:09:26 +02:00
Michael Steenbeek
63a1c49db2 Refactor footpath placement functions 2025-09-14 14:25:08 +02:00
Gymnasiast
9db3d609d2 Turn MapSelectType into enum class 2025-09-11 22:06:10 +02:00
Gymnasiast
6f7987e1c7 Turn MapSelectFlags into FlagHolder 2025-09-11 22:06:10 +02:00
Gymnasiast
664602a572 Make PathConstructionMode into an enum class 2025-09-10 23:14:24 +02:00
Aaron van Geffen
4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
Aaron van Geffen
5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
Aaron van Geffen
013fcb3798 Split off MapSelection.h from Map.h 2025-09-04 21:57:36 +02:00
Aaron van Geffen
abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Michael Steenbeek
ba2ed7564c Merge pull request #25027 from Gymnasiast/refactor/dropdown-3
Move more global dropdown stuff into individual items
2025-08-27 17:26:43 +02:00
Aaron van Geffen
bcb803df96 Move Footpath game actions into GameActions namespace 2025-08-26 14:48:16 +02:00
Aaron van Geffen
e8ef3897df Rework more game actions into GameActions namespace 2025-08-26 14:22:58 +02:00
Gymnasiast
6a43719d49 Fix formatting 2025-08-24 15:24:18 +02:00
Gymnasiast
14a4914910 Create ImageItem constructor, add tooltips to land styles 2025-08-24 11:30:59 +02:00
Gymnasiast
af50e9b0da Fold tooltips and images into dropdown items 2025-08-24 11:30:59 +02:00
Michael Steenbeek
577c3336c6 Create struct for all dropdown-related globals (#25023) 2025-08-23 13:56:13 +02:00
Michael Steenbeek
92f493b28a Merge pull request #25010 from Gymnasiast/refactor/more-code-style
More code style refactors
2025-08-21 22:26:52 +02:00
Gymnasiast
9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Gymnasiast
8fd9658cd3 Update dropdown item fields and functions to new code style 2025-08-21 21:33:22 +02:00
Michał Janiszewski
f6292b4c13 Use clang-format 20 (#24861)
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
Michael Steenbeek
7b322d825a Refactor constants in window .cpp files 2025-06-16 23:10:47 +02:00
Gymnasiast
81e3181ebb Pass ScreenSize to makeWindowShim() 2025-06-10 23:21:15 +02:00
Gymnasiast
bdba89f428 Pass ScreenSize to window creation functions 2025-06-10 23:20:28 +02:00
Gymnasiast
650fa3ae2e Rename WindowWidgetType to WidgetType and change for new code style 2025-06-10 19:55:12 +02:00
Gymnasiast
149468406b Update WindowColour enum for new code style 2025-06-10 19:53:12 +02:00
Gymnasiast
86e265f093 Make widget creation functions lowerCamelCase 2025-06-10 19:51:21 +02:00
Aaron van Geffen
0779b9f0ab Replace window shim and widget macros with constexpr functions (#24566) 2025-06-07 23:02:14 +02:00
mix
a27d9ccc07 Prevent path window invalidating unnecessarily 2025-05-22 20:58:55 +01:00
mix
f57f07696b Fix virtual floor not invalidating correctly 2025-05-19 16:09:27 +02:00
Matt
6335c31336 Rename DrawPixelInfo to RenderTarget (#24339)
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget

* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Aaron van Geffen
3f87e2b67a Centralise ResizeFrame in WindowBase and call when setting widgets or resizing 2025-04-11 20:37:54 +02:00
Gymnasiast
2002f697e0 Refactor INPUT_FLAGS into FlagHolder 2025-03-26 13:00:54 +01:00
Gymnasiast
fa15bc56d2 Rename INVALID_DIRECTION to kInvalidDirection 2025-03-25 22:47:08 +01:00