1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

21062 Commits

Author SHA1 Message Date
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
Harry Hopkinson
d34f17c945 Refactor Colour.h constants to kCamelCase 2024-09-24 20:42:44 +00:00
Harry Hopkinson
0b77287370 Refactor SceneryGroupObject.cpp constants 2024-09-24 20:42:13 +00:00
Harry Hopkinson
92e74e55b4 Refactor Park.h constants to kCamelCase 2024-09-24 20:41:41 +00:00
Harry Hopkinson
e5f66ad553 Refactor ShortcutIds.h constants to kCamelCase 2024-09-24 20:41:04 +00:00
Michael Steenbeek
d6a7697622 Refactor _currentTrackHasLiftHill to bool 2024-09-23 21:24:43 +00:00
Aaron van Geffen
9231870f6d Fix typo in constant STR_ERROR_HEIGHT_MAP_TOO_BIG 2024-09-23 15:07:15 +02:00
Aaron van Geffen
717501c646 Make smooth strength field clickable 2024-09-23 14:55:04 +02:00
Aaron van Geffen
0abfce9ba6 Show current height map image file in window 2024-09-23 14:49:52 +02:00
Aaron van Geffen
297be375fb Disable widgets for irrelevant options in flatland terrain mode
This disables the smooth tile edges, max terrain height, and max forest height widgets.
2024-09-23 14:17:04 +02:00