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

21010 Commits

Author SHA1 Message Date
ζ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
Michael Steenbeek
5c0fba9a41 Merge pull request #22802 from Gymnasiast/fix/transparency-options-for-real-this-time
Revert transparency option fixes that... weren’t
2024-09-22 22:14:19 +02:00
Aaron van Geffen
30fa3128a6 Merge pull request #22812 from AaronVanGeffen/name-peep-var
Rename Peep properties to better distinguish Actions and Animations
2024-09-22 21:47:10 +02:00
Michael Steenbeek
a53784551b Move _legacy.cpp contents to UI project (#22811) 2024-09-22 21:00:52 +02:00
Gymnasiast
a85c140e35 Revert "Fix #21123: Transparency options are not respected on startup (#22659)"
This reverts commit c54e25c1d4.
2024-09-22 19:56:02 +02:00
Gymnasiast
f1ca888897 Revert "Don't apply viewport flags on title scene (#22670)"
This reverts commit 032874c80d.
2024-09-22 19:56:02 +02:00
Gymnasiast
78e12b9684 Revert "Revert 9e1b24d"
This reverts commit 06302f7f06.
2024-09-22 19:56:02 +02:00
Gymnasiast
69b033cf92 Revert "Improve consistency of toggling transparency options"
This reverts commit be1153b28a.
2024-09-22 19:56:02 +02:00
Gymnasiast
fe6397c88c Revert "Fix #22672: Loud sound effects on title screen"
This reverts commit 4d2efa0edc.
2024-09-22 19:56:02 +02:00
Aaron van Geffen
584f6b8661 Rename Peep::SpriteType to AnimationGroup 2024-09-22 16:54:33 +02:00