Ethan O'Brien
89859a40f9
Move export/import functions to a javascript library
2025-01-17 08:32:25 -06:00
Ethan O'Brien
8dfe1f91a9
Resolve merge conflicts
2025-01-10 12:16:03 -06:00
Ethan O'Brien
1a7251d46f
Remove dead defines
2025-01-09 15:19:01 -06:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Ethan O'Brien
63b0106de8
Fix emscripten support
2024-12-31 09:31:33 -06:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +01:00
Aaron van Geffen
e70ca5c889
Allow staff to use ‘real’ names as well ( #22732 )
2024-09-15 20:18:00 +00: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
Matt
06501b0e9a
Fix #22316 : Always recreate the window when changing drawing engine
2024-08-12 23:49:58 +02:00
Aaron van Geffen
aa7eb18d78
Rename ScrollBar struct to ScrollArea and rename its properties ( #22539 )
2024-08-11 16:21:53 +02:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
a97820f297
Move kRideInspectionIntervalNames into Ride unit
2024-07-13 12:30:40 +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
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Arnold Zhou
fb7961e30a
Split off Enlarged UI from touch enhancements
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2024-06-14 20:49:12 +00:00
Arnold Zhou
63d1259fd7
Fix missing tooltip for Enlarged UI option
2024-06-04 12:09:03 +02:00
Gymnasiast
8a181b5513
Split colours and colour flags
2024-05-26 12:35:40 +02:00
Aaron van Geffen
adc8c5e6a2
Close the gap in advanced options tab ( #22088 )
2024-05-23 21:17:44 +02:00
Gymnasiast
5522b5cb03
Add Enlarged UI setting
2024-05-18 20:55:20 +02:00
rohan4412
24a24e3f53
Part of #21421 : Replace constants that use #define with ones that use constexpr ( #21883 )
...
* rename MAX_SCROLLING_TEXT_MODES to kMaxScrollingTextModes
* Rename FRAME_RENDERING_START to kFrameRenderingStart
* Rename FRAME_EFFECTS_START to kFrameEffectStart
* Rename CONTROLS_GROUP_START to kControlsGroupStart
* Rename THEMES_GROUP_START to kThemesGroupStart
* Rename TOOLBAR_GROUP_START to kToolbarGroupStart
* Rename TITLE_SEQUENCE_START to kTitleSequenceStart
2024-05-18 10:37:42 +00:00
Aaron van Geffen
05448222e2
Options: extract common code to ToggleToolbarSetting helper
2024-05-08 21:22:28 +02:00
Aaron van Geffen
e423575411
Add a config setting to toggle toolbar mode
2024-05-08 21:19:57 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Aaron van Geffen
ba9c84f835
Move Csg path related functions into their own header ( #22004 )
2024-05-10 12:05:52 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Aaron van Geffen
255e89ec37
Refactor TitleScreen to TitleScene; introduce GameScene
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2024-04-23 21:31:05 +02:00
CoryY
3f81a491b0
Close #21569 : Remove 'Window' from Window Open function names ( #21613 )
...
* Close #21569 : Remove 'Window' from Window Open function names
Windows are all under the OpenRCT2::Ui::Windows namespace. As such, "Window" is removed from the Open functions names.
* Update Contributors.md
* Fix formatting TrackMangeOpen
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
* Fix formatting TrackPlaceOpen
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
---------
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2024-03-17 06:37:46 +00:00
Jan Kelemen
9bb678688e
Fix #21434 : Number of guests overflows in objective text
2024-03-14 19:49:57 +01:00
Harry Hopkinson
78d95fc0bd
Pass DrawPixelInfo by reference ( #21563 )
2024-03-10 12:00:08 -03:00
Duncan
7a60e7f2e0
OpenRCT2::Ui::Windows namespace for OpenRCT2 Ui Windows ( #21559 )
...
* Move all the windows into OpenRCT2::Ui::Windows namespace
* Fix missing symbol
* Clang format
* Call the correct FormatStringID
2024-03-10 13:52:35 +00:00
Duncan
3146d463bd
Move Ui header items to OpenRCT2::Ui ( #21546 )
...
* Move ui definitions to ui project
* Enforce coding style
* Apply clang format
* Add clang tidy ignore
* Increase compiler happiness
2024-03-09 14:15:45 +00:00
Harry Hopkinson
ef9840f29b
Replace static_cast with EnumValue
2024-03-04 15:37:20 +00:00
mrmbernardi
4ccecd6e68
Remove forwarding functions in Window.cpp ( #21516 )
2024-03-03 18:04:09 +01:00
Michael Steenbeek
6a9f9025ff
Fix: too many options are hidden if the platform has no file picker
...
Mainly affects Android.
Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com >
2024-02-07 22:38:45 +00:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Matthias Moninger
302a64fe00
Merge pull request #20359 from mrmbernardi/fix-windows
...
Fix #20312 : Affected windows now update properly
2023-08-23 01:10:31 +03:00
Duncan
4349688de4
These function names have not reflected their use for a while ( #20656 )
2023-08-01 20:19:33 +01:00
Michael Bernardi
76af75af43
Fix #20312 : Affected windows now update properly
2023-07-11 13:37:42 +02:00
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Michael Steenbeek
5e495d63c7
Close #15660 : Allow showing window buttons on the left ( #20176 )
2023-05-19 10:17:38 +02:00
Hielke Morsink
27e06ef7b7
Fix naming collision
2023-05-15 21:30:06 +02:00
Hielke Morsink
fd3346b4b3
Fix: items after the removed RCT1 theme have wrong index
2023-05-15 21:13:47 +02:00
Hielke Morsink
0a8c804347
Make the OpenRCT2 theme song the default
2023-05-15 19:26:49 +01:00
Karst
674443d075
Add OpenRCT2 official title music
...
Co-Authored-By: Ted John <intelorca@gmail.com >
2023-05-15 19:24:10 +01:00
Gymnasiast
96d77ed8f7
Using dpi refs in most remaining window defs
2023-04-11 22:57:23 +01:00
Gymnasiast
9c2d5b9fef
Make GfxDrawSprite() take reference
2023-04-11 22:53:30 +01:00
Gymnasiast
a15f72da87
Pass DPI by ref to string drawing
2023-02-24 22:05:07 +01:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Michael Steenbeek
cf9aad7885
Close #19214 : Use consistent casing for RC and RCT ( #19230 )
2023-01-20 08:19:14 +00:00