Cory Sanin
65b5d86e6c
Feature: [Plugin] Add bindings for missing cheats
...
Added the following binds for completeness:
- ignoreRidePrice
- makeAllDestructible
- forcedParkRating*
`allowSpecialColourSchemes` was missing from the type definition file so I added that as well.
\*forcedParkRating required a little more logic than the boolean cheats and I added some safeguards to prevent setting invalid values
2025-07-08 09:18:25 +02:00
Michael Steenbeek
b77aa9a956
Small cleanup of sound range parameters
2025-07-04 18:52:58 +02:00
Garv Changrani
b47506dd90
Close #24665 : Don't return empty strings with quotes for std::string
2025-07-02 13:33:54 +02:00
Aaron van Geffen
2d8d1e3eee
Rename ScenarioText object type to ScenarioMeta
2025-05-16 12:54:14 +02:00
Bas
288513635c
Fix include formatting in ScVehicle.cpp
2025-05-25 16:07:08 +02:00
Bas
cc45570379
Apply code formatting to ScVehicle.cpp
2025-05-25 16:07:07 +02:00
Bas
711d162063
Fix moveToTrack() by applying segment 0 offset
2025-05-25 16:05:21 +02:00
Gymnasiast
d2615beb6e
Change News enums to use lowerCamelCase
2025-05-24 23:47:18 +02:00
Gymnasiast
47bb449e34
Make news item fields lowerCamelCase
2025-05-24 23:47:18 +02:00
Gymnasiast
068112c1ee
Rename Banner methods to use camelCase
2025-05-21 00:15:16 +02:00
Gymnasiast
7a68050897
Rename Banner::ride_index to rideIndex
2025-05-21 00:15:16 +02:00
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
Max
5a95e5e27d
Close #24313 - Add API for setting a car’s ‘isCrashed’ flag
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2025-05-12 21:42:46 +00:00
Michael Steenbeek
1a571cd4e4
Create enum for TextColour
2025-05-11 22:37:21 +02:00
Basssiiie
cae36aa010
Fix missing invalidation on various plugin api setters for entities ( #24310 )
2025-04-30 20:59:17 +00:00
Max
08cb8cb8c3
Add plugin call for breakdowns ( #24207 )
2025-04-30 14:41:47 +00:00
Michael Steenbeek
63e247454b
Merge pull request #22766 from Gymnasiast/fix/19782
...
Fix #19782 : Game stops counting inversions after 31
2025-04-20 13:52:20 +02:00
Max
923a38c990
Close #24146 : Expand plugin functionality for balloons and money effects
2025-04-19 23:23:02 +02:00
Gymnasiast
cc2546b681
Close #19782 : Game stops counting inversions after 31
2025-04-19 19:00:22 +02:00
ZeroBreakpoint
76cc04d044
Fix crash in map.getAllEntities("car") when car has an invalid ride
2025-04-17 19:18:23 +02:00
spacek531
2249dffe91
Replace display options tab with custom sprites
2025-04-17 16:45:03 +02:00
Aaron van Geffen
d9ba40b266
Purge leftover references to SetClimate game command ( #24104 )
...
* Purge leftover references to SetClimate game command
* Bump network version
2025-04-08 08:51:13 +02:00
Guy Sviry
b92e05bc14
Scripting: Add Car.moveToTrack API ( #23359 )
...
* Scripting: Redraw vehicle when setting track location
* Scripting: introduce car.moveToTrack
A new function to move cars to tracks easier. Also redraws the car.
* Revert car.trackLocation to CoordsXYZD
reverts 30a555d3c2
car.moveToTrack() achieves the same thing in a saner API.
* Final fixes for vehicle.moveToTrack
added back tracklocation.Get with track type
added EntityTweener call at the end of travelBy/moveToTrack
* moveToTrack: final bassie review fixes.
* moveToTrack: use tile coords
* moveToTrack: api increment
---------
Co-authored-by: Guy Sviry <guy@axissecurity.com >
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2025-04-02 23:42:30 +00:00
Gymnasiast
eaaba9fbfb
Rename HOOK_TYPE and its members
2025-03-26 12:16:47 +01:00
Gymnasiast
74758c77b6
Rename PATHID and its members
2025-03-25 23:57:36 +01:00
Gymnasiast
14b881e22b
Rename DIRID and its members
2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Michael Steenbeek
70bdddcf36
Reduce object casting ( #24072 )
2025-03-25 08:51:44 +01:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Aaron van Geffen
0a3e9fdfd9
Update object manager API to access new object types ( #24009 )
...
* Update object manager API to access new object types
* Use separate mapping for scripting due to different type names
* Amend changelog
2025-03-20 00:16:08 +01:00
Aaron van Geffen
23e6c26c2b
Let ScClimate::type_get return a non-empty string again
2025-02-22 17:15:32 +01:00
Aaron van Geffen
8eb8f045b5
Purge old climate setting from gamestate
2025-02-04 16:25:17 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Gymnasiast
3c35debafe
Rename RIDE_VALUE_UNDEFINED to kRideValueUndefined
2025-03-06 23:30:57 +01:00
Gymnasiast
e35c7fdb5c
Update RideStatus to current code style
2025-03-06 23:01:46 +01:00
Gymnasiast
0341d20b0b
Update RideClassification to current code style
2025-03-06 23:01:46 +01:00
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00:00
Aaron van Geffen
a380413c56
Remove Scenario.h include from many units ( #23901 )
...
* Reduce includes/dependencies for Scenario.h
* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
Aaron van Geffen
bb94ee8bc0
Rename ObjectType enum to follow recent code style ( #23810 )
2025-02-13 23:07:55 +01:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Aaron van Geffen
6933af25ae
Rename 'Climate' properties to Weather ( #23786 )
...
* Rename ClimateState to WeatherState
* Rename ClimateCurrent to WeatherCurrent
* Rename ClimateNext to WeatherNext
* Rename ClimateUpdateTimer to WeatherUpdateTimer
* Use named initialisers for weather state import in S4/S6 importers
* Rename S4::ClimateTimer to WeatherUpdateTimer as well
* Rename WeatherState struct properties to lowerCamelCase
2025-02-13 07:38:45 -03:00
Aaron van Geffen
2302f0d2e3
Rework Localisation includes ( #23789 )
...
* Clean up internal localisation header includes
* Remove some external localisation includes
* Remove dependency on FormatCodes.h from InteractiveConsole.h
* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Aaron van Geffen
cf448753c1
Move WindowInvalidate and WidgetInvalidate families into WindowManager ( #23692 )
...
* Move WindowInvalidate and WidgetInvalidate families into WindowManager
* Use InvalidateWidget shorthand in more places
* Cut back on UiContext includes
* Cut back on Window.h includes
* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
90143b2e38
Address review comments
2025-01-09 12:34:45 +01:00
Aaron van Geffen
2f0af0a005
Expose getCostumeStrings to scripts
2024-12-11 19:06:47 +01:00
Aaron van Geffen
44a9f530f7
Separate RCT12PeepAnimationGroup further from PeepAnimationGroup
2024-12-09 19:43:05 +01:00