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

27140 Commits

Author SHA1 Message Date
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
OpenRCT2 git bot
ab0f3c6184 Merge Localisation/master into OpenRCT2/develop 2024-10-06 04:02:14 +00:00
Michał Janiszewski
20d4211633 Fix #22737: Strip debug info from libopenrct2.so (#22910)
This is intended as an intermediate fix until we roll out changes to our
infrastructure to upload releases all within github to our dedicated
binaries repository

On my system libopenrct2.so size before stripping: 73 MB, after: 14 MB
2024-10-05 23:19:15 +00:00
Michael Steenbeek
5fd76fa62b Fix #22876: Cannot build entrance for second Lift station 2024-10-06 00:32:18 +02:00
Tulio Leao
4404415aec Fix #22891: getInstalledObject API function not implemented 2024-10-05 09:35:21 +00:00
Michael Steenbeek
67bd28018b Merge pull request #22898 from Gymnasiast/refactor/more-tile-element
Split off TileElementBase and QuarterTile
2024-10-05 11:17:13 +02:00
Gymnasiast
892f05f046 Make both QuarterTile constructors constexpr 2024-10-05 11:04:11 +02:00
Gymnasiast
20173f22a1 Split off QuarterTile 2024-10-05 11:04:11 +02:00
Gymnasiast
efe0c11784 Move all TileElementBase functions to TileElementBase.cpp 2024-10-05 11:04:11 +02:00
Gymnasiast
fc33dd3dff Move all TileElementBase::As...() functions to .cpp 2024-10-05 10:43:07 +02:00
Michael Steenbeek
01cd900a1c Eliminate Loc6DAEB9 (#22899) 2024-10-04 13:49:21 +02:00
Michał Janiszewski
99d9adc9b2 Fix filename for symbols upload (#22900) 2024-10-03 19:33:22 -03:00
AT41
6e7b489304 Added additional stats to Plugin interface
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-03 11:23:50 +00:00