Hielke Morsink
acd45e6f75
Redesign About window ( #14841 )
2021-06-26 10:54:38 +02:00
ζeh Matt
751c419594
Minor cleanups ( #14954 )
...
* Fix uninitialized variables in InputManager
* Use constexpr for const values
* Add break statements instead of implicit fallthrough
* Default initialize variables in Cheats window
* Default initialize variables in News window
* Default initialize window event pointers
2021-06-26 01:43:05 -03:00
ζeh Matt
54d70ec52d
Fix undefined behavior returning nullptr on std::string ( #14952 )
2021-06-26 01:29:46 -03:00
Duncan
35ba734669
Minor paint refactor ( #14905 )
...
Names a few unknown flags
2021-06-22 07:36:17 +01:00
Michael Steenbeek
8aeb763402
Fix #14871 : Crash in TrackPlaceAction::Execute ( #14934 )
2021-06-21 16:27:14 -03:00
Hielke Morsink
005e6826b4
Allow adding const/volatile types to the formatter ( #14908 )
2021-06-20 20:18:54 +02:00
OpenRCT2 git bot
9383fcef41
Merge Localisation/master into OpenRCT2/develop
2021-06-16 04:07:56 +00:00
Duncan
7e84e0ef3f
Fix #14893 : Crash in MapCheckCapacityAndReorganise()
2021-06-13 13:34:54 +02:00
Michael Steenbeek
474e00d48b
Remove map_can_construct[_with_clear]_at() and gMapGroundFlags
2021-06-13 10:13:13 +02:00
Duncan
6b1141b5a2
Fix #14848 : incorrect tile element limit calculation
2021-06-10 13:22:31 +02:00
Michael Steenbeek
f9ad9ad3a5
Merge pull request #14868 from Gymnasiast/refactor/reduce-g-game-command-error-text
...
Reduce usage of gGameCommandErrorText
2021-06-10 13:21:32 +02:00
Jamie Quigley
4f6d0a00fd
Refactor RIDE_STATUS to use strong enum ( #14840 )
...
* Refactor RIDE_STATUS to use strong enum
* Change platform-specific code to match RIDE_STATUS refactor
* Re-added check for valid RideStatus value
* Fixed errors in "g2" build target
* Use EnumValue instead of static_cast<uint8_t>
* Revert rct{1,2}.h to use uint8_t.
* Fix formatting
* Reverted from constexpr variable to additional enum variant
* Fix formatting
2021-06-10 07:09:58 +01:00
Gymnasiast
2da64715cc
Directly call MapCanConstructWithClearAt()
2021-06-09 19:26:11 +02:00
Gymnasiast
15fcbf5463
Remove some usages of gGameCommandErrorMessage in Editor
2021-06-09 14:05:00 +02:00
Duncan
b0af3abb39
Fix #14854 . Accidental double inversion ( #14855 )
2021-06-08 22:09:31 +01:00
Michael Steenbeek
1031be9078
Fix #14751 : Height limitation also affects trees
2021-06-08 22:02:17 +02:00
Duncan
072772af7b
Rework importexport test to use GameStateSnapshots ( #14838 )
...
Rework importexport test to use GameStateSnapshots
Output errors
Rename function
2021-06-08 08:35:31 +01:00
Duncan
422c654cab
Merge pull request #14843 from duncanspumpkin/boatTest
...
ImportExportTest: Add missing compare
2021-06-08 08:23:07 +01:00
duncanspumpkin
b959f5ae2c
Increment network version
2021-06-08 08:04:18 +01:00
duncanspumpkin
5d891a0abd
Enforce tile start on boat location
2021-06-08 08:03:44 +01:00
duncanspumpkin
08bd6080fd
Add missing compare
...
This should hopefully fail the test
2021-06-08 07:46:56 +01:00
Duncan
92cc559cf3
Merge pull request #14791 from duncanspumpkin/map
...
Map refactor from NSF
2021-06-08 07:43:26 +01:00
Michael Steenbeek
8e01bd46ce
Remove LocationXY(Z)16 ( #14834 )
2021-06-07 17:44:38 +02:00
Jamie Quigley
1d84bdca88
Refactor PATH_BIT_DRAW_TYPE_LIGHTS to use strong enum ( #14837 )
...
* Refactor PATH_BIT_DRAW_TYPE to use strong enum
* Rename PathBitDrawType members to be singular
* Remove whitespace and add trailing comma
2021-06-07 13:40:27 +01:00
Nick
cf7b277d89
Close #13765 : Refactor Changelog window into class
2021-06-07 10:33:08 +02:00
duncanspumpkin
b2c0c3e246
Handle reaching tile element limits more gracefully
2021-06-06 08:28:07 +01:00
OpenRCT2 git bot
c1c9353dd2
Merge Localisation/master into OpenRCT2/develop
2021-06-06 05:00:05 +00:00
duncanspumpkin
c7c634e825
Readd comment
2021-06-05 21:19:06 +01:00
duncanspumpkin
c9777535d6
Fix export
2021-06-05 21:17:03 +01:00
Ted John
81d7c3f02b
Make tile elements dynamic and resizeable
2021-06-05 21:17:03 +01:00
Ted John
051a09d2b7
Update map tile loop to support large maps.
2021-06-05 21:17:03 +01:00
ζeh Matt
c87860b3d3
Merge pull request #14271 from ZehMatt/refactor/paint-coords
...
Refactor uses of PaintAddImageAsParent
2021-06-05 20:06:37 +03:00
Matt
e289e21503
Address code review
2021-06-05 17:24:37 +03:00
Matt
2ec5cca3a2
Fix TestPaint
2021-06-05 17:16:07 +03:00
Matt
a35d221afa
Remove unnecessary construction of CoordsXYZ in Supports.cpp
2021-06-05 17:16:07 +03:00
Matt
79e627b2da
Refactor uses of PaintAddImageAsParent in TrackPaint.cpp
2021-06-05 17:16:07 +03:00
Matt
5b2655fe7e
Refactor uses of PaintAddImageAsParent in Maze.cpp
2021-06-05 17:16:06 +03:00
Matt
b7b5cb4f67
Refactor uses of PaintAddImageAsParent in RiverRapids.cpp
2021-06-05 17:16:06 +03:00
Matt
0aa15748f6
Refactor uses of PaintAddImageAsParent in JuniorRollerCoaster.cpp
2021-06-05 17:16:06 +03:00
Matt
1d3b56a59e
Refactor uses of PaintAddImageAsParent in Supports.cpp
2021-06-05 17:16:06 +03:00
Matt
db493d157e
Refactor uses of PaintAddImageAsParent in MiniGolf.cpp
2021-06-05 17:16:06 +03:00
Matt
91ddb0f5c9
Refactor uses of PaintAddImageAsParent in GoKarts.cpp
2021-06-05 17:16:06 +03:00
Matt
74f0cf8063
Refactor uses of PaintAddImageAsParent in Monorail.cpp
2021-06-05 17:16:05 +03:00
Matt
2aed03ca5f
Refactor uses of PaintAddImageAsParent in Paint.Path.cpp
2021-06-05 17:16:05 +03:00
Matt
58df44efc3
Refactor uses of PaintAddImageAsParent in TrackPaint.cpp
2021-06-05 17:16:05 +03:00
Matt
0036652eb5
Refactor uses of PaintAddImageAsParent in TopSpin.cpp
2021-06-05 17:16:05 +03:00
Matt
4009582f6d
Refactor uses of PaintAddImageAsParent in AirPoweredVerticalCoaster.cpp
2021-06-05 17:16:05 +03:00
Matt
a12a2b6964
Refactor uses of PaintAddImageAsParent in MerryGoRound.cpp
2021-06-05 17:16:05 +03:00
Matt
38ce48fdf1
Refactor uses of PaintAddImageAsParent in Chairlift.cpp
2021-06-05 17:16:05 +03:00
Matt
3af40e0ec5
Refactor uses of PaintAddImageAsParent in Paint.Peep.cpp
2021-06-05 17:16:04 +03:00