Commit Graph

25937 Commits

Author SHA1 Message Date
mrmbernardi 4ccecd6e68
Remove forwarding functions in Window.cpp (#21516) 2024-03-03 18:04:09 +01:00
Jan Kelemen bc149ca95c
Move gHistoricalProfit and gGuestsInParkHistory to GameState_t (#21513)
* Move gGuestsInParkHistory to GameState_t

* Move gHistoricalProfit to GameState_t
2024-03-03 16:05:48 +00:00
Matt 85f0919483
Merge pull request #21510 from jan-kelemen/gCashHistory_to_GameState_t
Move gCashHistory to GameState_t
2024-03-03 11:36:31 +02:00
OpenRCT2 git bot eaa082bf3e Merge Localisation/master into OpenRCT2/develop 2024-03-03 04:01:58 +00:00
mrmbernardi a0b18688ec
Merge pull request #21460 from mrmbernardi/map-layout
Fix #21289: Map window does not layout properly
2024-03-02 22:52:31 +01:00
Michał Janiszewski e05ae5f051 Start v0.4.10 2024-03-02 22:47:13 +01:00
Michał Janiszewski 5078d3d8ef Merge branch 'master' into develop 2024-03-02 22:46:16 +01:00
Michał Janiszewski a17240544b Release v0.4.9
- Feature: [#20376] Add Ukrainian language.
- Feature: [#20709] [Plugin] Plugins can now check metadata from all registered plugins.
- Feature: [#21376] Add option to reload an object (for object developers).
- Feature: [#21413, OpenSFX#19] Add log flume lift sound effect (when “chainlift” is enabled).
- Feature: [#21455] Add option to control hidden scenery.
- Feature: [objects#282] Added RCT1 beta terrains.
- Improved: [#20093] Use new colours for guests’ clothing when they spawn.
- Improved: [#21356] Resize the title bar when moving between displays with different scaling factors on Windows systems.
- Improved: [#21388] Tooltips will now show even when an error message is present.
- Improved: [#21423] Add mechanism to allow building partly underground.
- Improved: [objects#272, objects#276, objects#277, objects#278, objects#279, objects#280, objects#281] Add most remaining ports of RCT1 ride and vehicle objects (for import only).
- Improved: [objects#275, objects#284, objects#286] Add remaining RCT1 walls (for import only).
- Change: [#21350] Group Dodgems and Flying Saucers vehicles.
- Change: [#21453] Reintroduce lost RCT1 Jet skis colour presets to the boat hire.
- Change: [objects#285] Mark old reversed train objects as compatibility objects.
- Fix: [#17610] Some scenery items are unavailable in RCT1 scenarios.
- Fix: [#18963] Research table in parks from Loopy Landscapes is imported incorrectly.
- Fix: [#20164] Grass and Rock terrain objects cannot be de-selected.
- Fix: [#20907] RCT1/AA scenarios use the 4-across train for the Inverted Roller Coaster.
- Fix: [#21037] Map animations in the title sequence are stuck.
- Fix: [#21208] Error message will stay open only for a brief moment when the game has been running a while.
- Fix: [#21220] When creating a new park from a SC4 file, the localised park name is not applied.
- Fix: [#21286] Cannot build unbanking turns with RCT1 vehicles.
- Fix: [#21288] Text overlaps in the “About ‘OpenRCT2’” window for Arabic, Chinese, Japanese, Korean and Vietnamese.
- Fix: [#21310] Some half loop elements require more clearance than their upward/downward counterparts.
- Fix: [#21318] Virtual Floor for building scenery is not properly invalidated.
- Fix: [#21330] Tooltips from dropdown widgets have the wrong position.
- Fix: [#21332] Mini Helicopters and Monorail Cycles ride types are swapped in research within RCT1 scenarios.
- Fix: [#21343] “Pause” and “Build Path” hotkeys do not work if top toolbar is hidden.
- Fix: [#21347] Too many options are hidden if the platform has no file picker.
- Fix: [#21350] Maze and Mini Golf track designs from RCT1 not shown in track designs list.
- Fix: [#21425] Additional missing/misplaced land & construction rights tiles in Japanese Coastal Reclaim.
- Fix: [#21484] Upkeep costs for some rides/facilities/shops are not calculated correctly.
- Fix: [#21498] Crash when the size of text can’t be determined.
- Fix: [objects#262, objects#263, objects#265, objects#266, objects#267, objects#268, objects#270, objects#271, objects#283] Various errors in expansion pack objects (original bug).
- Fix: [OpenSFX#18] B&M Roar sound effect not looping correctly.
2024-03-02 21:26:41 +01:00
Michał Janiszewski 1ba9201d48 Merge branch 'develop' 2024-03-02 21:20:58 +01:00
Michał Janiszewski 132d45c9e2
Merge pull request #21491 from ZehMatt/fix-21484
Fix #21484: Upkeep costs for some rides/facilities/shops are not calculated correctly
2024-03-02 21:15:23 +01:00
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
Jan Kelemen dabf85882a Update contributors.md 2024-03-02 20:48:18 +01:00
Jan Kelemen baf3d8fded Move gCashHistory to GameState_t 2024-03-02 20:41:16 +01:00
Michael Bernardi 412ca5d9c5 Correct location of Map window variables
Move local variables to top of class.
Move static constexpr variables to file scope.
2024-03-02 16:05:07 +01:00
Michael Bernardi 1cb0650cba Fix #21289: Map window does not layout properly 2024-03-02 16:00:10 +01:00
ζeh Matt 556004bf37
Filter NETWORK_STREAM_VERSION from clang-tidy 2024-03-02 15:36:27 +02:00
ζeh Matt 9bfc3a0a29
Zero initialize some fields in ride station 2024-03-02 15:36:27 +02:00
ζeh Matt 78406f4d67
Bump up network version 2024-03-02 15:36:26 +02:00
ζeh Matt 9a8ca8e2d1
Update changelog.txt 2024-03-02 15:35:44 +02:00
ζeh Matt a9870f8148
Fix #21484: Initialize drops to zero when creating a ride 2024-03-02 15:34:58 +02: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