1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00
Commit Graph

871 Commits

Author SHA1 Message Date
matheusvb3
70266347d1 Fix claxon audio bug on crossings that span multiple tiles
Co-Authored-By: Aaron van Geffen <604665+AaronVanGeffen@users.noreply.github.com>
2025-10-27 22:07:48 +01:00
Michael Steenbeek
218318cf7f Rename constants and flags related to swing modes and rotation types (#25259)
* Rename rotation consts and flags

* Rename swing flags
2025-10-24 20:46:01 +02:00
Gymnasiast
1e07385ff6 Use getters for all VehicleGeometry tables 2025-10-21 21:22:37 +02:00
Spacek531
a7aea1ad8b fix formatting 2025-10-21 21:01:36 +02:00
Spacek531
af3286acef move doppler and crash direction arrays 2025-10-21 21:01:26 +02:00
Spacek531
965ce8bf69 rename pitch direction vector and move roll component array 2025-10-21 21:01:26 +02:00
Spacek531
8bf18c4543 use getter for pitch components 2025-10-21 21:01:26 +02:00
Spacek531
0070eda86b combine horizontal and vertical arrays into one 2025-10-21 21:01:26 +02:00
Spacek531
ea9a04d489 move horizontal and vertical arrays 2025-10-21 21:01:26 +02:00
Spacek531
6cec7d33ea replace AccelerationFromPitch with getter 2025-10-21 21:01:25 +02:00
Spacek531
ebe6dac2da move AccelerationFromPitch 2025-10-21 21:01:25 +02:00
Spacek531
ea467ff723 move array unk9A36C4 to kFreeroamVehicleMovementData 2025-10-21 21:01:25 +02:00
Spacek531
6cee099abc add getter for SubpositionTranslationDistance 2025-10-21 21:01:24 +02:00
Spacek531
925ed8ded5 move SubpositionTranslationDistance to VehicleGeometry 2025-10-21 21:01:24 +02:00
Spacek531
126c7b7e73 add VehicleGeometry files 2025-10-21 21:01:24 +02:00
matheusvb3
5ffd672a9e Rename swing flags 2025-10-15 22:22:04 -03:00
matheusvb3
1007c11771 Rename rotation consts and flags 2025-10-15 22:21:43 -03:00
Gymnasiast
3dfc41ec5b Replace direct RIDE_TYPE_BOAT_HIRE check with SpecialType 2025-10-14 23:38:05 +02:00
Gymnasiast
bdffc6dd40 Replace direct RIDE_TYPE_ENTERPRISE check with SpecialType 2025-10-14 23:37:07 +02:00
Gymnasiast
daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast
8f399dfbdd Rename members of EntityType 2025-10-05 14:58:57 +02:00
Gymnasiast
082c777d34 Rename members of PeepRideSubState 2025-10-05 14:46:12 +02:00
Gymnasiast
159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
Gymnasiast
45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
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