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 |
|
Tulio Leao
|
69b3c97537
|
Make DrawText use ScreenCoordsXY
|
2020-07-08 10:13:03 -03:00 |
|
Tulio Leao
|
2ee1a9d9db
|
Use TitleCase on StaticLayout (#12155)
|
2020-07-08 09:43:23 -03:00 |
|
Tulio Leao
|
79d007c780
|
Make ttf_draw_string use ScreenCoordsXY
|
2020-06-29 10:25:49 -03:00 |
|
TomasZilinek
|
9efe43fa59
|
Fix #11562 - gfx_draw_string_left_wrapped overload (#12015)
I created the overload, replaced remaining calls with the new function and removed the old function.
|
2020-06-21 06:25:31 -03:00 |
|
TomasZilinek
|
c1546059ad
|
Close #11571 - Remove <x,y> gfx_draw_string_left overload (#12010)
Third and final part. replaces the rest of the calls to x,y overload
|
2020-06-20 16:09:45 -03:00 |
|
TomasZilinek
|
e93e32d139
|
Part of #11571: create gfx_draw_string_left() overload (#11984)
Replaces a third of all occurrences of the old function
|
2020-06-20 00:22:01 -03:00 |
|
Tulio Leao
|
613cec3f7a
|
Part of #11564: gfx_draw_string_centred_clipped with ScreenCoordsXY
|
2020-06-14 12:26:53 -03:00 |
|
Tulio Leao
|
fab0ea131f
|
Part of #11569: Use gfx_draw_string_right with ScreenCoordsXY
|
2020-06-11 10:11:20 -03:00 |
|
TomasZilinek
|
7da9c7b234
|
Fix #11566 - draw_string_right_underline() overload (#11780)
created the overload, changed all calls from the old function to the new one and deleted the old function
|
2020-05-19 16:02:39 -03:00 |
|