Gymnasiast
7e5bc7a64b
Rename members of InputDeviceKind
2025-10-01 20:35:35 +02:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Michał Janiszewski
763242b14d
Add ability to scroll the map with gamepad stick
2025-07-03 22:48:59 +02:00
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00: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
5e61768d61
Allow filename input directly in file browser window ( #23405 )
2024-12-29 19:39:23 +00:00
Harry Hopkinson
fd750130ec
Refactor ShortCutIds.h constants to kCamelCase
2024-09-24 20:43:27 +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
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
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
duncanspumpkin
3448926251
Move text input widget code from game lib to ui lib
2024-04-26 18:25:44 +02: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
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
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
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02:00
Rik Smeets
8e33cf580f
Code style: Remove snakes from virtual floor
2022-10-08 20:50:59 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Hielke Morsink
7f29e4e39c
Make rct_windowclass strong type WindowClass
...
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02:00
Hielke Morsink
d05d675ed9
Refactor window functions to take references 6
2022-07-31 17:23:17 +02:00
Duncan
bb2c7dbaca
Clang tidy Part 1: Ui Project Function Names ( #15956 )
...
* Add NOLINT around STL using classes and vendor functions
* Apply clang-tidy to ui project function names
* Undo scripting clang-format
* Upper case OpenRCT2 and RCT2
2021-11-23 13:18:07 +00:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Ted John
083d22adf2
Fix #14195 : Binding (NumPad) Enter to send message closes the chat
2021-02-28 14:08:16 +00:00
Ted John
789b04b4aa
Fix #14194 : Pressing WASD in text box moves main viewport, too
2021-02-28 14:07:56 +00:00
Ted John
17a29dfe87
Fix #14190 : Game crash likely related to plug-in hotkeys
...
Do not cache references to RegisteredShortcut as they can be invalidated when new shortcuts are registered / removed.
Use a map to improve query performance of shortcut by ID.
Store a separate list of strings for the map to use as a key.
2021-02-28 01:13:43 +00:00
Ted John
440c0f447f
Fix #14140 : Some shortcut keys are not working
2021-02-21 21:44:53 +01:00
Ted John
e383b6f6f7
Move zoom and rotation to view tab
2021-02-21 03:14:20 +00:00
Ted John
59b4be6a12
Move InputManager to UiContext
2021-02-21 03:14:19 +00:00
Ted John
80662d72a4
Cache view scroll shortcuts
2021-02-21 03:14:19 +00:00
Ted John
2b197d0fb2
Fix parsing of shortcuts
2021-02-21 03:14:18 +00:00
Ted John
eda33fea20
Fix view scroll shortcuts
2021-02-21 03:14:18 +00:00
Ted John
f2f658bf28
Refactor some code into more files
2021-02-21 03:14:18 +00:00
Ted John
e7ae9f9f15
Read legacy shortcuts and move to constants
2021-02-21 03:14:17 +00:00
Ted John
900f3cd92b
Fix gcc / clang builds
2021-02-21 03:14:17 +00:00
Ted John
9964df5335
Implement gamepad support
2021-02-21 03:13:28 +00:00
Ted John
e6b6403024
Refactor and fix shortcut
2021-02-21 03:13:28 +00:00
Ted John
ea975f88fc
Implement more InputManager
2021-02-21 03:13:28 +00:00
Ted John
ccae533978
Add input manager
2021-02-21 03:13:27 +00:00