1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00
Commit Graph

25419 Commits

Author SHA1 Message Date
Matt
04e8a25c44 Merge pull request #21165 from bencsikandrei/refactor/simplify-linux-get-install-path
Refactor GetInstallPath for linux
2024-01-15 22:51:20 +02:00
Max
7a9e8a5e44 Fix: setting brake/booster speeds via plug-in does not work 2024-01-15 08:28:21 +01:00
Severin Paul Höfer
62d0fd76e0 Fix #20616: Confirmation button in track designer's quit prompt has the wrong text
Wrapped the logic for determining the text to be displayed on title
and buttons of the save prompt in an if condition, so it's not run for
the pure quit prompt.
2024-01-15 08:26:58 +01:00
OpenRCT2 git bot
739dd712d5 Merge Localisation/master into OpenRCT2/develop 2024-01-13 04:01:44 +00:00
Matt
35b19cade1 Merge pull request #21188 from ZehMatt/fix-21171
Fix #21171: Crash creating entities with no slots available
2024-01-13 01:17:50 +02:00
ζeh Matt
d202f0044d Update changelog.txt 2024-01-12 17:56:27 +02:00
ζeh Matt
7d3c273594 Fix #21171: Crash creating entities with no slots available 2024-01-12 17:56:23 +02:00
ζeh Matt
3dc2a25121 Fix overflow calculating maximum free slots for misc entities 2024-01-12 17:48:39 +02:00
Michał Janiszewski
7d8f13a97f Add changelog entry for 20951 (#21186) 2024-01-12 08:48:35 -03:00
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
Andrei BENCSIK
03ddac9c7f Refactor GetInstallPath for linux
simplify the Platform::GetInstallPath (linux) by removing unnecessary
vector, removing unused #ifdef path and using string_views where
appropriate. no vector was actually needed as the prefixes are fixed
(same as the SearchLocations) - using a plain array avoids an
unnecessary allocation (actually a couple as the old code was using
push_back without reserve).

how it was tested?
run the game, check it finds path OK - PASS
run in the debugger, actually loop through OK - PASS
2024-01-07 00:20:05 +02: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
mrmbernardi
f0a82e9ecd Remove double load of Title Sequence in TitleScreen.cpp 2024-01-03 21:11:06 +01:00
Conrad Kostecki
010c19ba61 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>
2024-01-01 20:47:06 +01:00
James103
1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Gymnasiast
f6840cb2af Start v0.4.8 2023-12-31 21:09:27 +01:00
Gymnasiast
6782a42e08 Merge branch 'master' into develop 2023-12-31 21:08:03 +01:00
Michał Janiszewski
0e8d46ea7c Release v0.4.7
- Feature: [#12078] Add shortcut key for toggling wall slope.
- Feature: [#19919] Add diagonal brakes and diagonal block brakes to most coaster types.
- Feature: [#20141] Add additional track pieces to the Giga Coaster.
- Feature: [#20825] Made setting the game speed a game action.
- Feature: [#20830] Display author field on scenery window.
- Feature: [#20853] [Plugin] Add “BaseTileElement.owner” which is saved in the park file.
- Feature: [objects#257] Re-introduce the RCT1 road, which does not have handrails.
- Feature: [OpenMusic#46] Added Mystic ride music style.
- Feature: [OpenMusic#50] Added Rock style 4 ride music.
- Improved: [objects#261] Add composer credits on all RCT2 music objects.
- Change: [#20790] Default ride price set to free if park charges for entry.
- Change: [#20880] Restore removed default coaster colours.
- Change: [#21102] The money effect will now update even when the game is paused.
- Change: [objects#244] Update sort priorities for expansion scenery groups.
- Change: [objects#256] Use recoloured RCT2 artwork on the Fruity Ices Stall, rather than the (slightly different) RCT1 artwork.
- Fix: [#5677] Balloons pass through the ground and objects.
- Fix: [#12299] Placing ride entrances/exits ignores the Disable Clearance Checks cheat.
- Fix: [#13473] Guests complain that the default Circus price is too high.
- Fix: [#15293] TTF fonts don’t format correctly with OpenGL.
- Fix: [#16453] Tile inspector invisibility shortcut does not use a game action.
- Fix: [#16926] When multiple vehicles are grouped in research, only one of them is unlocked.
- Fix: [#17774] Misplaced/missing land and construction rights tiles in RCT1 & RCT2 scenarios.
- Fix: [#18199] Dots in the game save’s name no longer get truncated.
- Fix: [#19722] “Forbid tree removal” restriction doesn’t forbid removal of large scenery tree items.
- Fix: [#20253] Crash when displaying a Lay-Down RC’s half loop.
- Fix: [#20356] Cannot set tertiary colour on small scenery.
- Fix: [#20624] Scrolling text glitches after language is changed.
- Fix: [#20679] Android: game crashes at launch.
- Fix: [#20737] Spent money in player window underflows when getting refunds.
- Fix: [#20747] Staff speed cheat not applying to newly hired staff, UI not showing the current applied speed.
- Fix: [#20778] [Plugin] Incorrect target api when executing custom actions.
- Fix: [#20807] Tertiary colour not copied with small scenery.
- Fix: [#20964] Crash when player connects to server with a group assigned that no longer exists.
- Fix: [#20995] TTF fonts don’t support hinting, outlines, or insets with OpenGL.
- Fix: [#21042] Peeps don’t render properly in S4 parks.
- Fix: [objects#246, objects#248] Some objects are incorrectly marked as originating from RCT1.
- Fix: [objects#260] Submarine Ride has its capacity listed incorrectly.
v0.4.7
2023-12-31 15:09:59 +01:00
Michał Janiszewski
ad2e03f171 Merge branch 'develop' 2023-12-31 15:01:54 +01:00
Michał Janiszewski
bb449ef3cb Update Crash.cpp
Update backtrace token for upcoming release
2023-12-31 14:55:40 +01:00
Michael Steenbeek
bf1bb2d87c Revert "Remove double load of Title Sequence in TitleScreen.cpp" (#21133)
This reverts commit d233d0fc3d.
Fixes #21127.
2023-12-31 14:52:35 +01:00
OpenRCT2 git bot
5e42714f80 Merge Localisation/master into OpenRCT2/develop 2023-12-31 04:01:37 +00:00
Michael Steenbeek
6571a7ed7c Merge pull request #21132 from Gymnasiast/fix/changelog
Changelog fixes and updates
2023-12-31 00:25:24 +01:00
AuraSpecs
037c246824 Reorganise contributors.md 2023-12-30 22:44:31 +01:00
Gymnasiast
651a4662d6 Add object changes to changelog 2023-12-30 21:16:13 +01:00
Gymnasiast
aadf9161e2 Use curly quotes in changelog 2023-12-30 21:08:38 +01:00
blackhand1001
7b0b432cb8 Fix #16926: Grouped rides unlock only the first entry
This fixes rides without RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY from only unlocking the first entry on stock RCT2 saves/scenarios.

This makes the wooden coaster properly unlock its trains on stock RCT2 scenarios and saves. This restores the correct stock behaviour while maintaining the missing items research fix which is what broke this behaviour.
2023-12-30 20:05:44 +00:00