mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-11 10:02:27 +01:00
Use BannerIndex type
This commit is contained in:
@@ -20,12 +20,12 @@ DEFINE_GAME_ACTION(BannerPlaceAction, GAME_COMMAND_PLACE_BANNER, GameActionResul
|
|||||||
private:
|
private:
|
||||||
CoordsXYZD _loc;
|
CoordsXYZD _loc;
|
||||||
uint8_t _bannerType{ std::numeric_limits<uint8_t>::max() };
|
uint8_t _bannerType{ std::numeric_limits<uint8_t>::max() };
|
||||||
uint8_t _bannerIndex{ BANNER_INDEX_NULL };
|
BannerIndex _bannerIndex{ BANNER_INDEX_NULL };
|
||||||
uint8_t _primaryColour;
|
uint8_t _primaryColour;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BannerPlaceAction() = default;
|
BannerPlaceAction() = default;
|
||||||
BannerPlaceAction(CoordsXYZD loc, uint8_t bannerType, uint8_t bannerIndex, uint8_t primaryColour)
|
BannerPlaceAction(CoordsXYZD loc, uint8_t bannerType, BannerIndex bannerIndex, uint8_t primaryColour)
|
||||||
: _loc(loc)
|
: _loc(loc)
|
||||||
, _bannerType(bannerType)
|
, _bannerType(bannerType)
|
||||||
, _bannerIndex(bannerIndex)
|
, _bannerIndex(bannerIndex)
|
||||||
|
|||||||
Reference in New Issue
Block a user