1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

19700 Commits

Author SHA1 Message Date
mrmbernardi
f0a82e9ecd Remove double load of Title Sequence in TitleScreen.cpp 2024-01-03 21:11: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
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.
2023-12-31 15:09:59 +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
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
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
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
Michael Steenbeek
268eef2cf1 Consolidate Junior and Water RC track code 2023-12-23 01:54:43 +01:00
Max
895095acb9 Fix #12299 Placing ride entrances/exits ignores the Disable Clearance Checks cheat (#21096) 2023-12-21 20:38:20 +01:00
Fredrik Tegnell
3f5d4b8941 Close OpenRCT2/OpenRCT2#20830: Display author field on scenery window (#21058)
* Close OpenRCT2/OpenRCT2#20830: Display author field on scenery window

* Apply code formatting fixes

* Apply code formatting fixes

* Fix code review changes
2023-12-19 21:15:04 -03:00
Michael Steenbeek
9dd5fd8d98 Update support drawing for thrill rides and water rides (#21007)
* Update support drawing for thrill rides and water rides

* Consolidate support drawing calls for Go Karts
2023-12-18 07:38:25 -03:00
73
573ab043d6 Fix #13473: Lower Circus default price to avoid instant guest complaint (#21056)
From 1.50 to 1.20
2023-12-15 06:15:31 -03:00
Ted John
35a690bfa4 Merge pull request #21009 from Gymnasiast/refactor/covered-drawers
Split up drawing functions for covered track elements
2023-12-13 23:35:51 +00:00
Gymnasiast
a19250c5be Remove now-redundant code in WaterCoaster.cpp
More consolidation is possible (by making JuniorRollerCoaster.cpp use a template like BolligerMabillardTrack.hpp), but probably best left for another PR.
2023-12-13 23:03:38 +01:00
ZeeMaji
ac3ab7e1d2 Fix #20311: Restore removed coaster colour presets (#20880)
* Restore removed coaster colour presets

* Update changelog entry

* Add lost purple impulse preset

* Add lost yellow and red presets to impulse

* Fix typo in purple impulse preset

* Remove accidentally included hairpin presets from impulse
2023-12-12 07:15:00 -03:00
Gymnasiast
5e38c15f58 Split up drawing functions for covered track elements 2023-12-10 15:11:46 +01:00
Michael Bernardi
8c7d1d149a Added OpenGL TTF hinting 2023-12-08 01:13:17 +01:00
Michael Bernardi
f64706e1d9 Add insetting and outlining to OpenGL TTF rendering 2023-12-08 01:13:17 +01:00
spacek531
6162ff9b00 Replace TrackElemType::Booster reference with TrackTypeIsBooster() (#21044) 2023-12-06 08:18:41 -03:00
spacek531
ccb3fa172c Add TrackTypeIsBooster method (#21033) 2023-12-02 14:53:16 -03:00
Michael Steenbeek
baf88ef490 Refactor in-memory track design element (#21010) 2023-12-02 14:43:03 -03:00
AuraSpecs
83598ba898 OpenMusic release v1.5 (#21004)
Adds Rock style 4 ride music by Blackend Blue.
2023-11-28 06:09:58 -03:00
ζeh Matt
19f09dae14 Refactor PlatformEnvironment to avoid static initialization 2023-11-25 16:58:28 +02:00
ζeh Matt
62c0bc2cf5 Remove 13k dynamic initializer by changing SpriteGroupNames type 2023-11-25 16:22:45 +02:00
mrmbernardi
efea009ed5 Fix #20624: Clear scrolling text cache on language change (#20993) 2023-11-20 22:31:35 +00:00
Gymnasiast
8df55ce5a9 Use modern support calls in TrackPaint.cpp 2023-11-17 23:24:45 +01:00
Gymnasiast
22c23a70c6 Update facility and shop support calls 2023-11-17 23:23:06 +01:00
Gymnasiast
f6c112bf50 Update entrance support calls 2023-11-17 23:20:03 +01:00
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