Commit Graph

25409 Commits

Author SHA1 Message Date
MichaelJBerk
15fcaffc91 Activate OpenRCT2 window after using native file dialog on macOS (#20951) 2024-01-12 12:01:57 +01:00
Michael Steenbeek
0e5c82e2d4 Close #18632: Display land ownership on the water (#21150)
Co-authored-by: pfroud <pfroud@users.noreply.github.com>
2024-01-12 07:14:11 +00:00
Michael Steenbeek
3023784bbf Merge pull request #21164 from Gymnasiast/refactor/td-entrance-elements
Import maze entrances in the same way as regular ones
2024-01-12 08:10:00 +01:00
Matt
cde2a43d32 Merge pull request #21181 from ZehMatt/paint-surface-copy
Remove obsolete copy of TileDescriptor, refactor code slightly
2024-01-12 02:52:57 +02:00
Gymnasiast
5593eca03d Import maze entrances in the same way as regular ones 2024-01-11 22:49:40 +01:00
Gymnasiast
a6c0c7dd79 Move TD6 track flags to RCT12.h 2024-01-11 22:26:06 +01:00
HtotheTML
50cf1aed67 Fix Inca Lost City’s scenario description
The scenario Inca Lost City from the Wacky Worlds expansion states that there are height restrictions. Since there aren't, I've removed the corresponding text.
2024-01-11 21:17:58 +00:00
ζeh Matt
e12eaa48d4 Remove obsolete copy of TileDescriptor, refactor code slightly 2024-01-11 20:51:58 +02:00
Matt
ce0cc9fc84 Merge pull request #21162 from ZehMatt/fix-intervals
Fix #21145, #21158: Keep handles for intervals stable and resolve crash
2024-01-11 20:30:30 +02:00
ζeh Matt
6eea65fac7 Make the compiler happy 2024-01-11 19:45:07 +02:00
ζeh Matt
88a0e4b8d4 Apply review suggestions, remove redundant comment 2024-01-11 17:34:32 +02:00
Michael Steenbeek
f4956f5cdb Merge pull request #21109 from Gymnasiast/feature/wider-construction-window
Allow for building roller coasters with all 4 curve types
2024-01-11 11:14:46 +01:00
OpenRCT2 git bot
872b28c8d8 Merge Localisation/master into OpenRCT2/develop 2024-01-07 04:01:46 +00:00
Matt
c137d20a0b Merge pull request #21163 from fidwell/plugin-api-SmallSceneryPlaceArgs
Plugin documentation: Added missing required field to SmallSceneryPlaceArgs
2024-01-06 20:02:45 +02:00
Andrew
2768716238 Added missing required field to SmallSceneryPlaceArgs 2024-01-06 11:28:00 -05:00
Michael Steenbeek
adadaafdb0 Check station flags instead of hardcoded legacy IDs
PR #20483 introduced a check for covered stations, but incorrectly checked the RCT2 IDs.
This commit replaces this check with a proper flag check, which will work for any station style, including custom ones.
2024-01-06 14:46:17 +01:00
Michael Steenbeek
ba585f4474 Merge pull request #21085 from Gymnasiast/refactor/td-entrance-elements-2
TrackDesign: Refactor entrances and constants
2024-01-06 11:43:26 +01:00
ζeh Matt
c7a716e050 Update changelog.txt 2024-01-06 10:42:17 +02:00
ζeh Matt
8bcd409fb0 Fix #21145, #21158: Keep handles for intervals stable and resolve crash 2024-01-06 10:42:17 +02:00
Michał Janiszewski
296e8cdb16 Merge pull request #21140 from ConiKost/musl
* src/openrct2/core/FileStream.cpp: drop ftello64, fseeko64

The static usage definition of ftello64 and friends is not correct.
While this currently works on glibc, this breaks on musl, as musl
already is LFS aware. The solution is to drop this and add instead
'-D_FILE_OFFSET_BITS=64' to the build system.

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

* CMakeLists.txt: add D_FILE_OFFSET_BITS=64

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
2024-01-04 22:03:44 +01:00
Conrad Kostecki
7c638c7865 CMakeLists.txt: add D_FILE_OFFSET_BITS=64
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
2024-01-04 21:45:25 +01:00
Gymnasiast
7df3b22e14 Move conversion of station object to TD4/6 import/export 2024-01-03 21:14:04 +01:00
Gymnasiast
cfff3c53f9 Do not use RCT1/2 limits in TrackDesign.h
Some unrelated files seemingly relied on TrackDesign.h to import RCT2.h for them.
2024-01-03 21:12:53 +01:00
Gymnasiast
3df551ffbf Move RCT2::GetRCTStringBufferLen to RCT12
It’s used in both
2024-01-03 21:12:53 +01:00
Gymnasiast
01fc353cc8 Refactor in-memory track design entrance 2024-01-03 21:12:53 +01:00