#include <butties.h>
void VivoFireworks_Outing()
{
if (IsAhHeeVisible())
AhHeePresent();
else
AhHeeNotPresent();
}
bool IsAhHeeVisible()
{
return bCanSeeAhHee;
}
void AhHeePresent()
{
switch (iAhHee_Status)
{
case IS_EATING:
printf("Is very normal.");
break;
case IS_EATING_AGAIN:
printf("Is normal.");
break;
default:
printf("He must be queuing for food.");
break;
}
}
void AhHeeNotPresent()
{
switch (iAhHee_Status)
{
case IS_ON_MRT:
printf("Going home.");
break;
case IS_AT_HOME:
printf("Take dinner.");
break;
case IS_IN_FRONT_OF_PC:
printf("Doing prawnish stuff.");
break;
default:
printf("Sleeping.");
break;
}
Func_Call_AhHee();
}
void Func_Call_AhHee()
{
long lAhHeeNumber = 97981314;
while (!IsAhHeeVisible())
{
Dial_Sequence(lAhHeeNumber);
Sleep(60000);
continue;
}
}
void Dial_Sequence(long _lPhoneNumber)
{
MobilePhoneOp *m_MPO = new MobilePhoneOp();
if (NULL != m_MPO)
{
m_MPO->SMS(_lPhoneNumber, "Whare r chiu buttie.");
m_MPO->Call(_lPhoneNumber, "Whare r chiu buttie.");
m_MPO->SMS(_lPhoneNumber, "chiu must cum to Vivo now.");
m_MPO->Call(_lPhoneNumber, "chiu must cum to Vivo now.");
delete m_MPO;
}
}