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
e8cff5d75f
Remove unused ScreenshotDumpPNG32bpp function ( #22590 )
2024-08-19 16:35:53 +00: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
Aaron van Geffen
5f37ba6615
Rename footpath height related constants
2024-08-16 21:18:33 +00:00
Aaron van Geffen
4bdbd787a9
Fix lighting effects not toggling correctly ( #22582 )
...
* Fix lighting effects not toggling correctly
* Simplify boolean expressions around lighting effects options
* Invalidate entire screen after toggling lighting effects
* Add changelog entry
2024-08-16 20:37:21 +00:00
Aaron van Geffen
2a99b2f1f9
Rework modifier key state into strong enum class ( #22558 )
...
* Rework modifier key state into strong enum class
* Move modifier key state into InputManager
2024-08-14 16:36:05 +02:00
Aaron van Geffen
6e444ea170
Split off MouseInput.h from Input.h ( #22564 )
...
* Move declarations from Input.h into new MouseInput.h
* Remove unused GetNextKey function from MouseInput.cpp
2024-08-14 14:14:16 +01:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Matt
06501b0e9a
Fix #22316 : Always recreate the window when changing drawing engine
2024-08-12 23:49:58 +02:00
Harry Hopkinson
4744c7416d
Refactor object and network constants to kCamelCase
2024-08-11 20:21:24 +00:00
Michael Steenbeek
8ebacc1821
Close #19003 : Change _currentTrackCurve to a struct
2024-08-11 21:35:29 +02:00
Aaron van Geffen
aa7eb18d78
Rename ScrollBar struct to ScrollArea and rename its properties ( #22539 )
2024-08-11 16:21:53 +02:00
Gymnasiast
a436801d64
Remove TrackDrawerDescriptor::SupportsTrackGroup()
2024-08-11 15:27:12 +02:00
Gymnasiast
803f683f58
Update PreviewTrack field names
2024-08-11 15:15:45 +02:00
Gymnasiast
d93233f9fd
Update TrackCoordinates field names
2024-08-11 15:06:19 +02:00
Gymnasiast
00c42431da
Update PitchAndRoll field names
2024-08-11 15:02:33 +02:00
Gymnasiast
0ea9c5a2c2
Update TrackDefinition field names
2024-08-11 14:52:25 +02:00
Gymnasiast
9ed2e87f49
Replace tabs with spaces in TrackData.cpp
2024-08-11 14:10:48 +02:00
Harry Hopkinson
7a403e0537
Add cheat to make guests ignore prices
2024-08-11 11:27:32 +00:00
Michael Steenbeek
5910c63e3b
Clean up WindowRideConstructionUpdateStateGetTrackElement()
2024-08-11 11:09:46 +00:00
Aaron van Geffen
d5485878f7
Remove unnecessary includes from TileInspector.cpp ( #22535 )
2024-08-11 11:00:46 +00:00
Michael Steenbeek
f0c73cb9ef
Specify track style icon and tooltip in RTD
2024-08-11 10:42:11 +00:00
Aaron van Geffen
4fb673d0b9
LandSetRightsAction: calculate cost based on buying/selling rights
2024-08-11 12:00:33 +02:00
Greg
dae5b00f05
Close #22509 : Refactor SPR_NONE to ImageIndex ( #22517 )
...
* ImageIndex typedef moved from ImageId.hpp to new file ImageIndexType.h.
* SPR_NONE redefined as ImageIndex type in ImageIndexType.h.
* SPR_NONE renamed to kSpriteIdNull
* Remove casts and enum all sprites as ImageIndex
* Remove sprites.h include from LandTool.h, RideData.h
* Ensure all RTD headers include sprites.h
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2024-08-11 09:58:28 +00:00
lewyche
e2551821f3
Close #20942 : Add button to remove park fences
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2024-08-11 09:31:57 +00:00
Michael Steenbeek
07f54c22bd
Create named enum for track group ( #22523 )
2024-08-11 09:26:19 +02:00
Aaron van Geffen
bc055f4031
Replace SCROLLBAR_SIZE macro with kScrollBarWidth constant
2024-08-09 19:48:04 +02:00
Gymnasiast
2e9db4bc9b
Use new support calls in APVC
...
Exluding the slope up
2024-08-09 19:18:30 +02:00