Commit Graph
20866 Commits
Author SHA1 Message Date
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
Tulio Leao 2ac35756b2 Convert S6 scenarios water fixes to patches 2024-08-19 19:52:14 -03:00
Tulio Leao c43a84e255 Add FixWater capability to ScenarioPatcher 2024-08-19 19:52:13 -03:00
Tulio Leao cfc89c8d6c Add investigation TODO to s4 and s6 importers 2024-08-19 19:52:13 -03:00
Tulio Leao 8784b85cbc Convert S4 scenarios to JSON patches 2024-08-19 19:52:13 -03:00
Tulio Leao 6fc08be454 Convert S6 scenarios to JSON patches 2024-08-19 19:52:13 -03:00
Tulio Leao e7ee0ba63a Implement ScenarioPatcher with FixLandOwnership capabilities 2024-08-19 19:52:13 -03:00
Aaron van Geffen 6278732f12 Merge pull request #22592 from AaronVanGeffen/cheats-window
Reorganise cheats window
2024-08-19 23:33:34 +02:00
ζeh Matt 7c1d3c42b3 Remove windows.h include and win32 specific defines, not needed 2024-08-20 00:27:00 +03:00
ζeh Matt 2c0bfd01ac Refactor SawyerChunkReader to use MemoryStream, better performance 2024-08-20 00:26:03 +03:00
ζeh Matt 5b177db551 Remove the decode functions from SawyerChunkReader.h, re-order in cpp 2024-08-19 23:50:21 +03:00
Aaron van Geffen 1bfd3febe6 Rework guest cheats tab layout and strings 2024-08-19 22:20:40 +02:00
Aaron van Geffen 3138730d33 Move 'Allow building while paused' cheat to park cheats 2024-08-19 21:22:53 +02:00
Aaron van Geffen 4e0d00f71b Reorganise park cheats to account for moved widgets 2024-08-19 20:50:28 +02:00
Aaron van Geffen 493bee46e7 Move staff cheats to their own tab as well 2024-08-19 20:40:04 +02:00
Aaron van Geffen 76ccc1b54e Move nature/weather cheats to their own tab 2024-08-19 20:27:18 +02:00
Aaron van Geffen a944c1a15c Move date cheats to their own tab 2024-08-19 19:26:49 +02:00
Aaron van Geffen e8cff5d75f Remove unused ScreenshotDumpPNG32bpp function (#22590) 2024-08-19 16:35:53 +00:00
mrmbernardi e8f3d690df Fix Y axis label tick marks on park and finance graphs. (#22580)
Also adds variable padding to park graph Y axis labels.
2024-08-18 22:24:29 +10:00
Michael Steenbeek d5a3cb4103 Pass support type to track drawers at runtime (#22570) 2024-08-18 12:18:33 +02:00
Aaron van Geffen a090d68933 Reorder Map window tool widgets (#22541)
* Reorder Map window sandbox mode widgets

* Add custom icon for map gen and peep spawn buttons

* Resize map window when toggling sandbox mode

* Compensate minimap size for hidden scrollbars
2024-08-18 09:20:27 +00:00
Matt a1d479d723 Merge pull request #22585 from Gymnasiast/fix/invisible-colour-in-randomise
Fix: ‘Randomise all’ sometimes picks invalid colours
2024-08-17 21:09:38 +03:00