Gymnasiast
0ec4e3353b
Update members of FontStyle
2025-11-03 23:25:30 +01:00
Gymnasiast
8457be26e9
Rename members of CurrencyType
2025-10-07 20:24:44 +02:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +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
Aaron van Geffen
4446ff9f6f
Pass game state ref as parameter to game actions ( #25065 )
2025-09-08 16:21:29 +02:00
Michael Steenbeek
414689fb1b
Dropdown: remove ‘format’ and ‘args’ altogether ( #25053 )
...
* Remove ‘format’ and ‘args’ altogether
* Change text field to a char array
* Small cleanup
* Apply changes to STR_1156/7 to all languages
* Fix width calculation
2025-09-07 00:09:46 +02:00
Gymnasiast
7f2c4261b4
Remove ‘format’ and ‘args’ altogether
2025-09-03 17:57:43 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +02:00
Aaron van Geffen
abe58f6439
Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions ( #25045 )
2025-08-29 06:32:05 -03:00
Gymnasiast
173b6a2032
Create MenuLabel overload for C strings
2025-08-24 11:30:59 +02:00
Gymnasiast
6f1b0bde03
Create ToggleOption and Separator constructors
2025-08-24 11:30:59 +02:00
Gymnasiast
bde70ea95f
Create MenuLabel constructor
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
Gymnasiast
ff896787ac
Replace dropdown disabled/checked functions
2025-08-24 11:30:58 +02:00
Michael Steenbeek
577c3336c6
Create struct for all dropdown-related globals ( #25023 )
2025-08-23 13:56:13 +02:00
Gymnasiast
8fd9658cd3
Update dropdown item fields and functions to new code style
2025-08-21 21:33:22 +02:00
Michał Janiszewski
763242b14d
Add ability to scroll the map with gamepad stick
2025-07-03 22:48:59 +02:00
Michael Steenbeek
f9b132e24d
Remove sorting by difficulty in the scenario selector
...
This is barely used, complicates the scenario selector and Options window, and will get in the way when adding RCTC and custom campaign support. Time to remove it.
2025-06-24 10:53:26 +00:00
Michael Steenbeek
7b322d825a
Refactor constants in window .cpp files
2025-06-16 23:10:47 +02:00
Michał Janiszewski
0e9982d6ca
Drop "Pause game when Steam overlay is open" feature
...
As shown in https://github.com/OpenRCT2/OpenRCT2/pull/24618 , the steam
overlay feature doesn't work well and can cause jarring user experience
in some scenarios. It is only supported in the software renderer and
with code moving steadily to OpenGL, the time has come to remove a
broken feature.
2025-06-16 21:57:56 +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
bd6ae5848c
Rename remaining methods in Widget.h to lowerCamelCase
2025-06-10 23:20:18 +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
0f59d6dd02
Optionally allow scenario previews to use screenshots
2025-05-21 18:07:19 +02:00
Aaron van Geffen
0779b9f0ab
Replace window shim and widget macros with constexpr functions ( #24566 )
2025-06-07 23:02:14 +02:00
ζeh Matt
5702100fd9
Mark things constexpr that are actually constexpr
2025-05-23 18:28:23 +03:00
Aaron van Geffen
bcb6c40c59
Rework display tab in options window ( #24385 )
...
* Divide display options into three group boxes
* Turn frame rate limit options into dropdown
2025-05-15 22:40:04 +02:00
Matt
42df41efdb
Remove the use of shared_ptr for the Context ( #24404 )
...
* Replace shared_ptr with unique_ptr for Context systems, return refs
* Fix all the users
* clang-format fix
* Fix linux builds
2025-05-15 22:46:06 +03:00
Aaron van Geffen
f949e17f09
Add dedicated 'clear' string for clear button ( #24387 )
2025-05-12 15:53:46 +00: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
93ae8a3553
Rework 'advanced options' tab to use group boxes ( #24194 )
...
* Turn RCT1 path button into label widget
* Rename WIDX_EXPORT_CUSTOM_OBJECTS_CHECKBOX
* Draw RCT1 path in black text
* Rework advanced tab into groupboxes
* Adjust clear/browse button width based on current language
* Tweak labels a little so desync label _just_ fits
* Let Emscripten buttons be offset to title bar height
* Tweak emscripten import/export button positions
* Amend changelog
2025-05-04 13:30:49 +00:00
Joshua Jacobs
c27fa36367
Add new icons for the controls tab
2025-04-20 15:02:40 +02:00
Aaron van Geffen
ae16743b52
Split 'controls and interface' tab into two tabs
2025-04-21 12:34:42 +02:00
Aaron van Geffen
614d0d6d9d
Fix logic for disabling native file browser widget
2025-04-18 16:27:06 +02:00
ζeh Matt
dc8a911152
Remove pointless removal of disabled_widgets bits, they are never set
2025-05-02 00:42:29 +03:00
ζeh Matt
78491aec26
Apply review comments
2025-05-01 15:10:39 +03:00
ζeh Matt
730ceb5c33
Adjust code, deprecate and fallback to HW if software was selected
2025-04-30 18:10:12 +03:00
Aaron van Geffen
9f5c675bc9
Update existing windows when toggling 'window buttons on the left' ( #24237 )
2025-04-18 15:24:33 +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
spacek531
2249dffe91
Replace display options tab with custom sprites
2025-04-17 16:45:03 +02:00
Gymnasiast
80dc039b26
Rename FULLSCREEN_MODE and its members
2025-03-26 12:19:45 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Gymnasiast
be31812fa8
Create strong enum for ScenarioSelectMode
2025-03-25 15:09:23 +01:00
Aaron van Geffen
92212369d4
Skip setting page/widgets if we're already on the page ( #23975 )
2025-03-12 19:50:19 +01:00