Commit Graph
21078 Commits
Author SHA1 Message Date
Michael Steenbeek 01cd900a1c Eliminate Loc6DAEB9 (#22899) 2024-10-04 13:49:21 +02:00
AT41andTulio Leao 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
AndrewandX123M3-256 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
kendfreyandTulio Leao 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
DuncanandTulio Leao 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 ZhouandTulio Leao 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-millsandTulio Leao 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