1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
Michael Steenbeek
27cbb6c6ae Merge pull request #16190 from Gymnasiast/refactor/normalised-tile-element-type-3
Part of #15485: normalise all OpenRCT2 tile element types
2021-12-12 09:53:09 +01:00
ζeh Matt
cec30e093d Merge pull request #15991 from ZehMatt/refactor/bannerid
Use TIdentifier for BannerIndex
2021-12-11 08:08:27 -08:00
Gymnasiast
aa34f0f760 Drop the N postfix 2021-12-11 00:39:39 +01:00
Gymnasiast
fc3ce3294c Move over switches to normalised tile element types 2021-12-11 00:30:59 +01:00
Gymnasiast
bedcba5ea8 Use SetTypeN() in ScTileElement.cpp 2021-12-10 23:05:56 +01:00
Michael Steenbeek
2d1af0ec42 Replace many GetType() calls with GetTypeN() 2021-12-10 22:43:17 +01:00
Sadret
03d2ddf265 Implement #16029: Add rideType to plugin API (#16030) 2021-12-01 13:39:03 +00:00
ζeh Matt
810521bd5b Remove BANNER_INDEX_NULL 2021-12-01 14:41:59 +02:00
ζeh Matt
63a2e9d716 Refactor uses of old BannerIndex 2021-12-01 14:41:59 +02:00
Duncan
275d565e52 Start splitting up ride.h (#16011)
* Start splitting up ride.h

* Use cstdint instead of common.h
2021-11-26 15:03:14 +00:00
ζeh Matt
03fb9b390f Rename Sprite to EntityRegistry 2021-11-24 17:04:12 +02:00
ζeh Matt
7c726e2a0c Fix includes 2021-11-24 16:48:33 +02: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
94144bcd89 Remove some dead code
Reported by clang
clang-analyzer-deadcode.DeadStores
2021-09-30 10:40:32 +02:00
ζeh Matt
eda3188ecf Fix rebase 2021-09-10 19:10:13 +03:00
Gymnasiast
4cc717ccdb Rework path surface and railings descriptor handling 2021-09-05 19:09:09 +02:00
ZehMatt
9f95b006d3 Move ScTileElement into its own files 2021-08-11 22:15:37 +03:00