1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

27152 Commits

Author SHA1 Message Date
Duncan
236f4afbd7 Fix default supports for large scenery (#23014) 2024-10-17 20:19:06 +00:00
Aaron van Geffen
0c842d795e Fix .sea files not being listed in scenario index (#23013) 2024-10-17 21:27:25 +02:00
Michael Steenbeek
2c7c9a5e05 Add #23010 to changelog
[ci skip]
2024-10-17 14:17:10 +02:00
Michael Steenbeek
5ec1b5bf9d Compile AppImage with Ubuntu 22.04 + Clang 15 2024-10-17 12:41:20 +02:00
Duncan
f6582647f5 Large scenery tiles 2 (#22888)
* Use std::span for tiles

* Add an index helper parameter

* Use coordsxyz

* Split up corners and walls

* Use bools for the two flags

* Apply coding style

* Refer only to LargeSceneryObject where required

* Address comments
2024-10-16 22:35:29 +01:00
Michael Steenbeek
8063c5caa7 Reduce casting for objects 2024-10-16 14:12:25 +02:00
Duncan
5934dc6380 Remove void* obj from RideEntry 2024-10-16 10:50:38 +02:00
mrmbernardi
9eb6ee2417 Fix UB from unaligned load of RLE line offsets 2024-10-15 22:03:38 +02:00
Michael Steenbeek
a2ed026264 Split up remaining tile elements 2024-10-15 22:02:31 +02:00
Michael Steenbeek
366d6a51dd Merge pull request #23001 from Gymnasiast/refactor/remove-more-unused
Remove more unused functions
2024-10-15 19:26:48 +02:00
Gymnasiast
66c1ddde91 Remove two unused functions from MemoryStream 2024-10-15 17:47:45 +02:00
Gymnasiast
2599432b95 Remove unused Memory.hpp array functions 2024-10-15 17:44:41 +02:00
Gymnasiast
449d884434 Remove unused Collections::ToArray() 2024-10-15 17:43:05 +02:00
Michael Steenbeek
0ec76e09d4 Remove unused IStream::ReadString() function and fix includes 2024-10-15 17:39:54 +02:00
Michael Steenbeek
1ccef10b19 Fix #22633: Crash when drawing loading screen with an outdated g2.dat 2024-10-15 14:01:46 +00:00
Michael Steenbeek
8a9d5edc2d Fix #22615: Crash when drawing Space Rings with invalid ride entry 2024-10-15 15:50:42 +02:00
mrmbernardi
aea385a6ab Fix PatrolArea and AudioSource memory leaks (#22992) 2024-10-15 12:16:56 +00:00
mrmbernardi
498a2e349b CMake option to turn on the AddressSanitizer (#22985) 2024-10-15 11:11:47 +02:00
OpenRCT2 git bot
ff07f09fe7 Merge Localisation/master into OpenRCT2/develop 2024-10-15 04:02:18 +00:00
Michael Steenbeek
71ce725a2a Split off BannerElement and TrackElement (#22955) 2024-10-14 14:26:10 +02:00
Michael Steenbeek
2e877aa581 Eliminate Loc6DBF3E 2024-10-14 08:13:08 +02:00
Aaron van Geffen
af7a2de72c Fix fuzzy horizontal-to-vertical line transitions in charts (#22962)
* Fix drawLine being off by one in horizontal-to-vertical transitions

* Rename no_pixels local to length

* Amend changelog
2024-10-12 22:49:19 +02:00
Matt
3792159196 Merge pull request #22836 from ZehMatt/spatial-index
Refactor spatial indexing to be its own phase
2024-10-12 16:33:37 +03:00
ζeh Matt
5bbed4adc2 Update replay 2024-10-12 05:00:23 +03:00
ζeh Matt
698a6491fc Ensure the spatial index invalidates when moving the entity position 2024-10-12 04:57:19 +03:00
ζeh Matt
6a90e91237 Bump up network version 2024-10-12 04:18:41 +03:00
ζeh Matt
92ac65720a Remove comment 2024-10-12 04:17:17 +03:00
ζeh Matt
551a6b5275 Move the call to UpdateEntitiesSpatialIndex to more appropriate places 2024-10-12 04:17:17 +03:00
ζeh Matt
eda0a75fb8 Code style changes 2024-10-12 04:17:17 +03:00
ζeh Matt
dfb053e286 Only iterate over active entities 2024-10-12 04:17:17 +03:00
ζeh Matt
2666a9937e Refactor the spatial indexing into a separate phase 2024-10-12 04:17:17 +03:00
Mathias Gibbens
2c9509f988 Add Linux searchable paths created by game-data-packager
With the changes in #22819, it seems reasonable to add a couple of
default searchable paths for Linux that are created by the
`game-data-packager` utility, available in Debian and its various
derivatives.

Signed-off-by: Mathias Gibbens <gibmat@debian.org>
2024-10-11 19:37:12 +00:00
Michael Steenbeek
52b70703af Turn TrackElemType into a strong enum 2024-10-11 13:30:27 +00:00
Michael Steenbeek
121d1ff12e Merge pull request #22928 from Gymnasiast/refactor/mini-golf-goto
Clean up Mini Golf vehicle code
2024-10-09 23:11:33 +02:00
OpenRCT2 git bot
484732d735 Merge Localisation/master into OpenRCT2/develop 2024-10-08 04:02:09 +00:00
Gymnasiast
9bdbeaf563 Mini golf vehicle code: remove more flag checks that are never set 2024-10-07 22:50:34 +02:00
Gymnasiast
7694195db7 Mini golf vehicle code: remove ifs that are always true 2024-10-07 22:50:34 +02:00
Gymnasiast
717622ed01 Cut out Mini Golf inverted code 2024-10-07 22:50:34 +02:00
Gymnasiast
98992ea616 Extract UpdateTrackMotionMiniGolfFlagsStatus() 2024-10-07 22:23:13 +02:00
Michael Steenbeek
f1c625925f Merge pull request #22897 from duncanspumpkin/wallElement
Separate Wall Element Header/Source
2024-10-07 22:19:19 +02:00
duncanspumpkin
1cdcbba655 Move wall declarations into wall.h 2024-10-07 22:04:13 +02:00
duncanspumpkin
6283993351 Move WallElement into its own header/source files 2024-10-07 22:04:13 +02:00
mrmbernardi
1172016264 Fix zooming with keyboard moving the view off centre 2024-10-07 21:46:09 +02:00
mix
85863f000a Fix Wooden RC flat to steep rails drawing order (#22921) 2024-10-07 08:06:22 +02:00
Michał Janiszewski
aef3be1779 Start v0.4.16 2024-10-06 22:13:37 +02:00
Michał Janiszewski
c3341965fa Merge branch 'master' into develop 2024-10-06 22:12:56 +02:00
Michał Janiszewski
c7c8fad822 Release v0.4.15
- Feature: [#775] Add 2x and 4x zoom levels to software renderer (previously limited to OpenGL).
- Feature: [#15642] Track design placement can now use construction modifier keys (ctrl/shift).
- Feature: [#20539] [Plugin] Add API for getting a ride’s statistics.
- Feature: [#21521] [Plugin] Add hook 'park.guest.softcap.calculate' called before calculating the soft guest cap.
- Feature: [#22383] Add downward-inclined brakes to hybrid coaster and single rail coaster.
- Feature: [#22694] Park graphs have tooltips and can be resized like finance graphs.
- Feature: [#22758] The table of ‘real’ peep names can now be changed using Peep Names objects.
- Feature: [#22842] [Plugin] Expose large scenery object tiles to the plugin API.
- Feature: [#22883] [Plugin] Add plugin API for spawning guests.
- Improved: [#22470] Android: automatically detect RCT2 installs in /sdcard/rct2.
- Improved: [#22735] The map generator has a redesigned interface that is much more user friendly.
- Improved: [#22777] Add long flat-to-steep track pieces to the Wooden and Classic Wooden Roller Coasters.
- Improved: [#22815] Add long flat-to-steep track pieces to the Mine Train Coaster.
- Change: [#22494] Themes window now displays colours and checkboxes vertically.
- Change: [#22596] Land ownership fixes described by .parkpatch files are now only considered on scenarios.
- Change: [#22724] Staff now have optional ‘real’ names as well.
- Change: [#22740] Add virtual floor to shifted track design placement.
- Change: [#22795] Replace Giga Coaster and Twister Roller Coaster booster images.
- Fix: [#2614] The colour tab of the ride window does not hide invisible cars (original bug).
- Fix: [#7672] Wide path status is set to all ‘wide’ paths, instead of only a quarter, impeding pathfinding.
- Fix: [#15406] Tunnels on steep Side-Friction track are drawn too low.
- Fix: [#21959] “Save this before...?” message does not appear when selecting “New Game”.
- Fix: [#22072] Objective date string and staff tenure date string cannot be reused on agglutinative languages.
- Fix: [#22133] Ride time is incorrect for extremely slow speeds.
- Fix: [#22231] Invalid object version can cause a crash.
- Fix: [#22479] Crash when a ride has no valid music object.
- Fix: [#22562] Bottom row of pixels is not always drawn by the OpenGL renderer when zoomed in.
- Fix: [#22653] Missing water tiles in RCT1 and RCT2 scenarios.
- Fix: [#22654] Misplaced scenario elements in RCT1 and RCT2 scenarios.
- Fix: [#22655] Incorrectly set surface style around missing water tiles on Botany Breakers.
- Fix: [#22729] Invisibility settings persist after reloading OpenRCT2.
- Fix: [#22734] Support clearance above steep Side-Friction track is too low.
- Fix: [#22774] Fix entities leaving stale pixels on the screen when the framerate is uncapped.
- Fix: [#22805] Fix deadzone when panning the view in positive axis directions.
- Fix: [#22808] Incorrect support rotation on some Mini Roller Coaster track pieces.
- Fix: [#22857] Side-Friction Roller Coaster train clips through slopes.
- Fix: [#22880] macOS builds lack asset packs and scenario patches.
- Fix: [#22891] [Plugin] getInstalledObject API function not implemented.
- Fix: [objects#346] Invalid refund price for Brick Base Block scenery item.
v0.4.15
2024-10-06 16:35:07 +02:00
Michał Janiszewski
b2389d3ec0 Merge branch 'develop' 2024-10-06 16:29:11 +02:00
Michał Janiszewski
b61861c006 Create release and upload artefacts for tags (#22915) 2024-10-06 16:24:44 +02:00
Michał Janiszewski
2d217de178 Fix #22913: Update backtrace.io token for v0.4.15 2024-10-06 15:21:33 +02:00