Gymnasiast
2398d91fb2
Rename DrawTextBasic() to DrawText()
2026-03-25 23:15:49 +01:00
Gymnasiast
5620437c99
Rename functions in Drawing.String.h to adhere to code style rules
2026-03-25 23:14:57 +01:00
Gymnasiast
800e656c4b
Merge TTFGetStringWidth and GfxGetStringWidth
2026-03-25 23:14:57 +01:00
Gymnasiast
df1564c9cd
Namespace Drawing.String.cpp, declare its functions in Drawing.String.h
2026-03-25 23:14:57 +01:00
Gymnasiast
38adb756ee
Make DrawText() internal again
2026-03-22 13:21:15 +01:00
Michael Steenbeek
343c7a70d7
Change colour to a strong enum ( #25873 )
2026-01-28 10:06:45 +01:00
Gymnasiast
491f90b67a
Replace kTextColour254 and kTextColour255 with COLOUR_NULL
2026-01-24 16:54:44 +01:00
Michael Steenbeek
3e4261323a
Rename some palette indices ( #25843 )
2026-01-18 21:24:45 +00:00
matheusvb3
88e33e7afb
Use bool literals instead of constants ( #25817 )
2026-01-14 23:10:13 +01:00
Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Gymnasiast
b3c854e3aa
Move ColourFlags/ColourWithFlags to own compilation units
2025-11-04 00:09:07 +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
45912ec9a3
Rename members of SoundId
2025-10-01 20:35:34 +02:00
Gymnasiast
a03613df35
Change FilterPaletteID to lowerCamelCase
2025-09-23 21:09:54 +02:00
Aaron van Geffen
9b7ee06e0f
Move Context fully into OpenRCT2 namespace; types into Input.h
2025-09-12 14:03:44 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +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
Michael Steenbeek
cfb4b008b2
Create weak enum for PaletteIndex
2025-04-09 16:47:22 +02:00
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
a24dc2e60a
Reduce includes in and of Util.h/cpp
2024-12-11 20:42:43 +01:00
Aaron van Geffen
ed6611219d
Move StrCatFTime into Chat.cpp, its only user
2024-12-11 16:49:06 +01: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
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02: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
Harry Hopkinson
98ac3a1bbc
Replace GfxDrawString() with DrawText()
2024-05-10 09:56:03 +00:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Harry-Hopkinson
47939567c4
Rename CHAT_MAX_WINDOW_WIDTH - kChatMaxWindowWidth
2024-04-17 13:20:37 +00:00
Harry-Hopkinson
337f9ca549
Rename CHAT_MAX_MESSAGE_LENGTH to kChatMaxMessageLength
2024-04-15 15:35:00 +00:00
Harry-Hopkinson
c264ec1077
Rename CHAT_HISTORY_SIZE to kChatHistorySize
2024-04-15 15:28:51 +00:00
Harry Hopkinson
14f0479c94
Refactor constants/macros ( #21483 )
...
* Refactor constants in AudioMixer.h
* Refactor constants in Map.h
* Rename kMinimumLandHeight_BIG to kMinimumLandZ
2024-03-01 20:23:29 +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
Gymnasiast
bb83a80eab
Use dpi ref in rect and line drawing functions
2023-04-11 22:59:01 +01:00
Gymnasiast
16c5c1b752
Use dpi ref in interface folder
2023-04-11 22:57:25 +01:00
Cory Sanin
a102688f5c
Fix: Chat history in wrong order, doesn't pop up
2023-03-15 09:57:05 +01:00
Cory Sanin
c9883e1553
Fix: Input text floating outside chat window
2023-03-13 16:54:28 +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
7b398d89a6
Remove unused variable
2023-02-25 15:42:37 +02:00
ζeh Matt
365fcf24c3
Implement #19468 and rename functions cursor to caret
2023-02-25 15:42:37 +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
Silent
0763fd5a78
Fix GfxWrapString potentially corrupting the in/out buffer
...
Fixes a consistent assertion when displaying "Cannot start construction"
in Japanese, but it has potential fix countless other crashes
related to string wrapping/display.
2023-02-14 09:50:05 +01:00