1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

19663 Commits

Author SHA1 Message Date
Gymnasiast
5caab670ce Add additional transition types 2023-11-17 23:19:23 +01:00
Gymnasiast
6421680e4e Further consolidate support calls on the heartline roll 2023-11-17 23:15:49 +01:00
Gymnasiast
9d903efb08 Update and consolidate supports calls in HLTC 2023-11-17 23:15:49 +01:00
Ted John
18dec7d5c5 Merge pull request #20969 from Gymnasiast/refactor/more-wooden-supports
Replace usages of old WoodenBSupportsSetup() overload
2023-11-17 17:59:17 +00:00
HtotheTML
42deffd5bb Fix #17774: gaps and errors in park boundaries and construction rights for RCT1 and RCT2 scenarios (#19657)
* Update S6Importer.cpp

* clang format error. Added changelog entry.

* Update S6Importer.cpp

* Added fixes for RCT1 scenarios

The issues in Katie's Dreamland, Utopia Park, Urban Park, Pleasure Island, and Fort Anachronism listed in issue #17774 have been now dealt with.

* Added land for Cradle's underwater path.

* Update changelog.txt

* Updated changelog.

* specify text for path fix in Cradle

* Update S6Importer.cpp

* More missing tiles in Coastal Reclaim & Salvage

* Update S6Importer.cpp

* Update S6Importer.cpp

* missed tile in stone age

* Classic compatibility

Added edit compatibility for classic scenarios on rct2 maps.

* Update changelog.txt

* Update S6Importer.cpp

* Update S6Importer.cpp

* Update S6Importer.cpp

* Fun At The Beach

Fixed errant tiles in Fun at the Beach.

* Update S6Importer.cpp

* Update S6Importer.cpp

* Extreme Heights Fix

missing tiles along edge of Extreme Heights park boundary; should run to 1 tile from the edge of the map almost all the way around.

* Final Set of Changes

Did a quick run-through of all the maps looking for any possible missed spots. I did find a series of spots, some clearly meant to be owned, and others that I'm a bit less than sure about. For now, I've commented out the spots that I don't feel are strictly necessary to have included, while the remaining ones I feel are necessary.

* Update S4Importer.cpp

* add optional fixes

un-commented the extra changes; they are now included.

* Update changelog.txt

* fix clang format error

* Update changelog.txt

* Update S6Importer.cpp

OOB underground path

* Update S6Importer.cpp

* Update S6Importer.cpp

* above runaway plumber gaps

* Update changelog.txt
2023-11-17 08:23:05 -03:00
Kostadin
11c46987ae Add #include <algorithm> to fix building with gcc 14 (#20981)
With gcc 14 some C++ Standard Library headers have been changed to no
longer include other headers that were used internally by the library.
In OpenRCT2's case it is the <algorithm> header.

Downstream Gentoo bug: https://bugs.gentoo.org/917016

GCC 14 porting guide: https://gcc.gnu.org/gcc-14/porting_to.html#header-dep-changes

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
2023-11-16 21:26:05 +01:00
Michael Steenbeek
f8d71fcc2f Fix #20253, #20799, #20841, #20903, #20915: Crash when displaying a Lay-Down RC’s half loop (#20968)
* Fix #20253: Crash when displaying a Lay-Down RC’s half loop

* Bump network version
2023-11-15 23:36:14 -03:00
Gymnasiast
d0fe45048b Make old WoodenBSupportsPaintSetup() overload static 2023-11-14 20:30:49 +01:00
Gymnasiast
fd0b90a049 Consolidate WoodenBSupportsPaintSetup() calls in WoodenRollerCoaster.cpp 2023-11-14 20:30:49 +01:00
Gymnasiast
76a8ef55d3 Use new WoodenBSupportsPaintSetup() overloads in WoodenRollerCoaster.cpp 2023-11-14 20:30:49 +01:00
Gymnasiast
9cd04f2016 Use WoodenBSupportsPaintSetupRotated() in HybridCoaster.cpp 2023-11-14 20:30:49 +01:00
Gymnasiast
666b60ccee Consolidate WoodenBSupportsPaintSetup() calls in Side-Friction RC 2023-11-14 20:30:34 +01:00
Gymnasiast
e6c7c4d977 Use new WoodenBSupportsPaintSetup() overloads in Side-Friction RC 2023-11-14 20:30:21 +01:00
Gymnasiast
ff70e0e1e7 Use new WoodenBSupportsPaintSetup() overloads in MiniatureRailway.cpp 2023-11-14 20:30:10 +01:00
Gymnasiast
7f458f5b46 Call WoodenA/B functions directly in MiniatureRailway.cpp 2023-11-14 20:30:10 +01:00
Gymnasiast
f47cfa79c0 Use WoodenBSupportsSetupRotated() for scenery supports drawing 2023-11-14 20:30:09 +01:00
Fredrik Tegnell
af7086e283 Close #12078: Add shortcut key for sloping walls (#20860)
* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Close OpenRCT2/OpenRCT2#12078: New shortcut key for sloping walls

* Apply code formatting fixes

* Apply code formatting fixes

* Apply modulus operator to make code more concise

* Change string ID

* Apply code formatting fix

