Aaron van Geffen
aa35ec07cd
Introduce Scenario::Options struct; move cash and guest options
2025-08-22 15:57:33 +02:00
Gymnasiast
61df9eaf9a
Update ExpenditureType enum to new code style
2025-08-21 22:12:41 +02:00
Gymnasiast
9c810d9e32
Update ParkData fields to new code style
2025-08-21 22:12:41 +02:00
Aaron van Geffen
a99ffd9736
Move .suggestedGuestMaximum into ParkData struct
2025-08-13 23:20:59 +02:00
Aaron van Geffen
b40c5bd3b4
Move .totalRideValueForMoney into ParkData struct
2025-08-13 23:19:54 +02:00
Aaron van Geffen
681a489d15
Move .guest(ChangeModifier|GenerationProbability) into ParkData struct
2025-08-13 23:18:29 +02:00
Aaron van Geffen
ee37cb1411
Move .currentAwards into ParkData struct
2025-08-13 23:05:14 +02:00
Aaron van Geffen
21504650d3
Move .total(IncomeFrom|)Admissions into ParkData struct
2025-08-13 23:02:11 +02:00
Aaron van Geffen
e300ca8277
Move .maxBankLoan into ParkData struct
2025-08-13 22:29:25 +02:00
Aaron van Geffen
68a4991971
Move .bankLoan into ParkData struct
2025-08-13 21:24:06 +02:00
Aaron van Geffen
e5ead99c83
Move .numGuestsInPark, .guestsInParkHistory into ParkData struct
2025-08-13 21:20:13 +02:00
Aaron van Geffen
0162b09236
Move .expenditureTable into ParkData struct
2025-08-13 21:14:23 +02:00
Aaron van Geffen
94f40e46ef
Move .companyValue into ParkData struct
2025-08-13 21:08:00 +02:00
Aaron van Geffen
b842537616
Move .cash, .cashHistory into ParkData struct
2025-08-13 20:23:14 +02:00
Aaron van Geffen
3f9352b511
Split off ParkData.h from Park.h
2025-08-13 19:55:58 +02:00
Michał Janiszewski
f6292b4c13
Use clang-format 20 ( #24861 )
...
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
Jan Strauss
0522ae848b
Add award plugin APIs ( #24468 )
...
* Add award plugin apis
* Address review feedback (use erase_if, extract AwardAdd method)
* Address review feedback (remove redundant comments, make AwardAdd static)
* Address review feedback (bump plugin api version, add changelog entry)
2025-07-13 07:04:26 -03:00
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