mirror of https://github.com/OpenRCT2/OpenRCT2.git
Add thought insertion overload with strong ride id type
This commit is contained in:
parent
078d12a207
commit
e1e29379ba
|
@ -6811,6 +6811,10 @@ void Guest::InsertNewThought(PeepThoughtType thought_type, ShopItem shopItem)
|
||||||
InsertNewThought(thought_type, static_cast<uint16_t>(shopItem));
|
InsertNewThought(thought_type, static_cast<uint16_t>(shopItem));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Guest::InsertNewThought(PeepThoughtType thought_type, ride_id_t ride)
|
||||||
|
{
|
||||||
|
InsertNewThought(thought_type, static_cast<uint16_t>(ride));
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* rct2: 0x699F5A
|
* rct2: 0x699F5A
|
||||||
|
|
|
@ -774,6 +774,7 @@ public:
|
||||||
void UpdateEasterEggInteractions();
|
void UpdateEasterEggInteractions();
|
||||||
void InsertNewThought(PeepThoughtType thought_type);
|
void InsertNewThought(PeepThoughtType thought_type);
|
||||||
void InsertNewThought(PeepThoughtType thought_type, ShopItem thought_arguments);
|
void InsertNewThought(PeepThoughtType thought_type, ShopItem thought_arguments);
|
||||||
|
void InsertNewThought(PeepThoughtType thought_type, ride_id_t ride);
|
||||||
void InsertNewThought(PeepThoughtType thought_type, uint16_t thought_arguments);
|
void InsertNewThought(PeepThoughtType thought_type, uint16_t thought_arguments);
|
||||||
static Guest* Generate(const CoordsXYZ& coords);
|
static Guest* Generate(const CoordsXYZ& coords);
|
||||||
bool UpdateQueuePosition(PeepActionType previous_action);
|
bool UpdateQueuePosition(PeepActionType previous_action);
|
||||||
|
|
Loading…
Reference in New Issue