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
Harry Hopkinson
89637013e8
Fix #21507 : Expose suggestedGuestMaximum via hook ( #21521 )
2024-09-11 21:17:26 -03: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 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
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Guy 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
6de514c387
Address minor code style violation in unsigned suffix ( #22306 )
2024-07-15 21:16:30 +02: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
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
4bfd3f3369
Initialise script engine off main thread ( #22230 )
...
* Initialise script engine off main thread
* Do not run ScriptEngine.Tick() during initialisation/preloading
* Add 'Loading plugin engine…' string
* Add changelog entry
---------
Co-authored-by: Bas <Basssiiie@users.noreply.github.com >
2024-07-09 20:19:01 +02:00
Arnold Zhou
aa11d8ddfe
Expose ride satisfaction to plugin api ( #22172 )
2024-07-08 10:53:14 +02:00
Aaron van Geffen
83e5aeb9c5
Increment versions for park format, script engine, network for new flags
2024-07-06 15:14:12 +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
Arnold Zhou
a0f5d09408
Expose monthly expenditure history to plug-in API
2024-06-23 22:49:49 +02:00
Arnold Zhou
a26f3121ef
Log plugin path on load error
2024-06-13 12:48:50 +02:00
Arnold Zhou
0254b570d8
Dukvalue uint int fixes
2024-06-06 21:39:22 +02:00
Stephan Spengler
71a8eee5c6
Fix #21987 : API cannot handle negative removal prices
2024-06-06 12:01:51 +02:00
spacek531
4ea55ef415
Change ScVehicle::isReversed_get/set to template function
2024-06-04 13:06:20 +02:00
Stephan Spengler
73043106ed
[Plugin] Add banner index to banner creation result
2024-05-29 22:35:35 +02:00
spacek531
94750f4e34
Add plugin API to VehicleCrashedParticle
2024-05-29 12:32:41 +02:00
Die4Ever
a50fa5e04b
Increase socket buffer size when receiving data
2024-05-29 00:00:32 +02:00
Arnold Zhou
01319ff352
Expose guest's favourite ride (ID) to plugin API
2024-05-27 15:18:02 +02:00