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

21117 Commits

Author SHA1 Message Date
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
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
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
ζ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
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
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
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.
2024-10-06 16:35:07 +02:00
Michał Janiszewski
2d217de178 Fix #22913: Update backtrace.io token for v0.4.15 2024-10-06 15:21:33 +02: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
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
AT41
6e7b489304 Added additional stats to Plugin interface
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-03 11:23:50 +00:00
Michael Steenbeek
673d14b247 Merge pull request #22386 from mrmbernardi/format
Apply check-code-formatting changes
2024-10-03 13:21:45 +02:00
Michael Steenbeek
355659c442 Bump network version 2024-10-03 13:20:57 +02:00
Michael Steenbeek
e6e0f97557 Split off EntranceElement header 2024-10-03 12:42:53 +02:00
Andrew
5f1f925116 Add downward-inclined brakes to hybrid coaster and single rail coaster
Co-authored-by: X123M3-256 <X123M3-256@users.noreply.github.com>
2024-10-03 12:42:36 +02:00
Michael Steenbeek
b12b2b97c1 Fix #22808: Incorrect support rotation on Mini RC 2024-10-03 12:23:27 +02:00
Michael Bernardi
01c1b1f06c Replace CommandLine.hpp macros with constant functions and variables. 2024-10-03 11:23:31 +10:00
Michael Bernardi
0333a8e362 Replace SCROLL_POS macro with consteval function. 2024-10-03 11:03:41 +10:00
Michael Bernardi
f110ea14f5 Apply check-code-formatting changes 2024-10-03 10:49:25 +10:00
kendfrey
307523610e Add Park.generateGuest() to plugin API (#22883)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-02 06:49:43 -03:00