73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
Aaron van Geffen
a8773dd805
Move WindowClose family into WindowManager ( #23646 )
...
* Replace WindowClose() calls with Close method calls where possible
* Move WindowClose family into WindowManager
* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Aaron van Geffen
5fbe8d0ae1
Centralise external window signatures in Windows.h ( #23653 )
2025-01-19 15:50:54 +01:00
Aaron van Geffen
bed4d5bdca
Move WindowCreate and WindowFocusOrCreate into WindowManager ( #23643 )
...
* Move WindowBringToFront into WindowManager
* Move WindowCreate and WindowFocusOrCreate into WindowManager
* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Aaron van Geffen
aa45247f21
Move WindowFind functions into WindowManager ( #23517 )
...
* Move WindowFind* functions into WindowManager
* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +01:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
duncanspumpkin
6283993351
Move WallElement into its own header/source files
2024-10-07 22:04:13 +02:00
Harry Hopkinson
fd750130ec
Refactor ShortCutIds.h constants to kCamelCase
2024-09-24 20:43:27 +00:00
Harry Hopkinson
e5f66ad553
Refactor ShortcutIds.h constants to kCamelCase
2024-09-24 20:41:04 +00:00
Michael Steenbeek
e813532efb
Close #15750 : Multiple park entrance types in one park ( #21909 )
...
* Add new park entrance placement window
* Start entrance tool as soon as window opens;
* Rename constants to conform to current code standards
* Increment PARK_FILE_CURRENT_VERSION
* Increment kNetworkStreamVersion
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2024-08-04 23:02:16 +00:00
Aaron van Geffen
706fd8f3f0
Fix #21175 : Some hotkeys don't work when toolbars are hidden
2024-07-31 21:54:10 +02:00
Aaron van Geffen
bd0dd44c10
Don't assign Toggle Toolbars keyboard shortcut by default ( #22424 )
2024-07-30 21:41:27 +00:00
Aaron van Geffen
5ae97d4d3b
Move title version info to its own window ( #22302 )
2024-07-15 22:33:01 +03:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
b3b62c86be
Rename two shortcut string ids that did not follow conventions
2024-05-11 12:51:53 +02:00
Aaron van Geffen
ef4cad5ee3
Move UI exclusive string ids to UiStringIds.h
2024-05-10 23:24:46 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +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
Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Harry Hopkinson
249c8259c1
Fix #20338 : Scenery Picker Hotkey not selected with re-paint tool
2024-03-24 12:29:40 +01:00
Andrew
a972d231d7
Add shortcut key for sorting tile elements ( #21636 )
2024-03-22 15:24:10 +01:00
Andrew
693c422cd4
Prevent TI hotkey from setting wall slope for non-slopeable objects ( #21635 )
2024-03-22 11:20:48 +01: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
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
ζeh Matt
462bb33234
Refactor viewport rotation to keep it in sync with the primary viewport
2024-03-05 10:23:31 +02:00
Duncan
4b6ba80a46
Move cheats to struct in GameState_t
2024-03-03 22:44:15 +01:00
mrmbernardi
4ccecd6e68
Remove forwarding functions in Window.cpp ( #21516 )
2024-03-03 18:04:09 +01:00
Harry Hopkinson
bb743f0c88
Fix: pause and build path hotkeys not working when the toolbar is hidden
...
Part of #21175 .
2024-03-01 23:49:26 +01:00
Harry Hopkinson
701bbda164
Move gEditorStep to GameState_t ( #21492 )
...
* Move gEditorStep to GameState_t
* Fix compilation on GCC
---------
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2024-03-01 20:26:20 +00:00
Gymnasiast
554968383c
Move global window indices to constexpr
2024-02-25 22:54:54 +01:00
Michael Steenbeek
115e7389a9
Move most gScenario* globals to GameState_t
2024-01-24 22:17:32 +01:00
Hielke Morsink
13351d996e
#21193 : Move gParkFlags to GameState_t, refactor uses
...
Also changed a few instances where GetGameState was called inside the same function.
The change in Peep.cpp is needed because of a function conflict. FormatStringID exists both in the global and in the OpenRCT2 namespace.
2024-01-22 16:31:35 +01: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
Fredrik Tegnell
af7086e283
Close #12078 : Add shortcut key for sloping walls ( #20860 )
...
* Close OpenRCT2/OpenRCT2#12078 : New shortcut key for sloping walls
* Close OpenRCT2/OpenRCT2#12078 : New shortcut key for sloping walls
* Close OpenRCT2/OpenRCT2#12078 : New shortcut key for sloping walls
* Close OpenRCT2/OpenRCT2#12078 : New shortcut key for sloping walls
* Apply code formatting fixes
* Apply code formatting fixes
* Apply modulus operator to make code more concise
* Change string ID
* Apply code formatting fix
* Apply code formatting fix
2023-11-12 08:10:56 -03:00
fidwell
17489be61b
Removed redundant code
2023-10-07 10:36:47 -04:00
fidwell
95169f9632
Tile inspector invisibility shortcut does not use a game action
2023-10-02 22:26:55 -04:00
Matthias Moninger
7f76c05a64
Fix potential null dereferencing ( #20558 )
2023-07-05 08:01:34 +01:00
Rik Smeets
55adb71cd8
Add keyboard shortcut to Keyboard Shortcuts window
2023-04-17 11:15:32 +02:00
Hielke Morsink
5ada16723b
Clean up shortcut bindings and unused constructors
2023-01-28 15:43:03 +01:00
guljam
3fc029fc34
custom order for default shortcut keys
2023-01-26 00:02:20 +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
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Michael Steenbeek
bb55c6ce66
Remove loadsasnakes ( #19192 )
...
* Rename snake_case methods in scenario folder
* Rename snake_case methods in title folder
* Rename snake_case methods in object folder
* Rename snake_case methods in platform folder
* Rename snake_case methods in windows folder
* Rename tile_inspector.h to TileInspectorGlobals.h
* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +00:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Duncan
8a8d3105f3
Remove snake_case from first chunk of Drawing ( #19164 )
...
* Remove snake_case from first chunk of Drawing
* Address formatting
2023-01-16 13:50:43 +00:00
Stephan Spengler
f8ab17749d
Rename CheatSetAction to fit naming pattern
2023-01-06 22:57:15 +01:00