Commit Graph

21535 Commits

Author SHA1 Message Date
ζeh Matt b2387d06b6
Fix #14964: Building in multiplayer while paused 2021-06-30 20:51:04 +02:00
WantDiscussion 06026ec55e
Improvement: Added lighting effects for shops and stalls. (#14169)
* Improvement: Added lighting effects for shops and stalls.

* Moved offset rotations for lights to declaration.

* - Made function variables Const&, Const

- Fixed casing

- Removed direction variable from kiosk function

- Moved kiosk light offset rotation to declaration

* Ensure defines are only set for given target with cmake

Co-authored-by: Michał Janiszewski <janisozaur@gmail.com>
2021-06-30 07:55:02 +01:00
Hielke Morsink 617bb698ae
Use UK spelling of center 2021-06-29 00:03:45 +02:00
OpenRCT2 git bot 2650828f08 Merge Localisation/master into OpenRCT2/develop 2021-06-28 04:07:26 +00:00
Michael Steenbeek 3a0e26660d
Merge pull request #14962 from duncanspumpkin/fix_14945
Fix 14945 Incorrect drop height penalty
2021-06-27 15:22:21 +02:00
duncanspumpkin d4381ffeea Update ride rating test data 2021-06-27 09:36:55 +01:00
duncanspumpkin f3a509cb54 Update changelog 2021-06-27 08:34:53 +01:00
duncanspumpkin b68b516842 Update network version 2021-06-27 08:33:40 +01:00
duncanspumpkin 5754af8696 Fix #14945. Incorrect drop height penalty on log flume ride 2021-06-27 08:33:11 +01:00
Hielke Morsink d635345841
Fix: Close button broken when failed to load version or changelog (#14880)
* Fix: Close button broken when failed to load version or changelog
2021-06-26 11:10:27 -03:00
Hielke Morsink bd18bce3a7
Reflect actual string in string identifier (#14958) 2021-06-26 10:00:05 -03:00
Hielke Morsink e54dc7e466
Use consistent left-shift notation for widgets (#14956) 2021-06-26 14:23:15 +02:00
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