John Kastner
05c0542d1f
Fix off-by-one error in assertions ( #21509 )
...
These should assert that the index in within the bounds of the array, but
it asserts that it is in [0, size] (inclusive). Adjust the assertion so
they fail for an access at `size`.
2024-03-02 17:00:13 -03:00
Michael Steenbeek
9d77219b5d
Add #21037 to changelog
...
[ci skip]
2024-03-02 14:20:30 +01:00
mrmbernardi
54a4cbb1e9
Fix #21037 : Animations broken in title sequence
2024-03-02 14:02:03 +01:00
Matt
9a100b82b4
Fix #21498 : Crash when the size of text can’t be determined
2024-03-02 13:22:59 +01:00
Michał Janiszewski
a2762ed321
Update backtrack submission token
2024-03-02 11:41:04 +01:00
Matt
2053b17dea
Merge pull request #21497 from ZehMatt/fix-bannercrash
...
Fix regression from #21474 due to use-after-free bug
2024-03-02 04:30:36 +02:00
ζeh Matt
c9ac9784ed
Fix regression from #21474 due to use-after-free bug
2024-03-02 03:50:27 +02:00
Andrew
5aed126cac
Use new colours for peeps' clothing when they spawn
2024-03-02 02:06:47 +01:00
Michael Steenbeek
8916b3ce9d
Merge pull request #21350 from Gymnasiast/objects-1.4.0
...
Update to v1.4.0 objects release
2024-03-02 01:46:25 +01:00
Gymnasiast
e9fc4473bb
Clarify RCT1 ride objects in changelog
2024-03-02 01:33:52 +01:00
Gymnasiast
864f0350ed
Load banner entries from research and the map
2024-03-02 01:33:52 +01:00
Gymnasiast
4d35989888
Normalise reversed RCT1 trains when importing
2024-03-02 01:33:52 +01:00
ZeeMajora
a09724ad91
Change vehicle colour import table
2024-03-02 01:33:51 +01:00
ZeeMajora
c7a48a37b6
Add OpenRCT2 official scenery to RCT1 scenarios
2024-03-02 01:33:51 +01:00
ZeeMajora
345f9aa27d
Use RCT1 ice cream stall object
2024-03-02 01:33:51 +01:00
Gymnasiast
de0c681b80
Remove RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY from some rides
...
Maze, Mini Golf, Dodgems and Flying Saucers,
2024-03-02 01:33:51 +01:00
Gymnasiast
05e5bb5106
Add remaining features from objects release to changelog
2024-03-02 01:33:51 +01:00
Gymnasiast
6506b1d1fa
Fix #17610 : Some scenery items unavailable in RCT1 scenarios
2024-03-02 01:33:51 +01:00
Gymnasiast
12c00dedeb
Use RCT1 walls during import
...
Co-authored-by: ZeeMaji <ZeeMaji@users.noreply.github.com >
Fix wgw2 and restore RCT2 walls
2024-03-02 01:33:51 +01:00
Gymnasiast
c1ca8f729f
Use RCT1 trains
2024-03-02 01:33:51 +01:00
Gymnasiast
c2ed24b183
Make RCT1::VehicleType a strong enum
2024-03-02 01:33:51 +01:00
Gymnasiast
ce1240f8d1
Require objects release v1.4.0
2024-03-02 01:33:50 +01:00
Katherine Norton
534ba4f339
Fix #20164 : Grass and Rock terrain objects cannot be de-selected ( #21399 )
2024-03-01 21:33:45 -03:00
Harry Hopkinson
bb743f0c88
Fix: pause and build path hotkeys not working when the toolbar is hidden
...
Part of #21175 .
2024-03-01 23:49:26 +01:00
AuraSpecs
a3659b7ca4
Add log flume lift sound effect (when “chainlift” is enabled)
2024-03-01 21:01:50 +00:00
Harry Hopkinson
701bbda164
Move gEditorStep to GameState_t ( #21492 )
...
* Move gEditorStep to GameState_t
* Fix compilation on GCC
---------
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2024-03-01 20:26:20 +00:00
Harry Hopkinson
14f0479c94
Refactor constants/macros ( #21483 )
...
* Refactor constants in AudioMixer.h
* Refactor constants in Map.h
* Rename kMinimumLandHeight_BIG to kMinimumLandZ
2024-03-01 20:23:29 +00:00
Aaron van Geffen
a79b062136
Refactor FormatCodes stringification
2024-03-01 19:47:23 +01:00
Harry Hopkinson
42844d1667
Move gCurrentProfit to GameState_t ( #21485 )
2024-03-01 05:47:30 -03:00
OpenRCT2 git bot
37104ed4f8
Merge Localisation/master into OpenRCT2/develop
2024-03-01 04:01:50 +00:00
Aaron van Geffen
4976d65fc3
Enable commented-out designated initialisers ( #21479 )
...
* Start using designated initialisers
* Adhere to correct order for DrawPixelInfo
* Of course gcc is stricter than clang...
2024-02-29 07:00:46 +00:00
Michael Steenbeek
aa804a19ff
Replace SET_FIELD() macro with designated initialisers
2024-02-28 23:14:59 +01:00
Michael Steenbeek
01bc8cdb5e
Merge pull request #21468 from AaronVanGeffen/cpp20
...
Compile project as C++20
2024-02-28 22:28:36 +01:00
Aaron van Geffen
a3eea76fa0
Update cppStandard in .vscode properties
2024-02-28 21:57:38 +01:00
Aaron van Geffen
c2730bc12d
Update readme to require C++20 support
2024-02-28 21:57:08 +01:00
Michael Steenbeek
25ec1e4211
Create game actions and UI for restricted scenery
2024-02-28 20:38:43 +01:00
Aaron van Geffen
2d52f5b982
Play footpath placement sound even if footpath window is absent
2024-02-27 22:26:43 +01:00
Aaron van Geffen
6edcd6d7a0
Avoid implicit capture of this in Footpath window
2024-02-27 22:16:06 +01:00
Matt
626e922591
Merge pull request #21472 from janisozaur/ccache-1.2.11
...
CI: Lower ccache to 1.2.11 to speed up CI jobs
2024-02-27 23:08:09 +02:00
Matt
418785104d
Disable ccache for clang-tidy workflow ( #21471 )
2024-02-27 21:05:10 +00:00
Harry Hopkinson
063c4f7bce
Move gCurrentExpenditure to GameState_t
2024-02-27 22:03:40 +01:00
Michał Janiszewski
c921edd76c
CI: Lower ccache to 1.2.11 to speed up CI jobs
...
This is tracked upstream at
https://github.com/hendrikmuhs/ccache-action/issues/181
2024-02-27 21:37:00 +01:00
Aaron van Geffen
8bf848582b
Add -Wno-deprecated-declarations to suppress fs::u8path warnings
2024-02-27 21:33:00 +01:00
Harry Hopkinson
57a4c83f80
Move gConstructionRightsPrice to GameState_t ( #21467 )
...
* Move gConstructionRightsPrice to GameState_t
* Add OpenRCT2 namespace
2024-02-27 20:20:11 +00:00
Michał Janiszewski
b2639add4c
CI: use docker images v13 ( #21470 )
...
This release updates mingw and android images, also comes with
clang-tidy preinstalled
2024-02-27 20:04:33 +00:00
Aaron van Geffen
19171f7eef
Update Visual Studio properties for C++20 too
2024-02-27 19:41:45 +01:00
Aaron van Geffen
989a4dddbd
Mark ObjectLoadError::DownloadStatusInfo comparisons const
2024-02-27 17:22:25 +01:00
Aaron van Geffen
da0bbb2019
Mark GuestList::FilterArguments comparisons const
2024-02-27 17:20:05 +01:00
Aaron van Geffen
ffcb2b8c82
Fix or-ing different enumeration types warning
2024-02-27 16:55:53 +01:00
Michael Steenbeek
11ccbbfc5e
Merge pull request #21454 from Gymnasiast/more-to-gamestate
...
Move _rides, _tileElements and _restrictedScenery to GameState_t
2024-02-27 16:53:49 +01:00