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
5e61768d61
Allow filename input directly in file browser window ( #23405 )
2024-12-29 19:39:23 +00:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Aaron van Geffen
80b63a5ae7
Add line breaks after template declarations ( #23086 )
...
* Add line breaks after template declarations
* Additional clang-format patches
2024-10-29 16:54:01 +01:00
duncanspumpkin
6283993351
Move WallElement into its own header/source files
2024-10-07 22:04:13 +02:00
mrmbernardi
1719bbdfb7
Fix deadzone when panning while zoomed in. ( #22877 )
2024-10-01 23:48:08 +10:00
Michael Bernardi
8cc53324b6
Remove view width and height from Viewport struct
2024-09-27 00:07:40 +10: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
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
Aaron van Geffen
aa7eb18d78
Rename ScrollBar struct to ScrollArea and rename its properties ( #22539 )
2024-08-11 16:21:53 +02: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
Duncan
a07b56a655
Move Viewport functions into Ui ( #22454 )
...
* Move viewport functions into ui
* Move footpath function to ui
* Don't include viewport in footpath.h
* Include missing includes
2024-08-02 06:01:31 +01:00
Aaron van Geffen
706fd8f3f0
Fix #21175 : Some hotkeys don't work when toolbars are hidden
2024-07-31 21:54:10 +02:00
Duncan
681b54dc87
Add Some Items to the OpenRCT2::Ui namespace ( #22423 )
...
* Put widget in the Ui namespace
* Put theme in the Ui namespace
* Put objective in Ui namespace
2024-07-31 05:26:53 +01: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
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
2e1fa5e644
Move a few more strings to UiStringIds.h ( #22257 )
...
* Replace more StringIds.h includes with StringIdType.h
* Move a few more strings to UiStringIds.h
* Tweak: TextComposition.cpp does not need InteractiveConsole.h
2024-07-12 14:59:00 +02:00
Gymnasiast
ae88b7b0fc
Create progress bar widget
2024-05-19 20:20:29 +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
2f68c7e823
Move STR_NONE, STR_EMPTY to StringIdType.h ( #22019 )
2024-05-15 20:29:11 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +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
duncanspumpkin
3448926251
Move text input widget code from game lib to ui lib
2024-04-26 18:25:44 +02:00
Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Claudio Tiecher
a94e6c54d8
Part of #21421 : replace define with constexpr ( #21679 )
2024-04-01 07:00:32 -03: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
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
ζeh Matt
462bb33234
Refactor viewport rotation to keep it in sync with the primary viewport
2024-03-05 10:23:31 +02:00
ζeh Matt
d95f14dcda
Fix ViewportPosToMapPos using the wrong rotation
2024-03-05 10:23:30 +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
Matt
c8b28ca457
Fix #21330 : Tooltips from dropdown widgets have the wrong position
2024-02-10 18:47:40 +01:00
Michael Steenbeek
115e7389a9
Move most gScenario* globals to GameState_t
2024-01-24 22:17:32 +01:00