1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

20887 Commits

Author SHA1 Message Date
Tulio Leao
3d84fe070f Merge pull request #22671 from tupaschoal/transparency-2 2024-09-01 07:55:58 -03:00
Tulio Leao
4d2efa0edc Fix #22672: Loud sound effects on title screen 2024-09-01 07:04:51 -03:00
Michał Janiszewski
1adaaff6d5 Update backtrace token for upcoming release 2024-09-01 10:18:58 +02:00
Michael Steenbeek
7311fa82b4 Merge pull request #22667 from AaronVanGeffen/landrights-switching
Adjust land rights window mode when toggling sandbox mode
2024-09-01 00:19:53 +02:00
Michael Steenbeek
6f6cdc0cc6 Revert "Cleanup MemoryStream code (#22593)" (#22666)
This reverts commit 590ab65b2a.
2024-09-01 00:14:12 +02:00
Tulio Leao
be1153b28a Improve consistency of toggling transparency options 2024-08-31 17:51:38 -03:00
Tulio Leao
06302f7f06 Revert 9e1b24d 2024-08-31 17:48:35 -03:00
Aaron van Geffen
032874c80d Don't apply viewport flags on title scene (#22670) 2024-08-31 17:16:37 -03:00
Aaron van Geffen
89d050c4b8 Adjust window mode when switching from/to sandbox mode 2024-08-31 19:28:44 +02:00
Aaron van Geffen
dca97f747c Refactor out IsOwnershipMode method 2024-08-31 19:20:01 +02:00
Tulio Leao
c54e25c1d4 Fix #21123: Transparency options are not respected on startup (#22659) 2024-08-31 15:05:31 +00:00
Michael Bernardi
1602a68cae Remove unused headers in Footpath.cpp 2024-08-30 02:23:10 +10:00
Michael Bernardi
c2a69b3c5c Fix #22606: Virtual floor at wrong height for paths 2024-08-30 02:22:30 +10:00
Michael Steenbeek
53cb740cab Merge pull request #22618 from Gymnasiast/refactor/tunnel-types
Normalise tunnel types
2024-08-26 11:51:00 +02:00
Michał Janiszewski
1b142417a7 Fix original ride ratings compilation (#22625)
* Fix original ride ratings compilation

* Update changelog.txt
2024-08-25 00:00:36 +02:00
Gymnasiast
2c752b0c1b Convert most TunnelType usage to TunnelGroup + TunnelSubType 2024-08-23 21:50:47 +02:00
Gymnasiast
8b05e05595 Pass TunnelGroup/TunnelSubType to track-related 2024-08-23 21:50:46 +02:00
Gymnasiast
1807273d37 Add split tunnel groups, tunnel subtypes 2024-08-23 21:50:46 +02:00
Aaron van Geffen
4cfc1737f8 Fix entrance/exit not being removable (#22612) 2024-08-23 09:36:16 +02:00
Aaron van Geffen
fe628aff0d Add ctrl/shift modifiers to footpath tool (#22569)
* Add prototype for ctrl/shift modifier keys in footpath tool

* Only allow paths at half heights when 'invalid heights' cheats are active

* Infer heights similarly to scenery tool when ModifierKey::ctrl is active
2024-08-22 21:15:20 +01:00
Matt
590ab65b2a Cleanup MemoryStream code (#22593)
* Deduplicate code, use std::bit_ceil to compute new capacity

* Remove unused constructor overload

* Remove more unused functions

* Fix memory leak using assignment operator with move

* Make access explicit via constness, do not allow arbitrary access

* Move the template specialized Write/Read to private section

* Simplify a lot of code by using the right types

* Fix copy constructor

* Directly copy the member in copy constructor

* Fix little mistake

* Pluck a memory leak on Android, fix the build

* Update changelog.txt
2024-08-22 19:24:00 +02:00
Michael Steenbeek
9105fe0804 Merge pull request #22595 from ZehMatt/sawyer-junk-2
Improve performance for SawyerChunkReader once again
2024-08-21 23:08:23 +02:00
Michael Steenbeek
8d88d72bf8 Merge pull request #22591 from Gymnasiast/refactor/metal-supports
Deduplicate metal supports
2024-08-21 23:06:50 +02:00
Aaron van Geffen
31527edbea Use named flags in RideGetPlacePositionFromScreenPosition (#22607) 2024-08-21 22:25:44 +02:00
Gymnasiast
d54d95f4b0 Add assertion against invalid directions in RotateMetalSupportGraphic() 2024-08-21 14:59:17 +02:00
Gymnasiast
c79eed65da Add space after “using namespace” 2024-08-21 14:59:17 +02:00
Gymnasiast
7d24e2ee39 Make MetalSupportGraphic internal to MetalSupports.cpp 2024-08-21 14:59:17 +02:00
Gymnasiast
64dea4cd5d Replace usages of MetalSupportGraphic with MetalSupportType 2024-08-21 14:59:17 +02:00
Gymnasiast
dc3c22b820 Introduce deduplicated MetalSupportType 2024-08-21 14:20:03 +02:00
Gymnasiast
87e91e388b Rename MetalSupportType to MetalSupportGraphic 2024-08-21 14:20:03 +02:00
Aaron van Geffen
23ea4613e6 Fix virtual floor no longer appearing during track construction (#22602) 2024-08-20 20:09:53 +00:00
Tulio Leao
771ba4e29f Move thing into OpenRCT2 namespace 2024-08-19 19:52:14 -03:00
Tulio Leao
96cb2ae398 Add picosha2 for when DISABLE_NETWORK is on 2024-08-19 19:52:14 -03:00
Tulio Leao
18c55ba241 Replace cout debug by LOG_INFO 2024-08-19 19:52:14 -03:00
Tulio Leao
b531cfa38e Do not try patch if scenarioPath is empty 2024-08-19 19:52:14 -03:00
Tulio Leao
1ebaac86be Add tests to iterate on all .parkpatch files 2024-08-19 19:52:14 -03:00
Tulio Leao
046ded718c Add .parkpatch files for .sea scenarios 2024-08-19 19:52:14 -03:00
Tulio Leao
f50c8cce4b Rename json files to .parkpatch using scenario hash 2024-08-19 19:52:14 -03:00
Tulio Leao
8c56982613 Unify function to get string from hex 2024-08-19 19:52:14 -03:00
Tulio Leao
7024ac2f6c Extract common method to fetch coordinates 2024-08-19 19:52:14 -03:00
Tulio Leao
337fbf88ed Remove manual CoordsXY conversion on FixLandOwnershipTilesWithOwnership 2024-08-19 19:52:14 -03:00
Tulio Leao
fe69dbb2ea Use vector over initializer_list on FixLandOwnershipTilesWithOwnership 2024-08-19 19:52:14 -03:00
Tulio Leao
194a63c7dc Remove unused FixLandOwnershipTiles 2024-08-19 19:52:14 -03:00
Tulio Leao
5ce61bfb95 Move merry-go-round fix to patch 2024-08-19 19:52:14 -03:00
Tulio Leao
9df2349c12 Add ApplyRideFixes to ScenarioPatcher 2024-08-19 19:52:14 -03:00
Tulio Leao
1e7ec8abd5 Remove unused variable on ApplyLandOwnershipFixes 2024-08-19 19:52:14 -03:00
Tulio Leao
d39408a9d9 Add TODO on s4importer code 2024-08-19 19:52:14 -03:00
Tulio Leao
8297e7182b Move JSON keys to std::string for cross-platform support
constexpr u8string_view did not compile on unix
2024-08-19 19:52:14 -03:00
Tulio Leao
43adebe815 Move Ayers Rock patch to json 2024-08-19 19:52:14 -03:00
Tulio Leao
acdeb89974 Add TrackTypeFixes to ScenarioPatcher 2024-08-19 19:52:14 -03:00