CHostage::CheckIfFreed

This commit is contained in:
krystalgamer 2024-07-11 19:49:15 +02:00
parent a991f12689
commit 5d45861b7f
2 changed files with 17 additions and 1 deletions

View File

@ -59,11 +59,26 @@ void __inline CHostage::HostageXAPlay(i32 a2, i32 a3, i32 a4)
this->AttachXA(a2, a3);
}
extern CBody* MechList[1];
// @TODO
void CHostage::CheckIfFreed(void)
void CHostage::TellSomebodyToShootMe(void)
{
}
INLINE void CHostage::CheckIfFreed(void)
{
if (Utils_CrapDist(MechList[0]->mPos, this->mPos) < 0xC8 || this->field_44 & 1)
{
if (DifficultyLevel == 1 || DifficultyLevel == 0)
this->field_218 |= 1;
this->Baddy_SendSignal();
this->field_324 = 4;
this->dumbAssPad = 0;
this->TellSomebodyToShootMe();
}
}
// @Ok
void CHostage::WaitForPlayer(void)
{

View File

@ -18,6 +18,7 @@ public:
EXPORT void CheckIfFreed(void);
EXPORT void HostageXAPlay(i32, i32, i32);
EXPORT void BegMotherfucker(void);
EXPORT void TellSomebodyToShootMe(void);
i32 field_324;