Commit Graph
12117 Commits
Author SHA1 Message Date
mrmbernardi 5f32624017 RideCreateAction: use constant instead of magic number 2025-06-29 20:54:46 +02:00
LRFLEW 8819ae34a4 Remove Memory Copy in FileIndex::LoadOrBuild 2025-06-29 03:53:17 -05:00
Michael Steenbeek 2815d1958c Fix #18080: Obsolote .DAT objects can be loaded accidentally 2025-06-26 10:57:40 +00:00
Michael Steenbeek 3a09063f58 Merge pull request #24666 from Gymnasiast/fix/24661
Fix #24661: convert console command always crashes with a segmentation fault
2025-06-24 14:00:17 +02:00
Michael Steenbeek f9b132e24d Remove sorting by difficulty in the scenario selector
This is barely used, complicates the scenario selector and Options window, and will get in the way when adding RCTC and custom campaign support. Time to remove it.
2025-06-24 10:53:26 +00:00
Gymnasiast f5acd2ba24 Fix: convert console command rejects files with an SV7 extension 2025-06-24 01:01:50 +02:00
Gymnasiast f7612d56d0 Fix #24661: convert console command always crashes with a segmentation fault 2025-06-24 01:00:27 +02:00
mix 44decc9ce0 Rename metal support mappings 2025-06-24 00:31:10 +02:00
Cory Sanin 6fc950d38f Feature: Add optional screenshot argument for Z coord 2025-06-24 00:19:24 +02:00
Gymnasiast 76ad3715bb Rename enum members of WoodenSupportTransitionType to lowerCamelCase 2025-06-21 14:46:32 +02:00
Gymnasiast f267d6025b Rename enum members of WoodenSupportSubType to lowerCamelCase 2025-06-21 14:37:55 +02:00
Gymnasiast 38eccc4e2c Rename enum members of WoodenSupportType to lowerCamelCase 2025-06-21 14:36:46 +02:00
Gymnasiast ed6cd227fc Rename enum members of MetalSupportType to lowerCamelCase 2025-06-21 14:16:40 +02:00
Gymnasiast 939d756244 Rename enum members of MetalSupportGraphic to lowerCamelCase 2025-06-21 14:12:50 +02:00
Gymnasiast 16ce220210 Rename enum members of MetalSupportPlace to lowerCamelCase 2025-06-21 14:12:49 +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
Michał Janiszewski cf72933aa5 Fix #24589: Ride's music tab doesn't redraw in multiplayer
Trigger an invalidation of the window when actually executing the
command.
2025-06-18 23:36:00 +02:00
Michael Bernardi 1bc0eca74c Remove unused includes 2025-06-17 22:42:13 +10:00
Michael Steenbeek 7b322d825a Refactor constants in window .cpp files 2025-06-16 23:10:47 +02:00
Michał Janiszewski 0e9982d6ca Drop "Pause game when Steam overlay is open" feature
As shown in https://github.com/OpenRCT2/OpenRCT2/pull/24618, the steam
overlay feature doesn't work well and can cause jarring user experience
in some scenarios. It is only supported in the software renderer and
with code moving steadily to OpenGL, the time has come to remove a
broken feature.
2025-06-16 21:57:56 +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 f73a7b64d9 Remove fallthrough annotations in TrackPlaceAction::Execute 2025-06-13 21:13:34 +01:00
mix 8d2309a4c2 Change magic numbers to constants in Viewport::Invalidate function 2025-06-13 21:13:34 +01:00
mix 92dd81b9ea Change tile related magic numbers to consts in map animation code 2025-06-13 21:13:34 +01:00
mix b56f150533 Change MapAnimations::ShiftAll parameter from CoordsXY to TileCoordsXY 2025-06-13 21:13:34 +01:00
mix ed4f926d7d Remove RCT1 land edge door map animations 2025-06-13 21:13:34 +01:00
mix 22f3dd429d Change invalidating map animations from set to vector of bools 2025-06-13 21:13:34 +01:00
mix c7dba755b1 Skip viewport in map animation invalidation if over max zoom 2025-06-13 21:13:34 +01:00
mix aed3a9cb3b Prevent scrolling text map animations invalidating when not drawn 2025-06-13 21:13:34 +01:00
mix d6d44f05b9 Raise map animation invalidation max zoom to 2 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 89f349f6e8 Change MapAnimations::MarkTileForInvalidation parameter to TileCoordsXY 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 dd3e62b56e Pass viewport as pointer in map animations 2025-06-13 21:13:33 +01:00
mix 7100c6b476 Don't update map animations on ticks where nothing is updated 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 17d321103f Don't invalidate temporary map animation if not in view 2025-06-13 21:13:33 +01:00
mix 8a5145678c Pass viewport through map animation invalidation functions 2025-06-13 21:13:33 +01:00
mix d5bd92c483 Prevent scenery clocks from invalidating every frame 2025-06-13 21:13:33 +01:00
mix bfe150f249 Move update all temporary map animations to own function 2025-06-13 21:13:33 +01:00
mix 78c2b85b1d Rename MapAnimation namespace to MapAnimations 2025-06-13 21:13:33 +01:00
mix d847c37fc8 Calculate visible animated tiles by tile position 2025-06-13 21:13:33 +01:00