Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Gymnasiast
28451027b1
Move Park to GameState_t
2024-04-04 18:12:08 +02:00
Gymnasiast
632f29e6a9
Name segment constants
2024-03-11 00:22:35 +01:00
Michael Steenbeek
045d610391
Merge pull request #21433 from Gymnasiast/refactor/split-supports.cpp
...
Split Supports.{cpp,h} into two and refactor the wooden supports
2024-02-20 23:42:37 +01:00
Harry Hopkinson
d8864e567c
Close #21379 : Move map base z to constant
2024-02-20 11:49:02 +01:00
Gymnasiast
849af8c2d8
Split Supports.{cpp,h} into two
2024-02-19 21:59:59 +01:00
Harry Hopkinson
a55da09e1c
Move gMapBaseZ to GameState_t ( #21370 )
...
* Move gMapBaseZ to GameState_t
* Fix fomatting
2024-02-11 21:40:32 +00:00
Hielke Morsink
13351d996e
#21193 : Move gParkFlags to GameState_t, refactor uses
...
Also changed a few instances where GetGameState was called inside the same function.
The change in Peep.cpp is needed because of a function conflict. FormatStringID exists both in the global and in the OpenRCT2 namespace.
2024-01-22 16:31:35 +01:00
ζeh Matt
a5dde0f8dc
Replace gCurrentTicks with the one in GameState_t
2024-01-19 16:32:19 +02: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
f6c112bf50
Update entrance support calls
2023-11-17 23:20:03 +01:00
Michael Bernardi
a26464b897
Selected TileElement now stored in paint session
2023-08-12 22:00:29 +02:00
Duncan
01d9be4609
Name a lot of the palettes ( #19889 )
2023-04-09 20:29:35 +00:00
Michael Steenbeek
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
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +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
frutiemax
76faa77f6b
Part of #16152 : Use BoundBoxXYZ for PaintAddImageAsChild
2022-11-27 18:33:11 +00:00
Gymnasiast
14f9a75e0a
Refactor FontSpriteBase and font size into FontStyle
2022-10-19 11:59:26 +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
Rik Smeets
3fa7d59a1c
Fix #18070 : Entrances/exits clip through walls ( #18266 )
...
Entrance or exit buildings placed underground could clip through walls.
2022-10-09 17:49:01 +02:00
Rik Smeets
29f61fd403
Code style: Remove snakes from wooden supports
2022-10-08 19:20:59 +02:00
Rik Smeets
00d2dd8ef7
Code Style: Remove snake casing in PaintHelpers ( #18247 )
2022-10-08 11:24:50 +02:00
Rik Smeets
c5904d81d6
Code Style: Remove snakes from paint tile elements ( #18212 )
2022-10-05 21:27:38 +02:00
73
8c3ff1bfa8
Replace Transparancy with Transparency
2022-10-04 18:28:15 +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
a69a8fa7e8
Remove uint32_t overloads in Paint functions
2022-09-29 21:17:16 +02:00
Michael Steenbeek
7bb7d97bdc
More bound box refactors
2022-09-27 21:20:49 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Michael Steenbeek
2b859c7099
Remove __ENABLE_LIGHTFX__ define
...
It is already enabled for all our builds, and upcoming changes to RTD would add a slew more.
Discussed in team chat with Duncan and Hielke.
2022-07-28 21:34:02 +00:00
duncanspumpkin
68d0d05d49
Remove extra non rotated PaintAddImageAsChild
2022-03-11 21:45:12 +00:00
ζeh Matt
269673e3aa
Profiler update ( #16463 )
...
* Add more functions to be profiled
* Add isEnabled method to Profiler scripting interface
* Bump up scripting version
* Apply review suggestions
2022-01-29 15:29:08 +02: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
Gymnasiast
449da0d6bd
Convert ride_get_station_object() to method
2021-12-18 18:48:52 +01:00
Ted John
5cc776c622
Fix #16206 : Wooden supports for scenery are not drawn
2021-12-14 14:25:41 +01:00
Ted John
6d7e2446db
Fix #16204 : Invisible entrance/exits render as tiny land sprites
2021-12-13 22:11:55 +00:00
Michał Janiszewski
7b0e6ad0b6
Reformat with clang-format-12 from updated CI image
2021-12-12 17:48:52 +01:00
Ted John
7ad1e257d3
Update formatting of files
2021-12-11 23:07:56 +00:00
Ted John
f8431d2b2e
Refactor Entrance painting to use ImageId
2021-12-11 23:07:55 +00:00
Gymnasiast
4cc717ccdb
Rework path surface and railings descriptor handling
2021-09-05 19:09:09 +02:00
Gymnasiast
2282f24404
Rename path surface and railings descriptors
2021-09-05 19:09:09 +02:00
ζeh Matt
01c808c601
Remove unused argument of wooden_(a|b)_supports_paint_setup
2021-08-26 20:54:06 +03:00
ZehMatt
7feea62ab3
Remove overload of PaintAddImageAsParent with bbox offset
2021-08-20 23:34:44 +03:00
Michael Steenbeek
8f5ec43486
Pass derived tile element classes to functions ( #15206 )
2021-08-11 23:26:46 +02:00
ZehMatt
575a24956d
Feature #15164 : Highlight selected Tile Inspector element
2021-08-10 16:49:41 +03:00