Harry Hopkinson
42336915cd
Move gClimateCurrent to GameState_t
2024-01-24 11:18:54 +01: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
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Michał Janiszewski
0871525850
Use precompiled headers for libopenrct2 with MSVC ( #15997 )
...
* Use precompiled headers for libopenrct2 with MSVC
* Exclude PCH from duktape
duktape needs all the warnings turned off and forcing PCH also enables
warnings. As there is nothing duktape would consume from our header,
remove forcing inclusion of that header into duktape.
* Provide msbuild parameter for using PCH only in CI
2023-05-07 21:53:50 +02:00
Gymnasiast
2941f6f7a5
Use dpi ref in misc drawing folder places
2023-04-11 22:57:25 +01:00
Gymnasiast
3e764677da
Use dpi ref in paint folder
2023-04-11 22:57:25 +01:00
ζeh Matt
8f82aa95b3
Move Direction out and rename it to Orientation to avoid name conflict
2023-04-07 22:46:25 +03:00
ζeh Matt
679f5aac2e
Rename members of EntitySpriteData
2023-04-07 19:47:26 +03:00
ζeh Matt
dce21bc8ec
Split move sprite specific data into EntitySpriteData
2023-04-07 19:37:47 +03:00
ζeh Matt
2f8e208a9d
Refactor sprite_index to Id
2023-01-27 19:21:57 +02:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +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
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01: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
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +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
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
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03: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
Michael Steenbeek
a07daae770
Remove some unused symbols ( #17808 )
2022-08-13 21:24:15 +00:00
frutiemax
d556eafc73
Add LightFXAddLightsMagicVehicle to RTD ( #17211 )
2022-07-30 16:45:41 +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
Michał Janiszewski
fd4e6bd031
Fix crash after alt-tab ( #16070 )
2022-04-09 11:12:34 +01:00
Ted John
c68359662d
Refactor visibility control
2022-03-14 21:57:05 +00:00
Hielke Morsink
ba85cf4873
Close #15896 : Refactor out the ZoomLevel operators
2022-02-26 23:14:59 +01:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02: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
ζeh Matt
c4ad5fcd15
Adjust includes
2021-11-26 21:01:44 +02:00
ζeh Matt
0024252328
Fix includes
2021-11-24 17:19:52 +02:00
Gymnasiast
af171d07e8
Use TitleCase in LightListEntry
2021-11-07 14:16:37 +01:00
Gymnasiast
bc3276dd43
Use CoordsXYZ in lightlist_entry
2021-11-07 14:13:08 +01:00
Michael Steenbeek
a1b70b59d6
Fix #15177 : Crash in lightfx_add_lights_magic_vehicle()
2021-10-26 20:10:03 +02:00
Hielke Morsink
53c22c9b4b
Check for nullptr explicitly ( #15458 )
2021-09-24 20:05:50 +02:00
ZehMatt
de364aa15a
Rename type SpriteBase to EntityBase
2021-08-26 15:37:16 +03:00
WantDiscussion
06026ec55e
Improvement: Added lighting effects for shops and stalls. ( #14169 )
...
* Improvement: Added lighting effects for shops and stalls.
* Moved offset rotations for lights to declaration.
* - Made function variables Const&, Const
- Fixed casing
- Removed direction variable from kiosk function
- Moved kiosk light offset rotation to declaration
* Ensure defines are only set for given target with cmake
Co-authored-by: Michał Janiszewski <janisozaur@gmail.com >
2021-06-30 07:55:02 +01:00
Duncan
39fcc5d078
Split up Sprite header ( #14764 )
...
* Remove fields from rct_sprite union
* more header fun
* Fix guest include
2021-05-29 06:01:32 +01:00
Ted John
762b6ee816
Refactor viewport interaction flags and add plugin API
2021-02-18 18:10:29 +00:00
Karthik NS
ae637bf088
Close #13623 : Refactor LightFXQualifier to use strong enum
2021-01-03 14:03:13 +01:00
Dennis Devriendt
3073cca6aa
Close #13624 : Refactor ViewportInteractionItem to use strong enum ( #13657 )
...
* Closes #13624 : Refactor ViewportInteractionItem to use strong enum
2020-12-29 15:09:15 -03:00
Duncan
88b73d8716
Refactor add 3d light follow on from #13281 ( #13333 )
...
Close #12406
Co-authored-by: rpstester <32249806+rpstester@users.noreply.github.com >
Co-authored-by: rpstester <32249806+rpstester@users.noreply.github.com >
2020-11-04 11:24:56 +00:00
Duncan
214f6992dd
Rename to TitleCase and name LastAttachedPS ( #13260 )
2020-10-22 18:13:54 +01:00
Łukasz Pękalski
399e0abe2e
Close #12497 : Remove extra SPRITE_INDEX_NULL checks ( #12601 )
2020-08-08 09:12:52 -03:00
Tom Parsons
d9129bca0f
Fix #12405 : Make LIGHTFX_LIGHT_TYPE a strong enum (LightType) ( #12569 )
...
* Fix #12405 : Make LIGHTFX_LIGHT_TYPE a strong enum
* Fix #12405 : Make LIGHTFX_LIGHT_TYPE a strong enum
- New strong enum LightType
- Remove unused enum members
- GetLightTypeSize and SetLightTypeSize modify size of light (0-3)
* actually save the change to lightType
2020-08-04 15:55:14 +01:00
Duncan
c6e26267a4
Reduce the use of GET_VEHICLE ( #12494 )
...
* Start removing GET_VEHICLE macro use
* Further work
* Remove further GET_VEHICLE's
* Further removal of GET_VEHICLE
* Remove the last of GET_VEHICLE
* Fix testpaint
* Fix nullptr deref
* Make review changes
Also swapped in helper functions and used a standard patern for iterating the train cars
* Further simplify loops for train cars
2020-07-31 07:48:27 +01:00
wdarvin
95b4bca3d0
Close #12448 : Refactor RAIN_LEVEL to use strong enum ( #12488 )
...
* Close #12448 : Refactor RAIN_LEVEL to use strong enum
* Refactor to remove enum suffix
2020-07-28 17:19:45 +01:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00