1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00
Commit Graph

28516 Commits

Author SHA1 Message Date
Llewelyn Gareth Griffiths
fd6707e9fb updating change log to add fix 2025-07-20 16:54:51 +02:00
Llewelyn Gareth Griffiths
ea1f17ab83 reliability progress bar no longer has min value of 10 2025-07-15 09:57:30 +02:00
OpenRCT2 git bot
936f5f231a Merge Localisation/master into OpenRCT2/develop 2025-07-14 04:16:29 +00:00
Jan Strauss
0522ae848b Add award plugin APIs (#24468)
* Add award plugin apis

* Address review feedback (use erase_if, extract AwardAdd method)

* Address review feedback (remove redundant comments, make AwardAdd static)

* Address review feedback (bump plugin api version, add changelog entry)
2025-07-13 07:04:26 -03:00
OpenRCT2 git bot
f5fc12b7a8 Merge Localisation/master into OpenRCT2/develop 2025-07-13 04:14:28 +00:00
Michael Steenbeek
6ac5bd3ccc Add Arabic translations to NSIS installer 2025-07-12 19:47:22 +02:00
Jan Strauss
fdc4d4d892 Set -Wmissing-prototypes for clang builds (#24757)
* Set -Wmissing-prototypes for clang builds.

GCC defines -Wmissing-declarations as specialization of -Wmissing-prototypes for C++ (See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-declarations and https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes) while Clang uses -Wmissing-prototypes for both languages and -Wmissing-declarations is a different diagnostic (See https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-prototypes and
https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-declarations).
Use MATCHES against CMAKE_CXX_COMPILER_ID (See https://stackoverflow.com/a/10055571, https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html) as conditional to handle both AppleClang and Clang.
Clang enables -Wmissing-declarations by default so no point in setting it only if !Clang.

See also:
https://github.com/llvm/llvm-project/issues/16660
https://reviews.llvm.org/D119361

* Make HasMatchingLanguage in Platform.macOS.mm static.

Uncovered by setting -Wmissing-prototypes flag for Clang builds in 306c277c.

* Ignore -Wmissing-prototypes for extern GetVersion.

Result of setting -Wmissing-prototypes flag for Clang builds in 306c277c.

See also: https://github.com/llvm/llvm-project/issues/94138
2025-07-11 14:06:41 -03:00
OpenRCT2 git bot
c72c32cd1d Merge Localisation/master into OpenRCT2/develop 2025-07-11 04:13:36 +00:00
Cory Sanin
7217558ad1 openrct2.d.ts style fixes 2025-07-09 08:59:38 +02:00
OpenRCT2 git bot
0cbdee9fe8 Merge Localisation/master into OpenRCT2/develop 2025-07-09 04:10:42 +00:00
Cory Sanin
65b5d86e6c Feature: [Plugin] Add bindings for missing cheats
Added the following binds for completeness:
- ignoreRidePrice
- makeAllDestructible
- forcedParkRating*

`allowSpecialColourSchemes` was missing from the type definition file so I added that as well.

\*forcedParkRating required a little more logic than the boolean cheats and I added some safeguards to prevent setting invalid values
2025-07-08 09:18:25 +02:00
Michael Steenbeek
263796387f Merge pull request #24721 from Gymnasiast/refactor/sawyer-coding-cleanup
Move SawyerCoding fully into own namespace
2025-07-08 09:14:18 +02:00
OpenRCT2 git bot
16b76b1b74 Merge Localisation/master into OpenRCT2/develop 2025-07-08 04:08:25 +00:00
OpenRCT2 git bot
ea8e2c1c50 Merge Localisation/master into OpenRCT2/develop 2025-07-07 04:11:17 +00:00
OpenRCT2 git bot
b1411ce186 Merge Localisation/master into OpenRCT2/develop 2025-07-06 04:11:22 +00:00
Gymnasiast
5d0a967c9f Start 0.4.25 2025-07-05 19:09:06 +02:00
Gymnasiast
65eca39b3e Merge branch 'master' into develop 2025-07-05 19:07:24 +02:00
Gymnasiast
8592e6b877 Release v0.4.24
- Feature: [#24411] Vanilla scenarios now also have previews in the scenario selection window.
- Feature: [#24616] Add ability to scroll map with gamepad sticks.
- Feature: [#24662] Add optional screenshot argument for Z coord.
- Improved: [#22684] The limit of 2000 animated tile elements has been removed.
- Improved: [#23228] Landscape edge doors now animate opening and closing and play a sound.
- Improved: [#24026] Notification settings have been made into a tab of the Recent Messages window.
- Improved: [#24569, #24710] Add ten additional translations to the Windows installer.
- Change: [#24559] Scenario options are now disabled rather than hidden when disabling money makes them non-applicable.
- Change: [objects#383] Disable all base colours on non-remappable WWTT vehicles, change black to light_blue.
- Change: [objects#384] Remove erroneously enabled WWTT third remaps.
- Removed: [#24628] “Pause game when Steam overlay is open” feature (already broken for a long time).
- Removed: [#24640] Grouping by difficulty (instead of per campaign) in the scenario selector.
- Fix: [#15846] Rightclicking on track piece when there is construction below does not work.
- Fix: [#16176, #23113] Animated tile elements do not always redraw when there is over 2000.
- Fix: [#17365] The slope of new land surfaces is only correct on one side when shifting and resizing the map.
- Fix: [#18080] Obsolete official .DAT files can be loaded accidentally.
- Fix: [#21703] Scenery wall doors get stuck open if the game is saved and loaded whilst they are open.
- Fix: [#24456] Zoomed out vehicles on the ride window tab can sometimes draw incorrectly.
- Fix: [#24458] Vehicles in the ride window vehicle tab are offset differently than vanilla RCT2, and the sprites are cut off at the bottom.
- Fix: [#24576] It is possible to edit open rides in certain circumstances.
- Fix: [#24589] Music tab doesn’t fully render in multiplayer.
- Fix: [#24615] Blank strings in Windows installer.
- Fix: [#24617] ‘Divide by zero’ error when updating boat hire acceleration.
- Fix: [#24626] Viewports that only follow sprites (e.g. in the Ride and Guest windows) can be made to unfollow them.
- Fix: [#24661] `convert` console command always crashes with a segmentation fault.
- Fix: [#24666] `convert` console command rejects files with an SV7 extension.
- Fix: [objects#388] ‘Italian Police Ride’ has a non-functional first remap colour.
v0.4.24
2025-07-05 17:56:24 +02:00
Gymnasiast
b4f55d4209 Merge branch 'pre-release' 2025-07-05 17:52:54 +02:00
Gymnasiast
4b19a1cf11 Update backtrace token for v0.4.24 2025-07-05 17:52:24 +02:00
OpenRCT2 git bot
4ef9dd4c84 Merge Localisation/master into OpenRCT2/develop 2025-07-05 13:10:36 +02:00
Gymnasiast
e6cc1e1aae Merge Localisation 2025-07-05 13:09:51 +02:00
Gymnasiast
8fc7f59182 Update to objects version v1.7.1 2025-07-05 12:53:21 +02:00
LRFLEW
1ecb2f9efe Fix Compression Issue when Stopping Recording 2025-07-05 12:42:24 +02:00
OpenRCT2 git bot
22f5568fa5 Merge Localisation/master into OpenRCT2/develop 2025-07-05 04:04:52 +00:00
Gymnasiast
26a0856154 Update test suite for Sawyer coding changes 2025-07-04 23:20:37 +02:00
Gymnasiast
e29ba3bca4 Move Sawyer coding into its own namespace 2025-07-04 22:47:09 +02:00
Gymnasiast
8c001ba4b5 Move SawyerEncoding files to their own folder 2025-07-04 22:07:17 +02:00
Gymnasiast
9f2db42a19 Move SawyerEncoding into OpenRCT2::SawyerCoding namespace, rename to ChunkEncoding 2025-07-04 22:07:17 +02:00
Gymnasiast
f2a483e0df Move ChunkHeader to SawyerChunk.h 2025-07-04 22:07:17 +02:00
Gymnasiast
6bdca7bcc9 Replace duplicate CHUNK_ENCODING_* with SawyerEncoding::* 2025-07-04 22:07:17 +02:00
Michael Steenbeek
8d56534e46 Merge pull request #24720 from Gymnasiast/refactor/more-constants
More constant renames
2025-07-04 22:06:21 +02:00
Gymnasiast
6d71835ee4 Rename constants in SawyerChunkReader.cpp to use kCamelCase 2025-07-04 19:08:28 +02:00
Gymnasiast
eb40be611c Rename MULTIBYTE to kMultibyte 2025-07-04 19:08:27 +02:00
Gymnasiast
1d75a2d746 Rename SINGLE_INSTANCE_MUTEX_NAME to kSingleInstanceMutexName 2025-07-04 19:08:27 +02:00
Gymnasiast
b138f8ccd8 Rename constants in ServerList.cpp to use kCamelCase 2025-07-04 19:08:27 +02:00
Gymnasiast
8f42e8b257 Rename OBJECT_START_INDEX to kObjectStartIndex 2025-07-04 19:08:27 +02:00
Gymnasiast
490012c6a4 Rename constants in DiscordService.cpp to use kCamelCase 2025-07-04 19:08:27 +02:00
Gymnasiast
8468f87a87 Refactor MarketingCampaignFlags into a FlagHolder 2025-07-04 19:08:26 +02:00
Gymnasiast
600a65b5bf Refactor award effect consts into an enum class 2025-07-04 19:08:26 +02:00
Gymnasiast
af3f61e49b Rename MAX_LANGUAGE_SIZE to kMaxLanguageSize 2025-07-04 19:08:26 +02:00
Gymnasiast
719eb0c6d3 Rename CS_SPRITE_FONT_OFFSET to kCSSpriteFontOffset 2025-07-04 19:08:26 +02:00
Gymnasiast
96e5d124b9 Refactor MEMORY_ACCESS into a FlagHolder 2025-07-04 19:08:24 +02:00
Gymnasiast
8820659a3d Rename SZ_{PRIVATE,PUBLIC}_{BEGIN,END}_TOKEN to k{Private,Public}Key{Begin,End}Token 2025-07-04 18:58:00 +02:00
Gymnasiast
48b0fb5285 Rename VIEWPORT_BUTTON to kButtonSize 2025-07-04 18:57:59 +02:00
Gymnasiast
af406b9ba6 Rename TRACK_DESIGN_INDEX_UNLOADED to kTrackDesignIndexUnloaded 2025-07-04 18:57:59 +02:00
Gymnasiast
0f346b6d55 Rename EXPENDITURE_COLUMN_WIDTH to kExpenditureColumnWidth 2025-07-04 18:57:59 +02:00
Gymnasiast
ad7b8b5496 Rename RCT1_LIGHT_OFFSET to kRCT1LightOffset 2025-07-04 18:57:59 +02:00
LRFLEW
4101fb65a9 Refactor Compression and Streams, and Add IStream Direct Interface 2025-07-04 18:55:17 +02:00
Michael Steenbeek
31d2092b69 Always try mapping footpaths for .park files 2025-07-04 18:54:18 +02:00