1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

28486 Commits

Author SHA1 Message Date
OpenRCT2 git bot
22f5568fa5 Merge Localisation/master into OpenRCT2/develop 2025-07-05 04:04:52 +00: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
Michael Steenbeek
b77aa9a956 Small cleanup of sound range parameters 2025-07-04 18:52:58 +02:00
OpenRCT2 git bot
e8d9663eed Merge Localisation/master into OpenRCT2/develop 2025-07-04 04:07:59 +00:00
Michael Steenbeek
984c251172 Fix changelog entry for #20095
[ci skip]
2025-07-03 23:35:08 +02:00
Michael Steenbeek
0b2ca08180 Add #24710 to changelog
[ci skip]
2025-07-03 23:20:05 +02:00
Michał Janiszewski
763242b14d Add ability to scroll the map with gamepad stick 2025-07-03 22:48:59 +02:00
Michael Steenbeek
9fcbac56bb Revert "Close #1787: Replace blood-curdling scream with regular roller coaster screams" (#24716)
This reverts commit f176b27076.
2025-07-03 21:36:55 +02:00
Michael Steenbeek
f176b27076 Close #1787: Replace blood-curdling scream with regular roller coaster screams 2025-07-03 17:30:59 +02:00
OpenRCT2 git bot
0c01475ce4 Merge Localisation/master into OpenRCT2/develop 2025-07-03 04:09:47 +00:00
Michael Steenbeek
44ca248dbd Merge pull request #24710 from Gymnasiast/nsis-add-czech
NSIS: Fix UTF-8 detection, add Czech
2025-07-02 17:36:21 +02:00
Gymnasiast
86b2b16f64 NSIS: Add Czech translation 2025-07-02 15:28:07 +02:00
Gymnasiast
3073b8db58 NSIS: Assume files without BOMs are UTF-8 2025-07-02 15:28:07 +02:00
Garv Changrani
b47506dd90 Close #24665: Don't return empty strings with quotes for std::string 2025-07-02 13:33:54 +02:00
OpenRCT2 git bot
62418a9588 Merge Localisation/master into OpenRCT2/develop 2025-07-02 04:08:18 +00:00
Ríša Szlachta
2e6cb2fb6f cs-CZ: Add translation to Flathub package 2025-07-01 17:37:19 +02:00
Michał Janiszewski
9747c27664 GCC15 fix in ReplayManager.cpp (#24707)
```
In member function ‘bool OpenRCT2::ReplayManager::SerialiseCommand(DataSerialiser&, OpenRCT2::ReplayCommand&)’,
    inlined from ‘bool OpenRCT2::ReplayManager::Serialise(DataSerialiser&, OpenRCT2::ReplayRecordData&)’ at /home/janisozaur/workspace/openrct2/src/openrct2/ReplayManager.cpp:778:37:
/home/janisozaur/workspace/openrct2/src/openrct2/ReplayManager.cpp:719:38: error: potential null pointer dereference [-Werror=null-dereference]
  719 |             command.action->Serialise(serialiser);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
```

```
$ gcc --version
gcc (GCC) 15.1.1 20250425
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
2025-07-01 11:15:09 +00:00
OpenRCT2 git bot
1826c8bcd2 Merge Localisation/master into OpenRCT2/develop 2025-06-30 04:10:46 +00:00
mrmbernardi
5f32624017 RideCreateAction: use constant instead of magic number 2025-06-29 20:54:46 +02:00
Matt
83aca7f374 Merge pull request #24689 from LRFLEW/nocopy
Remove Memory Copy in FileIndex::LoadOrBuild
2025-06-29 20:36:54 +03:00
LRFLEW
8819ae34a4 Remove Memory Copy in FileIndex::LoadOrBuild 2025-06-29 03:53:17 -05:00
OpenRCT2 git bot
118f23aa1c Merge Localisation/master into OpenRCT2/develop 2025-06-27 04:07:37 +00:00
Michael Steenbeek
2815d1958c Fix #18080: Obsolote .DAT objects can be loaded accidentally 2025-06-26 10:57:40 +00:00
OpenRCT2 git bot
e5d3633677 Merge Localisation/master into OpenRCT2/develop 2025-06-26 04:07:30 +00:00
Tulio Leao
eb07bd3e18 Make en-GB consistent with #24628 localisation changes
#24628 removed STR_5553 from all languages but en-GB, which was making the localisation report missing translations on OpenRCT2/Localisation PRs.

Additionally, it added this line break after STR_5816 which seemed unintentional to me.
2025-06-25 19:10:38 +02:00
OpenRCT2 git bot
e17dccae44 Merge Localisation/master into OpenRCT2/develop 2025-06-25 04:08:32 +00:00
Michael Steenbeek
3a09063f58 Merge pull request #24666 from Gymnasiast/fix/24661
Fix #24661: convert console command always crashes with a segmentation fault
2025-06-24 14:00:17 +02:00
Michael Steenbeek
f9b132e24d Remove sorting by difficulty in the scenario selector
This is barely used, complicates the scenario selector and Options window, and will get in the way when adding RCTC and custom campaign support. Time to remove it.
2025-06-24 10:53:26 +00:00
OpenRCT2 git bot
d3dcfb6e1a Merge Localisation/master into OpenRCT2/develop 2025-06-24 04:07:59 +00:00
Gymnasiast
f5acd2ba24 Fix: convert console command rejects files with an SV7 extension 2025-06-24 01:01:50 +02:00
Gymnasiast
f7612d56d0 Fix #24661: convert console command always crashes with a segmentation fault 2025-06-24 01:00:27 +02:00
mix
44decc9ce0 Rename metal support mappings 2025-06-24 00:31:10 +02:00