Commit Graph
292 Commits
Author SHA1 Message Date
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 8063c5caa7 Reduce casting for objects 2024-10-16 14:12:25 +02:00
Duncan 5934dc6380 Remove void* obj from RideEntry 2024-10-16 10:50:38 +02: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
Tulio Leao 4404415aec Fix #22891: getInstalledObject API function not implemented 2024-10-05 09:35:21 +00:00
AT41andTulio Leao 6e7b489304 Added additional stats to Plugin interface
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-03 11:23:50 +00:00
Michael Steenbeek 673d14b247 Merge pull request #22386 from mrmbernardi/format
Apply check-code-formatting changes
2024-10-03 13:21:45 +02:00
Michael Steenbeek e6e0f97557 Split off EntranceElement header 2024-10-03 12:42:53 +02:00
Michael Bernardi f110ea14f5 Apply check-code-formatting changes 2024-10-03 10:49:25 +10:00
kendfreyandTulio Leao 307523610e Add Park.generateGuest() to plugin API (#22883)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-02 06:49:43 -03:00
DuncanandTulio Leao e157a843f0 Large scenery object tiles for scripting (#22842)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-01 21:02:46 -03:00
Michael Steenbeek ffad32ee8c Refactor enabling of covered pieces 2024-10-01 14:04:44 +02:00
Aaron van Geffen 584f6b8661 Rename Peep::SpriteType to AnimationGroup 2024-09-22 16:54:33 +02:00
Aaron van Geffen 6d27369ea6 Rename PeepSpriteType to PeepAnimationGroup 2024-09-22 16:42:27 +02:00
Aaron van Geffen 58f33ca325 Rename PeepAnimationType::Ui to Hanging 2024-09-22 16:21:32 +02:00
Aaron van Geffen 48a71461bf Rename PeepAnimationType::StaffCheckboard to StaffCheckBoard 2024-09-22 16:18:41 +02:00
Aaron van Geffen b70aaea31e Rename ActionSpriteImageOffset to AnimationImageIdOffset 2024-09-22 16:13:49 +02:00
Aaron van Geffen 24b36915ef Rename ActionFrame to AnimationFrameNum 2024-09-22 16:12:04 +02:00
Aaron van Geffen ee7bb61bb0 Rename WalkingFrameNum to WalkingAnimationFrameNum 2024-09-22 16:10:04 +02:00
Aaron van Geffen 2edf8b472a Rename (Next)ActionSpriteType to (Next)AnimationType 2024-09-22 16:08:58 +02:00
Aaron van Geffen 435cf14d49 Rename PeepActionSpriteType to PeepAnimationType 2024-09-22 16:07:35 +02:00
Gymnasiast 5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Aaron van Geffen cf516db6dc Split StringTypes.h off from String.hpp; adjust header includes 2024-09-10 23:55:53 +02:00
Harry Hopkinson 5f0d657bf2 Move gScenarioFileName to GameState 2024-09-07 12:20:32 +02:00
Harry Hopkinson c1ac7c0700 Cleanup gameState usage 2024-09-02 22:42:37 +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
Michael Steenbeek 8ebacc1821 Close #19003: Change _currentTrackCurve to a struct 2024-08-11 21:35:29 +02:00
Gymnasiast d93233f9fd Update TrackCoordinates field names 2024-08-11 15:06:19 +02:00
Gymnasiast 0ea9c5a2c2 Update TrackDefinition field names 2024-08-11 14:52:25 +02:00
Guy SviryandGuy Sviry 332df0f1db expose Vehicle.spin_sprite to Car scripting (#22392)
* expose spinSprite to Car scripting

---------

Co-authored-by: Guy Sviry <guy@axissecurity.com>
2024-08-07 18:13:33 +01:00
Gymnasiast 9294a58e98 Change TrackDescriptor field names to lowerCamelCase 2024-08-03 12:51:25 +02:00
mrmbernardi 9ed5c63857 Rename Location.hpp constants (#22385) 2024-07-26 10:23:25 +02:00
Guy SviryandGuy Sviry 30a555d3c2 Expose vehicle.trackType to scripting (#22272)
Co-authored-by: Guy Sviry <guy@axissecurity.com>
2024-07-25 17:27:15 -03:00
Arnold Zhou a749698566 [Plugin API] Feat: Expose staff statistics (#22184) 2024-07-24 20:10:34 -03:00
Aaron van Geffen 896eb4f488 Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting 2024-07-13 14:09:58 +02:00
Aaron van Geffen 8134ca069a Move kMarketingCampaignNames to Marketing unit 2024-07-12 23:56:22 +02:00
Aaron van Geffen 3fd91038c3 Rename Date.h to Localisation.Date.h to match unit file 2024-07-12 22:18:43 +02:00
Aaron van Geffen b5ef2693b0 Remove common.h include from all units 2024-07-09 16:45:19 +02:00
Arnold Zhou aa11d8ddfe Expose ride satisfaction to plugin api (#22172) 2024-07-08 10:53:14 +02:00
Aaron van Geffen f2c266d310 Allow scripts to manipulate peep directions 2024-07-05 15:46:03 +02:00
Aaron van Geffen 666e8a1518 Prevent assigning invalid energy values to peeps 2024-06-29 16:05:54 +02:00
Aaron van Geffen ed6bde7d56 Introduce peep flags for static positions and animations 2024-06-29 14:42:09 +02:00
Aaron van Geffen 90dee86267 Constrain plugins to normal range when assigning ride prices (#22227)
* Constrain plugins to normal range when assigning ride prices

* Introduce kRideMinPrice, kRideMaxPrice

* Adjust RideSetPriceAction to fail in case of invalid price

* Add changelog entry
2024-07-06 09:39:00 +00:00
Gymnasiast 56accb3790 Use RatingTuple across the codebase 2024-07-04 00:29:40 +02:00
Gymnasiast 2c7d2fff7c Move track design appearance to its own struct 2024-07-02 22:35:19 +02:00
spacek531 4e72d580f8 Allow non-networked plug-ins to set pause state directly 2024-06-25 11:36:01 +02:00