 Michael Steenbeekandduncanspumpkin
|
12874f2af7
|
Replace format_string(4) with OpenRCT2::FormatStringLegacy() (#19190)
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
|
2023-01-17 21:56:30 +01:00 |
|
 Michael Steenbeekandduncanspumpkin
|
bf5f7e8e71
|
Rename format_string(2) and is_user_string_id() (#19178)
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
|
2023-01-17 08:59:07 +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 |
|
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 |
|
Gymnasiast
|
14f9a75e0a
|
Refactor FontSpriteBase and font size into FontStyle
|
2022-10-19 11:59:26 +02:00 |
|
Gymnasiast
|
9ca9412205
|
Refactor Dark/ExtraDark into its own structure
|
2022-10-19 11:57:33 +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 |
|
Gymnasiast
|
d3fd31c611
|
Rename rct_string_id to StringId
|
2022-07-31 22:30:13 +02:00 |
|
Michał Janiszewski
|
575bae7ac4
|
Rename global variable text_palette -> gTextPalette (#17647)
|
2022-07-30 23:21:34 +02:00 |
|
frutiemax
|
83b2be602f
|
Empty initialization for Formatter and TextPaint structures
|
2021-12-30 12:44:58 -05:00 |
|
frutiemax
|
adb692b74e
|
Forward declare Formatter
|
2021-12-30 12:17:51 -05:00 |
|
Hielke Morsink
|
c234abfbb8
|
Fix #15213: Freeze when reading a partially cut unicode character
|
2021-09-27 15:03:25 +02:00 |
|
Hielke Morsink
|
e88f96a15c
|
Move StaticLayout out of header file
|
2021-09-27 14:56:37 +02:00 |
|
Michael Steenbeek
|
f5935931e3
|
Port remaining DrawTextWrapped calls with void args to Formatter
|
2021-08-21 09:42:05 +02:00 |
|
Gymnasiast
|
676ef7205e
|
Change all calls to DrawTextBasic to use Formatter
|
2021-08-01 15:14:43 +02:00 |
|
Gymnasiast
|
7fd049c22e
|
Remove last remnants of gCurrentFontSpriteBase
|
2021-02-28 00:26:53 +01:00 |
|
Gymnasiast
|
c40701d997
|
Make gfx_draw_string() take a TextPaint argument
|
2021-02-28 00:26:20 +01:00 |
|
Gymnasiast
|
503273793a
|
Remove gCurrentFontSpriteBase from some functions
|
2021-02-28 00:26:20 +01:00 |
|
Gymnasiast
|
826f6c7442
|
Reduce usage of gCurrentFontSpriteBase
|
2021-02-28 00:25:30 +01:00 |
|
Gymnasiast
|
3e536e2711
|
Change gfx_draw_string_*_wrapped() to DrawTextWrapped()
|
2021-02-28 00:23:01 +01:00 |
|
Gymnasiast
|
e2ebc9d43b
|
Replace gfx_draw_string_left() with DrawTextBasic()
|
2021-02-28 00:23:00 +01:00 |
|
Gymnasiast
|
d5f79b7972
|
Replace gfx_draw_string_centred() with DrawTextBasic()
|
2021-02-28 00:23:00 +01:00 |
|
Gymnasiast
|
4d9c278ebc
|
Unify calls to DrawTextBasic
|
2021-02-28 00:23:00 +01:00 |
|
Gymnasiast
|
13e7ec6e8e
|
Allow passing TextPaint to DrawTextBasic()
|
2021-02-28 00:23:00 +01:00 |
|
Gymnasiast
|
2477933c51
|
Turn font sprite base into a strong enum
|
2021-02-28 00:23:00 +01:00 |
|
Gymnasiast
|
582037bbf3
|
Create enum class for text underline
|
2021-02-28 00:23:00 +01:00 |
|
Michael Steenbeek
|
08f07e6135
|
Reduce usage of gCurrentFontSpriteBase (#14178)
|
2021-02-26 15:39:20 +01:00 |
|
ζeh Matt
|
9ff2138f3f
|
Remove unused variable gCurrentFontFlags
|
2021-01-30 16:46:22 +01:00 |
|
Ted John
|
503a383301
|
Do not format characters in text input
|
2020-11-27 18:54:57 +00:00 |
|
Michael Steenbeek
|
4a79e9305f
|
Replace gfx_draw_string_right() with DrawTextBasic (#12966)
|
2020-09-18 21:39:00 -03:00 |
|
Matt
|
38e03ae45d
|
Use the Formatter for News items
|
2020-09-17 22:14:36 +03:00 |
|
Matt
|
2639349925
|
Move storage into Formatter class and refactor usage
|
2020-09-17 22:14:36 +03:00 |
|
Gymnasiast
|
d140dd72c6
|
Remove const void* overload from DrawTextEllipsised()
|
2020-09-10 18:13:13 +02:00 |
|
Gymnasiast
|
b788a099b5
|
Replace gfx_draw_string_clipped() calls with DrawTextEllipsised
|
2020-09-10 18:13:13 +02:00 |
|
Gymnasiast
|
17bac8c57b
|
Use colour_t
|
2020-08-26 15:38:27 +02:00 |
|
Gymnasiast
|
972e6e80ab
|
Allow passing Formatter to DrawTextBasic() and DrawTextEllipsised()
|
2020-08-26 15:08:42 +02:00 |
|
Gymnasiast
|
9a31a94128
|
Use const args in DrawTextEllipsised()
|
2020-08-26 14:49:28 +02:00 |
|
Gymnasiast
|
ceace1a3ad
|
Remove draw_string_left_underline()
|
2020-08-26 14:47:47 +02:00 |
|
Gymnasiast
|
f1caddc9fe
|
Remove draw_string_right_underline()
|
2020-08-26 14:46:37 +02:00 |
|
Gymnasiast
|
5f468da9cf
|
Remove draw_string_centred_underline()
|
2020-08-26 14:44:57 +02:00 |
|
Gymnasiast
|
e1b778832b
|
Expose DrawTextBasic() and DrawTextEllipsised()
|
2020-08-26 14:44:30 +02:00 |
|
Michael Steenbeek
|
402570adb6
|
Refactor usage of TextPaint
Eliminating a global variable in the process.
|
2020-07-31 11:13:28 +02:00 |
|
Aaron van Geffen
|
7b5087f057
|
Update copyright year to 2020
|
2020-07-21 15:04:34 +02:00 |
|
frutiemax
|
bf2b8073cb
|
Part of #12096: ScreenRect for gfx_fill_rect in libopenrct2 (#12109)
|
2020-07-08 14:07:26 -03:00 |
|
Tulio Leao
|
59236443ba
|
Make StaticLayout::Draw use ScreenCoordsXY
|
2020-07-08 10:15:02 -03:00 |
|
Tulio Leao
|
dabde880cd
|
Make DrawTextEllipsisedCompat use ScreenCoordsXY
|
2020-07-08 10:13:03 -03:00 |
|
Tulio Leao
|
16147dec64
|
Make DrawTextCompat use ScreenCoordsXY
|
2020-07-08 10:13:03 -03:00 |
|