Commit Graph
27 Commits
Author SHA1 Message Date
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
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