1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00
Commit Graph

847 Commits

Author SHA1 Message Date
spacek531
d5035726ee Rename sound_vector_factor to dopplerShift 2025-09-24 23:13:03 +02:00
spacek531
e5aa3b33f2 Use regular interval for swing sprite threshold (#25171)
* use regular interval for swing sprite threshold

* bump network

* bump park file version
2025-09-20 09:39:50 +02:00
Gymnasiast
a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
spacek531
8eb9e4aceb Use strong types for VehiclePitch and VehicleRoll 2025-09-09 15:47:19 +02:00
Aaron van Geffen
4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
spacek531
3e10c20792 Add variable for number of spin frames 2025-09-08 12:57:04 +02:00
spacek531
2fa20a2f3d Separate flat ride and tracked ride users of pitch and roll fields
In preparation for strong-typing the pitch and roll enums, unions are created to properly document which users of the field are flat rides.
2025-09-07 12:06:49 +02:00
spacek531
02ce098a2f Rename bank_rotation to roll, Pitch to pitch 2025-09-06 23:56:29 +02:00
Aaron van Geffen
12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
Aaron van Geffen
0e2f9fbc03 Move RideSetStatus, RideSetVehicle into GameActions namespace 2025-08-27 11:03:08 +02:00
Aaron van Geffen
be125fc9e1 Use ParkData refs in more places (#25035) 2025-08-25 22:25:53 +02:00
Aaron van Geffen
f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +02:00
Gymnasiast
9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Michael Steenbeek
b77aa9a956 Small cleanup of sound range parameters 2025-07-04 18:52:58 +02:00
Michael Steenbeek
9fcbac56bb Revert "Close #1787: Replace blood-curdling scream with regular roller coaster screams" (#24716)
This reverts commit f176b27076.
2025-07-03 21:36:55 +02:00
Michael Steenbeek
f176b27076 Close #1787: Replace blood-curdling scream with regular roller coaster screams 2025-07-03 17:30:59 +02:00
Michael Steenbeek
0e015264ae Land edge door animations (#24621)
* Add RCT1 land edge door map animations

* Only animate landscape edge doors if door exists

* Move Vehicle::UpdateLandscapeDoorA function

* Merge Vehicle::UpdateLandscapeDoor functions

* Only animate land edge doors if track is below surface height

* Play door sounds for land edge doors

* Add changelog entry for landscape edge door animations
2025-06-20 16:35:54 +02:00
Gymnasiast
18543caf58 Rename ecx to newAcceleration 2025-06-18 23:40:07 +02:00
Michał Janiszewski
aa519879a7 Fix #24617: Prevent hired boat with 0 speed causing division by 0 2025-06-18 23:38:15 +02:00
mix
14aa6f7fdd Play door sounds for land edge doors 2025-06-14 22:29:21 +01:00
mix
6c011c2a2a Only animate land edge doors if track is below surface height 2025-06-14 22:29:21 +01:00
mix
bbe0ffcc7d Merge Vehicle::UpdateLandscapeDoor functions 2025-06-14 22:29:21 +01:00
mix
eedc93ac52 Move Vehicle::UpdateLandscapeDoorA function 2025-06-14 22:29:21 +01:00
mix
1d89ed818e Only animate landscape edge doors if door exists 2025-06-14 22:29:20 +01:00
mix
d42ee0a062 Add RCT1 land edge door map animations 2025-06-14 21:17:17 +01:00
mix
ed4f926d7d Remove RCT1 land edge door map animations 2025-06-13 21:13:34 +01:00
mix
46e85d4468 Mark auto pointers explicitly in map animations 2025-06-13 21:13:33 +01:00
mix
d98a06564a Change MapAnimations::MarkTileForUpdate parameter to TileCoordsXY 2025-06-13 21:13:33 +01:00
mix
9f44a475fd Simplify MapGetTrackElementAtFromRideIsUnderground 2025-06-13 21:13:33 +01:00
mix
0a63059580 Prevent land edge doors creating animations if not underground 2025-06-13 21:13:33 +01:00
mix
78c2b85b1d Rename MapAnimation namespace to MapAnimations 2025-06-13 21:13:33 +01:00
mix
e464b2ebe7 Don't invalidate map animations for tiles that are not in view 2025-06-13 21:13:33 +01:00
mix
43b0ed6dc8 Add animations for land edge doors 2025-06-13 21:13:32 +01:00
mix
daf8c186d3 Add is animating state to scenery doors 2025-06-13 21:13:32 +01:00
mix
e467f5db02 Add temporary map animations 2025-06-13 21:13:32 +01:00
ζeh Matt
769a85afb7 Refactor how map animations are created and stored 2025-06-13 21:13:32 +01:00
Gymnasiast
d2615beb6e Change News enums to use lowerCamelCase 2025-05-24 23:47:18 +02:00
ζeh Matt
de0ad4f0f4 Add missing break statements 2025-05-23 18:31:18 +03:00
mix
3c9136ac4f Prevent ride ratings from invalidating ride windows unnecessarily 2025-05-22 20:58:55 +01:00
Gymnasiast
cc2546b681 Close #19782: Game stops counting inversions after 31 2025-04-19 19:00:22 +02:00
mix
e2dbe1ccbf Clarify go kart collision threshold 2025-04-18 21:05:31 +01:00
X123M3-256
d11bfa3f5c Prevent go karts from getting stuck when changing lanes 2025-04-18 21:05:31 +01:00
mix
c9175f5b1e Add larger turns and s bends to the go karts 2025-04-18 21:05:28 +01:00
mix
be4e740f26 Add new go kart lane subposition data 2025-04-18 18:50:47 +01: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
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
mix
647ab23c33 Fix #18309: Vehicles glitch going inverted to uninverted with uncap fps (#24011) 2025-03-17 20:39:28 +01:00
Gymnasiast
73cda29208 Create strong enum for RideTestingFlags 2025-03-14 21:30:50 +01:00
Michael Steenbeek
05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00