Gymnasiast
b3c854e3aa
Move ColourFlags/ColourWithFlags to own compilation units
2025-11-04 00:09:07 +01:00
Gymnasiast
64ef3da5a4
Use FlagHolder in ColourWithFlags
2025-11-03 23:25:31 +01:00
Gymnasiast
0ec4e3353b
Update members of FontStyle
2025-11-03 23:25:30 +01:00
Gymnasiast
7c51ccde1e
Rename Rect namespace to Rectangle
2025-10-23 18:44:45 +02:00
Gymnasiast
298f3fdeb1
Replace remaining rectangle flags with Rect::FillMode enum
2025-10-23 18:42:50 +02:00
Gymnasiast
679064da77
Replace INSET_RECT_FLAG_FILL_MID_LIGHT with Rect::FillBrightness enum
2025-10-23 18:42:07 +02:00
Gymnasiast
93c3d99546
Move rectangle drawing into its own namespace
2025-10-23 18:41:08 +02:00
Gymnasiast
9e9b774266
Move rectangle drawing to Rect.{cpp,h}
2025-10-23 18:40:04 +02:00
Gymnasiast
a5d173efda
Create border style enum for GfxFillRectInset
2025-10-23 18:40:03 +02:00
Gymnasiast
890b8137ba
Rename members of FormatToken
2025-10-07 20:27:03 +02:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Gymnasiast
a03613df35
Change FilterPaletteID to lowerCamelCase
2025-09-23 21:09:54 +02:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Aaron van Geffen
9b7ee06e0f
Move Context fully into OpenRCT2 namespace; types into Input.h
2025-09-12 14:03:44 +02:00
Matt
6335c31336
Rename DrawPixelInfo to RenderTarget ( #24339 )
...
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget
* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Aaron van Geffen
c8da126c95
Move Viewport struct to Viewport.h
2025-01-24 22:44:21 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
mrmbernardi
fd472b4019
Fix in game console incorrectly handling formatting tokens. ( #23434 )
...
* Fix logic error setting in game console colours
* Fix console incorrectly handling formatting tokens
2024-12-21 04:17:04 +11:00
InvokeStatic (Brendan Heinonen)
a3691982b3
Fix #23348 : console command bugfixes and refactor ( #23369 )
...
This commit fixes the graphics bug #23348 by introducing an asynchronous
command completion signalling system in InteractiveConsole. This causes the
console to stop accepting new inputs while a command is being executed.
The console command system was also refactored to reduce code duplication and
remove return codes, which were unused and also poor error handling.
2024-12-16 16:59:47 +11:00
hnsdeveloper and Gymnasiast
3eb9a03708
Replace #define with constexpr in Colour.h
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2024-11-02 12:54:54 +00:00
Aaron van Geffen
51bcbe3710
Move UTF8 functions from localisation into core ( #22278 )
2024-07-12 19:21:15 +03:00
Gymnasiast
8a181b5513
Split colours and colour flags
2024-05-26 12:35:40 +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
Harry Hopkinson
98ac3a1bbc
Replace GfxDrawString() with DrawText()
2024-05-10 09:56:03 +00:00
Michał Janiszewski
24a2db9fc9
Remove <algorithm> include from Location.hpp ( #21993 )
...
See #21947 for methodology
528-372=156 `#include <algorithm>`s fewer
2024-05-09 11:54:40 +00:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Michael Steenbeek
1981ca6b0b
Close #16582 : Translate in-game console help text
2024-03-10 19:46:21 +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
Michael Bernardi
3351f2419e
Fix #20484 : Console caret synchronised when using history
2023-07-02 21:37:48 +02:00
ζeh Matt
4bffa72c45
Fix #20413 : Crash attempting to navigate an empty console history
2023-06-18 15:39:26 +03:00
Gymnasiast
bb83a80eab
Use dpi ref in rect and line drawing functions
2023-04-11 22:59:01 +01:00
Gymnasiast
f09df5a06a
Use dpi ref in Graph.cpp and InGameConsole.cpp
2023-04-11 22:57:25 +01:00
Matthias Moninger
59875eb409
Merge pull request #19480 from Gymnasiast/refactor/dpi-string
...
Pass DPI by ref to string drawing
2023-02-28 22:27:51 +02:00
ζeh Matt
ec2f332b92
Fix #19445 : Text not cleared using Ctrl+Backspace
2023-02-25 15:42:37 +02:00
Gymnasiast
a15f72da87
Pass DPI by ref to string drawing
2023-02-24 22:05:07 +01:00
Michael Steenbeek
583b4ed0e6
Replace GfxDrawStringNoFormatting() ( #19414 )
...
* Replace GfxDrawStringNoFormatting()
* Unwrap static DrawText overload
2023-02-15 22:44:22 +00: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
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Duncan
8504c8d05e
Finish Removing snake_case from Drawing Methods
2023-01-16 22:31:34 +00:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Duncan
7f5934cc95
Remove snake_case from second chunk of Drawing ( #19166 )
2023-01-16 18:52:17 +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
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
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Gymnasiast
14f9a75e0a
Refactor FontSpriteBase and font size into FontStyle
2022-10-19 11:59:26 +02:00
Hielke Morsink
f605b02630
Rename public interface config data members
2022-10-16 21:46:05 +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