Gymnasiast
91f4c1e752
Use dpi ref in misc drawing functions
2023-04-11 22:59:03 +01:00
Gymnasiast
2941f6f7a5
Use dpi ref in misc drawing folder places
2023-04-11 22:57:25 +01:00
Duncan
7d08372c80
Remove snake_case from Class names OpenRCT2/Ride*-S* ( #19232 )
...
* Remove snake_case from Class names OpenRCT2/Ride*-S*
* Clang format
2023-01-20 20:58:55 +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 and duncanspumpkin
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 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
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Duncan
7f5934cc95
Remove snake_case from second chunk of Drawing ( #19166 )
2023-01-16 18:52:17 +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
Michael Steenbeek
21e88a8a33
Remove code duplication in character bitmap init
2022-11-13 15:04:49 +01:00
Gymnasiast
14f9a75e0a
Refactor FontSpriteBase and font size into FontStyle
2022-10-19 11:59:26 +02:00
Hielke Morsink
0ca7bb058f
Rename public font config data members
2022-10-16 21:46:07 +02:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02:00
Rik Smeets
c80bd455e9
Code style: Remove struct snakes from Paint ( #18341 )
2022-10-14 20:26:36 +02:00
Michael Steenbeek
6fe19878f6
More ImageId cleanup ( #18258 )
...
* Remove more usages of uint32 image indices
* Remove unused gfx_get_sprite_size()
* Remove uint32 images from text drawing
* Remove now-unused ImageId overload
* Default-initialise ttfRunIndex
* Suppress false-alarm GCC error
2022-10-10 19:42:40 +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
Gymnasiast
a69a8fa7e8
Remove uint32_t overloads in Paint functions
2022-09-29 21:17:16 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
jazzysoggy
f77611dcd2
Fix #17229 : Rename G1_FLAG_BMP to G1_FLAG_HAS_TRANSPARENCY ( #17441 )
...
* Renamed All Instance of G1_FLAG_BMP
Renamed all instances of G1_FLAG_BMP to GA_FLAG_HAS_TRANSPARENCY
* Fixed comments and labels
Fixed comments and labels to be more in line with new definitions
2022-06-25 07:04:40 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Michael Steenbeek
25cb49f8ce
Pass paint_session as reference
2021-12-19 14:48:00 +00:00
Hielke Morsink
53d9bfa8b4
Update implicit zoom conversions
2021-12-01 00:08:35 +01:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Gymnasiast
2477933c51
Turn font sprite base into a strong enum
2021-02-28 00:23:00 +01:00
Matt
5bbc07847c
Remove unused field
2021-01-02 16:43:17 +02:00
Matt
474ed67696
Initialize scrolling text sprites without a copy from original
2021-01-02 16:43:17 +02:00
Matt
95551b0504
Use correct type
2021-01-02 16:43:17 +02:00
Matt
7dfe0b02a6
Add ScrollingText.h
2021-01-02 16:43:17 +02:00
Matt
9d473bbfbe
Refactor logic to allow to draw 256 banners at the same time
2021-01-02 16:43:17 +02:00
Ted John
b6a688e540
Refactor format tokens
2020-11-27 18:54:57 +00:00
Ted John
c6152efa4e
Fix scrolling text
2020-11-27 18:54:56 +00:00
Duncan
cd1d573c39
Pass the formatter directly to scrolling_text_setup
2020-07-31 12:31:26 +02:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
frutiemax
f86931d8a0
Close #12019 : Use ScreenCoordsXY on gfx_draw_sprite_software
2020-06-22 23:52:54 +02:00
Michael Steenbeek
9ef8d6da42
Convert most remaining C-style casts to C++-style ones ( #11867 )
2020-06-07 23:18:11 +02:00
Michał Janiszewski
2323cc1596
Use named casts instead of old-style casts
...
Change prepared with clang-tidy and google-readability-casting check
2020-04-22 17:09:29 +02:00
Ted John
d34dec9c27
Create ZoomLevel struct to add two new zoom levels
2020-03-23 15:54:03 +00:00
Tulio Leao
9123b597a9
Use constexpr on openrct2/*
2019-10-29 18:44:14 -03:00
Ted John
c653f13552
Add tertiary colour to ImageId
2019-08-24 22:40:19 +01:00
Ted John
3925a6162d
Start using ImageId
2019-08-24 18:35:40 +01:00
Ted John
a57a4f2059
Fix #9724 : Park/Ride entrance/exit sign's colour is weird
2019-08-04 17:04:12 +01:00
Ted John
b7121553b4
Fix #9715 : large scenery banners have incorrect colour and scrolling ( #9716 )
2019-08-02 21:18:42 +02:00
Ted John
61d64ab8c5
Do not use user strings for banners
2019-07-29 19:18:16 +01:00
Michał Janiszewski
83e26804e5
Limit scrolling text colour to valid options ( #9639 )
2019-07-27 14:23:34 +02:00
Ted John
5733d666b3
Do not store park name as a user string
2019-07-21 11:33:15 +02:00
Ted John
f842d8a693
Fix #5103 : OpenGL: ride track preview not rendered
2019-05-02 00:07:43 +00:00
Matt
4e264bd45d
Use mutex to protect scrolling banner cache from data race
2019-04-02 20:14:50 +02:00
Matt
37c3809744
Implement partial multicore rendering
2019-03-31 15:50:55 +02:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00