1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00
Commit Graph

21071 Commits

Author SHA1 Message Date
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
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
Michael Bernardi
88856ed5a1 Added code to magnify masked sprites. 2024-09-27 00:07:40 +10:00
Michael Bernardi
c9144494ea Fix edges of some RLE sprites not drawing when minified 2024-09-27 00:07:40 +10:00
Michael Bernardi
cea971790f Fix weather gloom 2024-09-27 00:07:40 +10:00
Michael Bernardi
8875c75461 Fix tweener leaving stale pixels on screen 2024-09-27 00:07:40 +10:00
Michael Bernardi
970848539d Cull sprites and invalidate viewports in screen coordinates 2024-09-27 00:07:40 +10:00
Michael Bernardi
cf9e4ae0f3 Rewrite ViewportRedrawAfterShift to avoid copying Viewport 2024-09-27 00:07:40 +10:00
Michael Bernardi
8cc53324b6 Remove view width and height from Viewport struct 2024-09-27 00:07:40 +10:00
Michael Bernardi
f64ef9488d Rewrite software sprite drawing to handle new DPI coords 2024-09-27 00:07:40 +10:00
Michael Bernardi
8212c83965 Rewrite ViewportPaint to handle new DPI coords 2024-09-27 00:07:40 +10:00
Michael Bernardi
4cd5548352 Refactor DPI to distinguish screen and world coords 2024-09-27 00:07:40 +10:00
Michael Bernardi
68daa0d735 Debugging code 2024-09-27 00:07:40 +10:00
Aaron van Geffen
81b759e74e Use different name table offset depending on staff type (#22813) 2024-09-25 16:03:42 +00:00
Michael Steenbeek
04bdff052f Use FlagHolder for _currentTrackAlternative 2024-09-25 14:29:39 +02:00
Michael Steenbeek
cdc298e667 Merge pull request #22822 from Harry-Hopkinson/refactor-constexpr-kCamelCase
Refactor constexpr to use kCamelCase.
2024-09-25 14:17:37 +02:00
mrmbernardi
10699a204c Workaround warning produced in gcc 14.2.1 20240910 (#22823) 2024-09-25 18:15:53 +10:00
Harry Hopkinson
fd750130ec Refactor ShortCutIds.h constants to kCamelCase 2024-09-24 20:43:27 +00:00
Harry Hopkinson
2fe36661ab Refactor Limits.h constants to kCamelCase 2024-09-24 20:43:18 +00:00