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

21088 Commits

Author SHA1 Message Date
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
Sjoerd de Bruin
1dead6a4c8 Fix #22880: macOS builds lack asset packs and scenario patches (#22881)
* Fix #22880: macOS builds lack asset packs and scenario patches

* Be sure to copy assetpack folder

* Add changelog entry
2024-10-02 06:40:18 +02:00
Duncan
e157a843f0 Large scenery object tiles for scripting (#22842)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-01 21:02:46 -03:00
mrmbernardi
1719bbdfb7 Fix deadzone when panning while zoomed in. (#22877) 2024-10-01 23:48:08 +10:00
Michael Steenbeek
ffad32ee8c Refactor enabling of covered pieces 2024-10-01 14:04:44 +02:00
jason-mills
c53404ddf9 Part of #21421: Update Drawing.h with new constant notation (#22864) 2024-10-01 06:07:25 -03:00
mix
dc0b0bdbcb Fix Side-Friction train appearing through slopes (#22857) 2024-09-30 22:27:34 +02:00
Matt
8698a65afd Merge pull request #22866 from ZehMatt/pathfinding-cleanup-2
Refactor work for pathfinding
2024-09-30 22:46:59 +03:00
ζeh Matt
763e9968cf Refactor FootpathIsZAndDirectionValid and its uses, more constness 2024-09-30 22:31:13 +03:00
ζeh Matt
3755f3a6d1 Remove two more globals, pass them as arguments 2024-09-30 22:31:13 +03:00
ζeh Matt
bc1f2f62cf Rename IsValidPathZAndDirection and move to more appropriate place 2024-09-30 22:31:12 +03:00
ζeh Matt
fdff60552b Reduce memory footprint for history, cleanup code 2024-09-30 22:31:12 +03:00
ζeh Matt
96b6d3412f Eliminate global variables, pass state to PeepPathfindHeuristicSearch 2024-09-30 22:31:12 +03:00
Harry Hopkinson
e3dc02441a Close #22470: Set default paths for rct1/rct2 saves on Android 2024-09-29 11:06:05 +00:00
Duncan
4c7d5e70c7 Use the real z location for remove actions 2024-09-29 13:02:14 +02:00
Tulio Leao
487806c2c8 Implement what() for existing exceptions (#22845) 2024-09-28 14:42:39 -03:00
Arnold Zhou
c161a3911a Fix #22072: Localisation: Separate objective date string from staff tenure date string (#22074)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-09-28 15:13:48 +00:00
lewyche
ce7e501607 Close #22494: Split theme transparency checkbox to column 2024-09-28 15:22:07 +02:00
Michael Steenbeek
018d9be3ae Create Vehicle::IsOnCoveredTrack() (#22843)
In the future, the duplicate covered pieces will be removed and vehicles and track elements will just have a flag to mark them as “covered”. This eases this transition.
2024-09-28 15:03:38 +02:00
jason-mills
09b66e9075 Part of #21421: Update FontFamilies.h, audio.h with new constant notation (#22838)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-09-28 07:01:10 -03:00
Duncan
11610d9bbe Fix building debug (#22840)
ssizet is a non-standard POSIX addition
2024-09-28 14:53:59 +10:00
Michael Steenbeek
5c29967d61 Use FlagHolder for lift+inverted flags (#22839) 2024-09-27 22:51:04 -03:00
Aaron van Geffen
ae299c09a8 Merge pull request #22694 from mrmbernardi/park-graphs-upgrade
Park graphs upgrade
2024-09-26 23:18:59 +02:00
Aaron van Geffen
978f38fdd5 Fix calculating wide path status (#22827)
* Fix calculating wide path status

* Increment kNetworkStreamVersion

* Add comment regarding excluded tile ratio

* Add changelog entry
2024-09-26 21:15:21 +00:00
Michael Bernardi
fbf95075f7 Bump PARK_FILE_MIN_VERSION 2024-09-27 04:41:54 +10:00
Michael Bernardi
611cc35fc4 Add resize and tooltips to park graphs
# Conflicts:
#	src/openrct2-ui/interface/Graph.cpp
2024-09-27 04:32:33 +10:00
Michael Bernardi
ab558c931a Increase park rating history size from 8 bits to 16 bits 2024-09-27 04:32:33 +10:00
Michael Bernardi
09fa68a803 Revert DPI accessors 2024-09-27 02:50:50 +10:00
Michael Bernardi
570e1efc8c OpenGL drawing now uses new coordinates 2024-09-27 00:07:40 +10:00
Michael Bernardi
914ff59b3b Line drawing algorithms now use screen coords 2024-09-27 00:07:40 +10:00