1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Add thought insertion overload with strong ride id type

This commit is contained in:
ζeh Matt
2021-09-04 18:37:49 +03:00
parent 078d12a207
commit e1e29379ba
2 changed files with 5 additions and 0 deletions

View File

@@ -6811,6 +6811,10 @@ void Guest::InsertNewThought(PeepThoughtType thought_type, ShopItem 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

View File

@@ -774,6 +774,7 @@ public:
void UpdateEasterEggInteractions();
void InsertNewThought(PeepThoughtType thought_type);
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);
static Guest* Generate(const CoordsXYZ& coords);
bool UpdateQueuePosition(PeepActionType previous_action);