ζeh Matt
7c726e2a0c
Fix includes
2021-11-24 16:48:33 +02:00
Gymnasiast
921ae21ad5
Remove obsolete TODOs
2021-11-21 22:43:22 +01:00
IntelOrca
34128dc262
Add new .park save format
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com >
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com >
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com >
2021-11-21 22:43:22 +01:00
Hielke Morsink
9dd20ec619
Improve array formatting
...
For most of these cases, adding a trailing comma to the array block makes clang-format put each item on a new line, and clang-format exception blocks could be reduced where clang-format does not handle them properly.
2021-10-17 18:21:45 +02:00
Hielke Morsink
53c22c9b4b
Check for nullptr explicitly ( #15458 )
2021-09-24 20:05:50 +02:00
IntelOrca
4f319d6ed4
Prepare footpath handling for surfaces and railings
2021-09-12 17:52:01 +02:00
ζeh Matt
b733e97bfa
Remove numerics from common.h and use it as needed
2021-09-11 20:21:08 +03:00
Michael Steenbeek
f9f027e219
Name word_F3F038 ( #15373 )
...
Co-authored-by: IntelOrca <ted@brambles.org >
2021-09-08 15:40:35 +02: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
ZehMatt
3d90257dde
Simplify more argument passing to PaintAddImageAsParent
2021-08-20 23:34:44 +03:00
ZehMatt
efa9af4610
Simplify passing args on PaintAddImageAsParent where possible
2021-08-20 23:34:44 +03:00
ZehMatt
7feea62ab3
Remove overload of PaintAddImageAsParent with bbox offset
2021-08-20 23:34:44 +03:00
ZehMatt
6c233ac802
Remove first overload of PaintAddImageAsParent
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
Jamie Quigley
4f6d0a00fd
Refactor RIDE_STATUS to use strong enum ( #14840 )
...
* Refactor RIDE_STATUS to use strong enum
* Change platform-specific code to match RIDE_STATUS refactor
* Re-added check for valid RideStatus value
* Fixed errors in "g2" build target
* Use EnumValue instead of static_cast<uint8_t>
* Revert rct{1,2}.h to use uint8_t.
* Fix formatting
* Reverted from constexpr variable to additional enum variant
* Fix formatting
2021-06-10 07:09:58 +01:00
Michael Steenbeek
8e01bd46ce
Remove LocationXY(Z)16 ( #14834 )
2021-06-07 17:44:38 +02:00
Jamie Quigley
1d84bdca88
Refactor PATH_BIT_DRAW_TYPE_LIGHTS to use strong enum ( #14837 )
...
* Refactor PATH_BIT_DRAW_TYPE to use strong enum
* Rename PathBitDrawType members to be singular
* Remove whitespace and add trailing comma
2021-06-07 13:40:27 +01:00
Matt
2aed03ca5f
Refactor uses of PaintAddImageAsParent in Paint.Path.cpp
2021-06-05 17:16:05 +03:00
Duncan
6f81248084
Rework and refactor PathBitEntry ( #14809 )
2021-06-03 21:23:00 +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
Gymnasiast
7fd049c22e
Remove last remnants of gCurrentFontSpriteBase
2021-02-28 00:26:53 +01:00
Gymnasiast
503273793a
Remove gCurrentFontSpriteBase from some functions
2021-02-28 00:26:20 +01:00
Gymnasiast
2477933c51
Turn font sprite base into a strong enum
2021-02-28 00:23:00 +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
Łukasz Pękalski
4adf745237
Close #12403 : Refactor FILTER_PALETTE_ID to use strong enum ( #13273 )
2020-12-05 15:13:59 -03:00
duncanspumpkin
6882ddaf12
Clang format the relevant files
2020-11-07 14:15:25 +00:00
duncanspumpkin
f6d2db48dc
Name 98196C
2020-11-07 14:15:25 +00:00
duncanspumpkin
d6669be939
Rename main paint add image functions
2020-11-07 14:15:24 +00:00
Manuel Vögele
69b07904c1
Make TileElement conversion preserve the const qualifier
...
Additionally this commit fixes some constness issues revealed by this change
2020-11-04 19:15:44 +01:00
Tulio Leao
29955f28e0
Merge pull request #12976 from mwnciau/Refactor-TRACK_ELEM-enum
...
Refactor TRACK_ELEM_* enum
2020-10-01 22:05:44 -03:00
Simon Jarrett
52209af94d
Rename TRACK_ELEM_* enums to TrackElemType::*
...
- Replace enum in Track.h with namespace and constexpr
- Find and replace all instances of TRACK_ELEM_* enums
2020-10-01 19:57:52 +01:00
Duncan
4ec10837a6
Remove Formatter::Common where not required ( #12972 )
...
* Remove Formatter::Common where not required
* Remove common from Guest window where possible
2020-09-27 21:09:08 -03:00
Nils Caspar
4e6935f689
Consistently render various height marks when zoomed in ( #12853 )
2020-09-06 08:56:41 +01:00
ryan-bello
cc2bb33892
changed enum STAFF_TYPE to strong enum StaffType, moved it to Peep.h
2020-08-17 22:59:02 -04:00
ryan-bello
54a33cbde8
renamed StaffType to AssignedStaffType
2020-08-17 20:16:09 -04: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
cd1d573c39
Pass the formatter directly to scrolling_text_setup
2020-07-31 12:31:26 +02:00
Duncan
8a378ad236
Remove uses of GET_PEEP macro and replace with GetEntity ( #12467 )
...
* Use TryGetEntity and GetEntity instead of macro
* Use GetEntity for ui guest window
* Remove final GET_PEEP macro uses
* Fix remaining issues
2020-07-26 17:42:02 +01:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Tulio Leao
e54a3d89f2
Rename some Peep member variables to use TitleCase ( #11931 )
...
* Rename Peep::destination_tolerance to use TitleCase
* Rename Peep::destination_y to use TitleCase
* Rename Peep::destination_x to use TitleCase
* Rename Peep::trousers_colour to use Title Case
* Rename Peep::tshirt_colour to use TitleCase
* Rename Peep::no_of_rides to use Title Case
* Rename Peep::staff_type to use TitleCase
* Rename Peep::type to use TitleCase
* Rename Peep::sprite_type to use TitleCase
* Rename Peep::sub_state to use TitleCase
* Rename Peep::state to use TitleCase
* Rename Peep::outside_of_park to use TitleCase
* Rename Peep::next_flags to use TitleCase
* Rename Peep::name to use TitleCase
* Rename Peep::NoOfRides to GuestNoOfRides
* Rename Peep::Type to AssignedPeepType
* Rename Peep::GuestNoOfRides to GuestNumRides
2020-06-14 06:31:08 +01:00
Michael Steenbeek
fa91b4091f
Name tunnel constants ( #11694 )
2020-05-09 23:54:47 +02:00
Breno Rodrigues Guimarães
c0d0c7de16
Part of #11389 : Replace set_format_arg by Formatter::Common() ( #11388 )
2020-04-22 21:41:20 -03: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
Gymnasiast
57a40c0657
Extend PathElement
2020-03-04 21:57:42 +01:00
Matt
c381d9ff3f
Remove obsolete construction of CoordsXY object
2020-02-13 12:11:20 +01:00
Michael Steenbeek
29922da871
Refactor calls to staff_is_patrol_area_set()
2019-12-31 10:10:40 +01:00
Duncan
c170926200
Refactor to prefer baseZ instead of height for big Z ( #10478 )
2019-12-31 09:33:27 +01:00