* Apply code formatting fix
2023-11-12 08:10:56 -03:00
KawkMob
135c8b9f9b Fix #20747: handle staff speed permanency/serialization/apply for new staff (#20756) 2023-11-12 08:06:51 -03:00
Maciek
d6a481b066 Close #20881: Replace monorail_diag_blocked_segments with DiagBlockedSegments (#20961)
Removed monorail_diag_blocked_segments. Replaced the references with DiagBlockedSegments.
2023-11-12 08:04:25 -03:00
ζeh Matt
37cdc40799 Fix #20964: Crash when invalid network group id is used 2023-11-11 18:59:46 +02:00
mrmbernardi
e914ffedaf Fix #20944: Add cstdint to EnumMap and EntryList (#20945) 2023-11-04 19:55:35 +00:00
Gymnasiast
56933d3cdc Bump network version 2023-11-02 22:40:35 +01:00
Gymnasiast
6d87e3e56d Make remove_park_fences multiplayer-safe 2023-11-02 22:40:11 +01:00
Michał Janiszewski
78f4860bfe Update Android project to use more recent tools
Tested manually on my Android 13 device
2023-10-30 23:20:49 +01:00
AuraSpecs
f1bcbd97c2 Allow vertical pieces on the giga when vehicle allows (#20802)
* Allow vertical pieces on the giga when drawable

* Update NetworkBase.cpp

* Re-Add Diag Brakes

seem to have gotten lost with rebasing.
2023-10-30 20:44:06 +00:00
Gymnasiast
d88abab74b Move MetalSupportTypeCount to Supports.cpp 2023-10-25 19:43:35 +02:00
Gymnasiast
3b074be920 Confine RotatedMetalSupports to Supports.cpp 2023-10-25 19:43:34 +02:00
Gymnasiast
2d16df1072 Create TrackPaintUtilOnridePhotoPlatformPaint() 2023-10-25 19:43:34 +02:00
Gymnasiast
0e5c413385 Merge TrackPaintUtilDrawStationMetalSupports() and ...2() 2023-10-25 19:43:28 +02:00
Gymnasiast
4ee088e27d Also include the thick supports in RotatedMetalSupports 2023-10-25 19:37:49 +02:00
Gymnasiast
7cf75ab11d Use common method for station/on-ride supports 2023-10-25 19:37:49 +02:00
ζeh Matt
897579b5de Print a warning if there is a disagreement with the imported data 2023-10-20 15:02:28 +03:00
ζeh Matt
b43af1cf14 Remove obsolete code in s4 importer 2023-10-20 14:28:10 +03:00
ζeh Matt
37bc7238e6 Remove unnecessary scope 2023-10-20 14:27:02 +03:00
ζeh Matt
4e7587db13 Re-calculate the amount of guests heading to the park on import 2023-10-20 14:26:30 +03:00
ζeh Matt
a45d72f562 Extract functions out of GameFixSaveVars 2023-10-20 14:22:14 +03:00
Michael Steenbeek
3f5be95972 Use strong enum for metal support placement (#20855)
Co-authored-by: tupaschoal <tupaschoal@noreply.github.com>
2023-10-18 06:09:44 -03:00
Michał Janiszewski
929e2e5790 Let gradle use 4GB 2023-10-17 23:55:31 +02:00
Michał Janiszewski
beb28ff32a Properly initialize class loader on Android
https://github.com/OpenRCT2/OpenRCT2/pull/20502 changed how startup is
handled. This affected Android as well and changed AndroidClassLoader to
be initialized statically, but this turns out to be problematic due to
JVM not being fully initialized in our context by this time.

To fix this, move AndroidClassLoader initialization to JNI_OnLoad call,
where JVM is fully available.

Additionally, guard against multiple calls to JNI_OnLoad, an issue
present on Linux-like systems (including Android).
2023-10-17 23:55:31 +02:00
mawjMobi
519421d3a3 Ref: #11159 Reduce malloc() and free() usage (#20872) 2023-10-17 08:51:52 +01:00
Matt
c2fe9ef96a Filter certain game actions from being used in the replay system (#20886) 2023-10-15 07:22:00 +01:00
AuraSpecs
88608e0b7e Fix 20866: Boosters for the Mini and B&M track are swapped (#20867)
* Fix 20866: Boosters are swapped

* Update sprites.h

* Bump network version
2023-10-12 07:58:49 +01:00
Silent
6bc6b63ed4 Fix #18199: Dots in the game save's name get truncated (#20691) 2023-10-11 21:45:43 +01:00
Matt
f773adc508 Merge pull request #19919 from spacek531/track/diagonal-brakes
Diagonal brakes and block brakes
2023-10-10 02:39:09 +03:00
Spacek531
85810708b3 bump parkfile min version 2023-10-09 10:27:06 -07:00
Duncan
b9c7637c83 Fix #20807: Copy the tertiary colour with the scenery eye dropper (#20820)
* Fix #20807: Copy the tertiary colour with the scenery eye dropper

* Add changelog entry and fix order of entries
2023-10-09 05:46:09 -03:00
Vlad Rakhmanin
177061ba1d Close #19455: Factor out hardcoded constants in EditorObjectiveOptions (#20857) 2023-10-08 15:17:06 -03:00
ζeh Matt
0ffbd65576 Bump plugin API version 2023-10-08 02:30:55 +03:00
ζeh Matt
b4376ab590 Add owner property to tile elements for scripting 2023-10-08 02:30:43 +03:00
fidwell
17489be61b Removed redundant code 2023-10-07 10:36:47 -04:00