1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

26830 Commits

Author SHA1 Message Date
Michael Bernardi
ea9787c155 Added changelog for #22606 2024-08-30 04:05:00 +10: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
OpenRCT2 git bot
dff7d3a930 Merge Localisation/master into OpenRCT2/develop 2024-08-27 04:02:35 +00:00
Michael Steenbeek
53cb740cab Merge pull request #22618 from Gymnasiast/refactor/tunnel-types
Normalise tunnel types
2024-08-26 11:51:00 +02:00
OpenRCT2 git bot
f041956354 Merge Localisation/master into OpenRCT2/develop 2024-08-25 04:02:16 +00: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
OpenRCT2 git bot
8390ff569d Merge Localisation/master into OpenRCT2/develop 2024-08-21 04:02:02 +00:00
Aaron van Geffen
23ea4613e6 Fix virtual floor no longer appearing during track construction (#22602) 2024-08-20 20:09:53 +00:00
OpenRCT2 git bot
dff232e294 Merge Localisation/master into OpenRCT2/develop 2024-08-20 04:02:06 +00:00
Tulio Leao
c5b699f1bb Merge pull request #21189 from tupaschoal/scenario_fix_patch_system 2024-08-19 20:11:40 -03:00
Tulio Leao
ce6872449b Add changelog for new land ownership fixes 2024-08-19 19:53:12 -03:00
Tulio Leao
066ed0e2a8 Update scenario names according to #21214 2024-08-19 19:52:14 -03:00
Tulio Leao
1de7cdbb97 Fix preexisting land ownership issues found by @HtotheTML 2024-08-19 19:52:14 -03:00
Tulio Leao
b2b718f1cb Fix land ownership parkpatch porting issues found by @HtotheTML 2024-08-19 19:52:14 -03: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
3c8659ed69 Use headless_no_graphic on tests 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