1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00
Commit Graph

25393 Commits

Author SHA1 Message Date
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
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
OpenRCT2 git bot
02df5f8367 Merge Localisation/master into OpenRCT2/develop 2023-12-30 04:02:03 +00:00
Michael Steenbeek
12d2e0aa7f Update objects to v1.3.13 (#21124) 2023-12-30 00:25:03 +02:00
mrmbernardi
970504f2ad Fix #21042: SpriteData intialised incorrectly (#21125) 2023-12-29 23:21:15 +01:00
mrmbernardi
d233d0fc3d Remove double load of Title Sequence in TitleScreen.cpp 2023-12-29 20:49:25 +01:00
Michael Steenbeek
a4d11d82e8 Merge pull request #21113 from spacek531/track/replace-track-paint-scheme-enum
Refactor track and supports colours in PaintSessionCore
2023-12-26 14:13:48 +01:00
mrmbernardi
98a52efb7e Fix #5677: Balloons pass through the ground and objects (#20483) 2023-12-26 08:28:19 -03:00
matoro
191b0c4d6d Use __LP64__ for BitSet 64-bit blocksize conditional check
The canonical way to check for 64-bit system is __LP64__ preprocessor
define.  This allows to build and pass test suite on ppc64le.
2023-12-24 18:30:48 +01:00
Spacek531
b6bcb8e106 Add secondary colour to supports scheme
The wooden roller coaster and air powered vertical coaster both
construct a paint scheme that incorporates the tertiary colour in the
primary slot and the secondary colour in the secondary slot.
Constructing the scheme requires at least one condition that can be
removed by constructing the scheme when populating the PaintSessionCore.
2023-12-23 17:13:27 -08:00
Spacek531
a890844115 replace TrackColours array with two ImageId values 2023-12-23 17:01:56 -08:00
Michael Steenbeek
3ab12eb659 Update objects to v1.3.12 2023-12-23 23:38:33 +01:00
spacek531
1306dc048b Remove SCHEME_MISC, SCHEME_3 from PaintSessionCore 2023-12-23 16:42:00 +01:00
Matt
2147b69104 Update the money effect even when the game is paused (#21102)
* Update the money effect even when the game is paused

* Update changelog.txt
2023-12-23 11:04:25 -03:00
Michael Steenbeek
c15391fbff Fix #21106: 25-deg-down 3x3 right turns rendered incorrectly 2023-12-23 14:03:23 +01:00
OpenRCT2 git bot
689d16b501 Merge Localisation/master into OpenRCT2/develop 2023-12-23 04:01:35 +00:00
Michael Steenbeek
268eef2cf1 Consolidate Junior and Water RC track code 2023-12-23 01:54:43 +01:00
Matt
5bd5273875 Merge pull request #20541 from ZehMatt/ci-changelog
Add CI validation for the changelog.txt
2023-12-23 02:25:02 +02:00
ζeh Matt
7a54dcce9b Fix the changelog.txt 2023-12-23 01:34:34 +02:00
ζeh Matt
a927335f8a Update CI workflow 2023-12-23 01:34:28 +02:00
ζeh Matt
8d7db5e987 Add script to format changelog 2023-12-23 01:34:28 +02:00
Matt
5fa955e1b3 Merge pull request #21101 from ZehMatt/update-changelog
Update changelog.txt based on changelog-format
2023-12-23 01:16:22 +02:00
Max
895095acb9 Fix #12299 Placing ride entrances/exits ignores the Disable Clearance Checks cheat (#21096) 2023-12-21 20:38:20 +01:00
ζeh Matt
70b12b3d15 Update changelog.txt based on changelog-format 2023-12-21 15:24:14 +02:00
OpenRCT2 git bot
b7bf844659 Merge Localisation/master into OpenRCT2/develop 2023-12-21 04:01:53 +00:00
Michael Steenbeek
c32a049adb Re-add myself to the development team 2023-12-20 15:42:27 +01:00