Gymnasiast
cbd2c7b3d7
Use FlagHolder for banner flags
2025-05-21 00:15:12 +02:00
Gymnasiast
ddacaacc71
Change SCROLLING_MODE_NONE to kScrollingModeNone
2025-05-20 22:57:59 +02:00
Michael Steenbeek
1a571cd4e4
Create enum for TextColour
2025-05-11 22:37:21 +02:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Gymnasiast
d9d5df509e
Add RtdSpecialType to replace checks for maze and other naughty types
2024-11-24 12:58:32 +01:00
Duncan
f6582647f5
Large scenery tiles 2 ( #22888 )
...
* Use std::span for tiles
* Add an index helper parameter
* Use coordsxyz
* Split up corners and walls
* Use bools for the two flags
* Apply coding style
* Refer only to LargeSceneryObject where required
* Address comments
2024-10-16 22:35:29 +01:00
Michael Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
Michael Steenbeek
71ce725a2a
Split off BannerElement and TrackElement ( #22955 )
2024-10-14 14:26:10 +02:00
Michael Steenbeek
52b70703af
Turn TrackElemType into a strong enum
2024-10-11 13:30:27 +00:00
duncanspumpkin
6283993351
Move WallElement into its own header/source files
2024-10-07 22:04:13 +02:00
Michael Steenbeek
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02:00
mrmbernardi
075ed43286
Fix #22527 : Forcing element type to wall via scripts can crash the game ( #22674 )
2024-09-01 20:15:21 +02:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Gymnasiast
2c7d2fff7c
Move track design appearance to its own struct
2024-07-02 22:35:19 +02:00
Arnold Zhou
0254b570d8
Dukvalue uint int fixes
2024-06-06 21:39:22 +02:00
Stephan Spengler
f4156e9043
Create or delete banners when tile elements are changed by plugins ( #21627 )
2024-05-17 07:54:51 -03:00
Aaron van Geffen
d536f9bce0
Revert "Add owner property to tile elements for scripting"
...
This reverts commit b4376ab590 .
2024-04-12 21:58:45 +02:00
Stephan Spengler
2913a0686a
Add banner properties to plugin API for large scenery, walls and banners
2024-03-26 11:42:09 +00:00
Stephan Spengler
bcff6f5a7e
Update ScTileElement.cpp: fix typos ( #21463 )
2024-02-26 18:10:47 -03:00
Max
7a9e8a5e44
Fix: setting brake/booster speeds via plug-in does not work
2024-01-15 08:28:21 +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
ζeh Matt
b4376ab590
Add owner property to tile elements for scripting
2023-10-08 02:30:43 +03:00
Stephan Spengler
39ecab4bd2
add small scenery tertiary colour to plugin API ( #20818 )
...
* add small scenery tertiary colour to plugin API
* bump API version
2023-10-01 11:27:04 +01:00
ζeh Matt
45afc1f67b
Properly name setter/getter for edge object index
2023-08-26 21:01:27 +03:00
ζeh Matt
ae3c1037ad
Properly name what the getter/setter for surface object index is
2023-08-26 20:50:06 +03:00
Michael Steenbeek
1f5e9ac285
Clean up path additions entry index handling ( #20177 )
...
* Clean up path additions entry index handling
* Bump network version
2023-05-20 09:33:02 +01:00
Michael Steenbeek
448c8fafd0
Rename base_height, clearance_height and owner
2023-01-19 20:36:30 +01:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01: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
6d804f5323
Add RIDE_TYPE_FLAG_IS_MAZE
2022-12-14 14:21:21 +01: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
Sadret
1c7c4c14c2
Add tertiary colour for large scenery to plugin API ( #17314 )
...
Add tertiaryColour to ScTileElement.
2022-06-09 20:03:32 +01:00
Ted John
97c0c4e052
Merge pull request #16975 from IntelOrca/plugin/track-segments
...
[Plugin] Add APIs for track segments and track iteration
2022-05-26 20:33:53 +01:00
Ted John
4eef86dc50
Implement track iterator
2022-05-17 19:27:39 +01:00
Sadret
4cc2f31181
Fix inverted condition in ScTileElement.hpp
2022-05-17 19:25:28 +02:00
Hielke Morsink
a67e805e60
Log messages with new LogPluginInfo function
2022-05-09 21:17:55 +02:00
Hielke Morsink
9e4ed1e85a
Make property messages more consistent
2022-05-08 20:07:45 +02:00
Hielke Morsink
2bf5f1040a
Sanitize all track element properties
2022-05-08 19:54:33 +02:00
Hielke Morsink
813618d30b
Print message when attempting to set invalid property
...
Added for the previously track setters, and all surface element properties.
2022-05-08 15:35:34 +02:00
Hielke Morsink
4b081a8937
Fix: Crash when plug-in attempt to set invalid property
2022-05-07 20:33:52 +02:00
Hielke Morsink
f47c1b9f96
Close #16468 : Use TIdentifier for StationIndex
2022-02-18 23:11:07 +02:00
ζeh Matt
06e430157f
Use RideId::GetNull and RideId::IsNull over constant
2022-02-12 18:11:18 +02:00
ζeh Matt
4554d6d883
Fix all uses of RideId
2022-02-12 18:11:18 +02:00
ζeh Matt
a2470c0573
Rename ride_id_t to RideId
2022-02-12 18:11:18 +02:00
Sadret
8282579b63
Close #16251 : Improve null handling in plugin API
2021-12-16 21:41:02 +01:00