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
Michael Bernardi
f110ea14f5
Apply check-code-formatting changes
2024-10-03 10:49:25 +10:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Aaron van Geffen
db17fc6dad
Remove pseudo-keyword 'abstract'
2024-07-09 15:17:07 +02:00
Aaron van Geffen
4bfd3f3369
Initialise script engine off main thread ( #22230 )
...
* Initialise script engine off main thread
* Do not run ScriptEngine.Tick() during initialisation/preloading
* Add 'Loading plugin engine…' string
* Add changelog entry
---------
Co-authored-by: Bas <Basssiiie@users.noreply.github.com >
2024-07-09 20:19:01 +02:00
Aaron van Geffen
347ce53f26
Re-introduce message on successful screenshot ( #21983 )
...
* Re-introduce message on successful screenshot
* Automatically close previous screenshot notices before new ones
2024-05-10 15:04:12 +02:00
Aaron van Geffen
ca6f142a97
Remove Config.h include from many places
2024-05-08 22:29:32 +02: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
Gymnasiast
fc0e0d029a
Use dpi ref in ui context and weather
2023-04-11 22:57:25 +01:00
ζeh Matt
ec2f332b92
Fix #19445 : Text not cleared using Ctrl+Backspace
2023-02-25 15:42:37 +02: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
Duncan
859b071ddc
Rename classes with snakes OpenRCT2/A*-F* ( #19215 )
...
* Rename classes with snakes OpenRCT2/A*-F*
* Clang format files
2023-01-19 08:16:44 +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
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
Michał Janiszewski
a9fe4da279
Use SDL_ShowMessageBox's 'close' value for dummy UI context
2022-08-04 18:42:34 +02:00
Michał Janiszewski
a6e84fab5c
Add a message box with buttons to UiContext
2022-08-04 18:42:33 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Hielke Morsink
e2da19f0f7
Add missing includes
2022-07-29 18:45:10 +02:00
Raymond Zhao
7399163a3c
Use more smart ptrs and u8strings ( #17611 )
...
* Use smart ptr for PlatformUiContext and WindowManager
* Remove more delete calls
* Apply PR feedback
2022-07-28 18:19:38 +01:00
Gymnasiast
2f0e6389da
Use u8string in FileDialogDesc
2022-01-29 14:09:13 +01:00
Gymnasiast
fd6b327adb
Use emplace_back() instead of push_back()
2022-01-29 14:07:21 +01:00
Gymnasiast
55591b1b2f
Merge old and new FileDialogDesc
2022-01-29 13:55:10 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
ζeh Matt
94e20ba7fe
Rename some Update functions to Tick
2021-12-13 19:04:48 +02:00
ζeh Matt
a0e7752f26
Pass rct_drawpixelinfo explicit to avoid races
2021-10-06 23:48:07 +03:00
Hielke Morsink
956e77f4c3
Use [[nodiscard]] for allocator and RAII functions ( #15244 )
2021-08-23 20:09:43 +02:00
Ted John
2b3aabb8e4
Remove old shortcut code and fix issues
2021-02-21 03:14:18 +00:00
skdltmxn
c093a50f3f
Refactor to use string_view more properly
2021-01-07 01:52:10 +09:00
Gymnasiast
9058f00bfa
Strictly use int32_t for ShowMenuDialog
2021-01-03 17:53:14 +01:00
Keith Stellyes
268e39d12a
GOG installer extraction for POSIX
2021-01-03 17:53:14 +01:00
Gymnasiast
d963438c4f
Check if platform has a file picker
2020-11-08 14:06:42 +01:00
Julia Pinheiro
cba1d48226
Close #12408 : Refactor CURSOR_ID to use strong enum
2020-10-11 18:01:14 +02:00
Julia Pinheiro
8800c32e52
Close #12404 : Refactor DRAWING_ENGINE to use strong enum ( #13070 )
2020-10-02 22:41:30 -03:00
Matt
ccde06ab0f
Explicitly pass formatter arguments to ShowError and family
2020-09-17 22:14:36 +03:00
Gymnasiast
31d20cefb2
Rename rain to weather where appropriate
...
Co-authored-by: Brett Penzer <brettpenzer123@live.co.uk >
2020-09-14 21:57:54 +02:00
Tom Parsons
9cdae2d1e2
Fix #12401 : Refactor SCALE_QUALITY to use strong enum ( #12673 )
2020-08-20 23:32:56 -03:00
Matt
0dc43d66e4
Remove the use of INTERFACE macro and macro its self
2020-08-05 16:30:44 +02:00
Matt
30376085cf
Include missing headers
2020-08-05 16:29:29 +02:00
Michał Janiszewski
352870b503
Add OpenURL method, with implementation for Linux and Windows
2020-07-26 22:09:29 +02:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Thamara Andrade
8ce799a72e
Close #12118 : Prefer foward declaration of *Coords* in headers ( #12142 )
...
* Removing unnecessary world/Location includes in headers
* Prefer foward declaration of *Coords* in header files
Closes #12118
2020-07-06 10:10:39 -03:00
Ted John
83fe0cf5c5
Implement strings for GameAction errors
2020-04-26 14:35:05 +01:00
Ted John
b47bcabaf1
Move ui scripting API to libopenrct2ui
2020-04-26 14:34:59 +01:00
Ted John
d34dec9c27
Create ZoomLevel struct to add two new zoom levels
2020-03-23 15:54:03 +00:00
Michael Steenbeek
d395d67b95
Merge pull request #10846 from tupaschoal/const-ref-screencoords
...
Prefer const ref to send ScreenCoordsXY over
2020-03-01 14:17:51 +01:00
Tulio Leao
9bcd20e0e6
Prefer const ref to send ScreenCoordsXY over
2020-02-29 08:25:48 -03:00
Tulio Leao
47025c45b4
Make setMainView() use ScreenCoordsXY
2020-02-22 16:01:21 -03:00
Tulio Leao
9d09f1b95c
Use ScreenCoordsXY on context cursor operations ( #10364 )
2019-12-14 22:52:18 +01:00