Serious-Engine/Sources/EntitiesMP/EnemyRunInto.cpp
2016-03-11 15:57:17 +02:00

359 lines
18 KiB
C++

/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#line 4 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
#include "StdH.h"
#include <EntitiesMP/EnemyRunInto.h>
#include <EntitiesMP/EnemyRunInto_tables.h>
void CEnemyRunInto::SetDefaultProperties(void) {
m_penLastTouched = NULL;
m_fLastTouchedTime = 0.0f;
m_bWhileLoop = FALSE ;
m_fMassKicked = 0.0f;
m_fInertionRunTime = 1.3f;
m_fStopApproachDistance = 6.75f;
m_fChargeDistance = 15.0f;
m_bUseChargeAnimation = FALSE ;
m_fAttackRotateRunInto = 1.0f;
CEnemyBase::SetDefaultProperties();
}
void CEnemyRunInto::AdjustDifficulty(void)
#line 32 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
{
#line 33 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
FLOAT fMoveSpeed = GetSP () -> sp_fEnemyMovementSpeed ;
#line 34 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fAttackRotateRunInto *= fMoveSpeed ;
#line 36 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
CEnemyBase :: AdjustDifficulty ();
#line 37 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 41 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
void CEnemyRunInto::IncreaseKickedMass(CEntity * pen) {
#line 42 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
EntityInfo * peiTarget = (EntityInfo *) (pen -> GetEntityInfo ());
#line 43 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(peiTarget != NULL ){
#line 44 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMassKicked += peiTarget -> fMass ;
#line 45 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 46 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
void CEnemyRunInto::LiveEntityTouched(ETouch etouch) {}
BOOL CEnemyRunInto::HigherMass(void) {return FALSE ;}
void CEnemyRunInto::ChargeAnim(void) {}
BOOL CEnemyRunInto::
#line 66 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Fire(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_Fire
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::Fire expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 67 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMassKicked = 0.0f;
#line 68 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_penLastTouched = NULL ;
#line 70 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Jump(STATE_CURRENT, STATE_CEnemyRunInto_RotateToEnemy, TRUE, EVoid());return TRUE; ASSERT(FALSE); return TRUE;};BOOL CEnemyRunInto::
#line 74 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
RotateToEnemy(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_RotateToEnemy
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::RotateToEnemy expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 76 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(! (m_penEnemy -> GetFlags () & ENF_ALIVE ) || m_penEnemy -> GetFlags () & ENF_DELETED ){
#line 77 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetTargetNone ();
#line 78 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 78 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 79 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 82 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_bWhileLoop = TRUE ;
#line 83 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Jump(STATE_CURRENT,0x01380004, FALSE, EInternal());return TRUE;}BOOL CEnemyRunInto::H0x01380004_RotateToEnemy_03(const CEntityEvent &__eeInput){
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380004
if(!(m_penEnemy != NULL && m_bWhileLoop )){ Jump(STATE_CURRENT,0x01380005, FALSE, EInternal());return TRUE;}
#line 84 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMoveFrequency = 0.1f;
#line 85 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetTimerAfter(m_fMoveFrequency );
Jump(STATE_CURRENT, 0x01380002, FALSE, EBegin());return TRUE;}BOOL CEnemyRunInto::H0x01380002_RotateToEnemy_01(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380002
switch(__eeInput.ee_slEvent){case(EVENTCODE_EBegin):{const EBegin&e= (EBegin&)__eeInput;
#line 88 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_vDesiredPosition = m_penEnemy -> GetPlacement () . pl_PositionVector ;
#line 90 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(! IsInPlaneFrustum (m_penEnemy , CosFast (15.0f))){
#line 91 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_aRotateSpeed = m_fAttackRotateRunInto ;
#line 92 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMoveSpeed = 0.0f;
#line 94 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
ULONG ulFlags = SetDesiredMovement ();
#line 95 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
MovementAnimation (ulFlags );
#line 96 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}else {
#line 97 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_aRotateSpeed = 0.0f;
#line 98 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMoveSpeed = 0.0f;
#line 99 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_bWhileLoop = FALSE ;
#line 100 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 101 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 102 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}ASSERT(FALSE);break;case(EVENTCODE_ESound):{const ESound&e= (ESound&)__eeInput;
return TRUE;}ASSERT(FALSE);break;case(EVENTCODE_EWatch):{const EWatch&e= (EWatch&)__eeInput;
return TRUE;}ASSERT(FALSE);break;case(EVENTCODE_ETimer):{const ETimer&e= (ETimer&)__eeInput;
UnsetTimer();Jump(STATE_CURRENT,0x01380003, FALSE, EInternal());return TRUE;}ASSERT(FALSE);break;default: return FALSE; break;
#line 106 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}return TRUE;}BOOL CEnemyRunInto::H0x01380003_RotateToEnemy_02(const CEntityEvent &__eeInput){
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380003
Jump(STATE_CURRENT,0x01380004, FALSE, EInternal());return TRUE;
#line 107 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}BOOL CEnemyRunInto::H0x01380005_RotateToEnemy_04(const CEntityEvent &__eeInput) {
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380005
#line 109 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Jump(STATE_CURRENT, STATE_CEnemyRunInto_RunIntoEnemy, TRUE, EVoid());return TRUE; ASSERT(FALSE); return TRUE;};BOOL CEnemyRunInto::
#line 176 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
RunIntoEnemy(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_RunIntoEnemy
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::RunIntoEnemy expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 178 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(! (m_penEnemy -> GetFlags () & ENF_ALIVE ) || m_penEnemy -> GetFlags () & ENF_DELETED ){
#line 179 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetTargetNone ();
#line 180 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 180 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 181 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 184 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_bWhileLoop = TRUE ;
#line 185 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Jump(STATE_CURRENT,0x01380009, FALSE, EInternal());return TRUE;}BOOL CEnemyRunInto::H0x01380009_RunIntoEnemy_03(const CEntityEvent &__eeInput){
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380009
if(!(m_penEnemy != NULL && m_bWhileLoop )){ Jump(STATE_CURRENT,0x0138000a, FALSE, EInternal());return TRUE;}
#line 186 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMoveFrequency = 0.1f;
#line 187 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetTimerAfter(m_fMoveFrequency );
Jump(STATE_CURRENT, 0x01380007, FALSE, EBegin());return TRUE;}BOOL CEnemyRunInto::H0x01380007_RunIntoEnemy_01(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380007
switch(__eeInput.ee_slEvent){case(EVENTCODE_EBegin):{const EBegin&e= (EBegin&)__eeInput;
#line 190 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(! SeeEntity (m_penEnemy , CosFast (90.0f)) || CalcDist (m_penEnemy ) < m_fStopApproachDistance ){
#line 192 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_bWhileLoop = FALSE ;
#line 193 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
UnsetTimer();Jump(STATE_CURRENT,0x01380008, FALSE, EInternal());return TRUE;
#line 194 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 196 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_fMoveSpeed = m_fAttackRunSpeed ;
#line 197 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_aRotateSpeed = m_fAttackRotateRunInto ;
#line 198 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_vDesiredPosition = m_penEnemy -> GetPlacement () . pl_PositionVector ;
#line 199 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetDesiredMovement ();
#line 200 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(m_bUseChargeAnimation && CalcDist (m_penEnemy ) < m_fChargeDistance ){
#line 201 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
ChargeAnim ();
#line 202 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}else {
#line 203 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
RunningAnim ();
#line 204 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 206 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
AddToFuss ();
#line 207 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 208 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}ASSERT(FALSE);break;case(EVENTCODE_ETouch):{const ETouch&etouch= (ETouch&)__eeInput;
#line 212 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(etouch . penOther -> GetFlags () & ENF_ALIVE ){
#line 214 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
LiveEntityTouched (etouch );
#line 216 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(HigherMass ()){
#line 218 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_penLastTouched = NULL ;
#line 219 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 219 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 220 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 222 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(etouch . penOther == m_penEnemy ){
#line 224 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_bWhileLoop = FALSE ;
#line 225 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
UnsetTimer();Jump(STATE_CURRENT,0x01380008, FALSE, EInternal());return TRUE;
#line 226 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 228 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}else if(! (etouch . penOther -> GetPhysicsFlags () & EPF_MOVABLE ) &&
#line 229 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
(FLOAT3D (etouch . plCollision ) % - en_vGravityDir ) < CosFast (50.0f)){
#line 231 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_penLastTouched = NULL ;
#line 232 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 232 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 233 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 234 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 235 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}ASSERT(FALSE);break;case(EVENTCODE_ETimer):{const ETimer&e= (ETimer&)__eeInput;
UnsetTimer();Jump(STATE_CURRENT,0x01380008, FALSE, EInternal());return TRUE;}ASSERT(FALSE);break;case(EVENTCODE_EDeath):{const EDeath&e= (EDeath&)__eeInput;
return FALSE;}ASSERT(FALSE);break;default:{return TRUE;}ASSERT(FALSE);break;
#line 239 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}return TRUE;}BOOL CEnemyRunInto::H0x01380008_RunIntoEnemy_02(const CEntityEvent &__eeInput){
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x01380008
Jump(STATE_CURRENT,0x01380009, FALSE, EInternal());return TRUE;
#line 240 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}BOOL CEnemyRunInto::H0x0138000a_RunIntoEnemy_04(const CEntityEvent &__eeInput) {
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x0138000a
#line 241 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Jump(STATE_CURRENT, STATE_CEnemyRunInto_RunAwayFromEnemy, TRUE, EVoid());return TRUE; ASSERT(FALSE); return TRUE;};BOOL CEnemyRunInto::
#line 244 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
RunAwayFromEnemy(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_RunAwayFromEnemy
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::RunAwayFromEnemy expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 246 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(! (m_penEnemy -> GetFlags () & ENF_ALIVE ) || m_penEnemy -> GetFlags () & ENF_DELETED ){
#line 247 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetTargetNone ();
#line 248 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 248 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 249 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 252 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
StopRotating ();
#line 253 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
SetTimerAfter(m_fInertionRunTime );
Jump(STATE_CURRENT, 0x0138000c, FALSE, EBegin());return TRUE;}BOOL CEnemyRunInto::H0x0138000c_RunAwayFromEnemy_01(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT 0x0138000c
switch(__eeInput.ee_slEvent){case(EVENTCODE_EBegin):{const EBegin&e= (EBegin&)__eeInput;
return TRUE;}ASSERT(FALSE);break;case(EVENTCODE_ETouch):{const ETouch&etouch= (ETouch&)__eeInput;
#line 257 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(etouch . penOther -> GetFlags () & ENF_ALIVE ){
#line 258 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
LiveEntityTouched (etouch );
#line 260 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
if(HigherMass ()){
#line 261 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_penLastTouched = NULL ;
#line 262 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 262 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 263 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 265 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}else if(! (etouch . penOther -> GetPhysicsFlags () & EPF_MOVABLE ) &&
#line 266 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
(FLOAT3D (etouch . plCollision ) % - en_vGravityDir ) < CosFast (50.0f)){
#line 267 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_penLastTouched = NULL ;
#line 268 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 268 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 269 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}
#line 270 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE;
#line 271 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}ASSERT(FALSE);break;case(EVENTCODE_ETimer):{const ETimer&e= (ETimer&)__eeInput;
UnsetTimer();Jump(STATE_CURRENT,0x0138000d, FALSE, EInternal());return TRUE;}ASSERT(FALSE);break;case(EVENTCODE_EDeath):{const EDeath&e= (EDeath&)__eeInput;
return FALSE;}ASSERT(FALSE);break;default:{return TRUE;}ASSERT(FALSE);break;
#line 275 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
}return TRUE;}BOOL CEnemyRunInto::H0x0138000d_RunAwayFromEnemy_02(const CEntityEvent &__eeInput){
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
#undef STATE_CURRENT
#define STATE_CURRENT 0x0138000d
#line 277 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
m_penLastTouched = NULL ;
#line 278 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
STATE_CEnemyRunInto_PostRunAwayFromEnemy, TRUE;
Jump(STATE_CURRENT, 0x0138000e, FALSE, EBegin());return TRUE;}BOOL CEnemyRunInto::H0x0138000e_RunAwayFromEnemy_03(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT 0x0138000e
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: Call(STATE_CURRENT, STATE_CEnemyRunInto_PostRunAwayFromEnemy, TRUE, EVoid());return TRUE;case EVENTCODE_EReturn: Jump(STATE_CURRENT,0x0138000f, FALSE, __eeInput); return TRUE;default: return FALSE; }}BOOL CEnemyRunInto::H0x0138000f_RunAwayFromEnemy_04(const CEntityEvent &__eeInput){
#undef STATE_CURRENT
#define STATE_CURRENT 0x0138000f
const EReturn&__e= (EReturn&)__eeInput;
;
#line 279 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 279 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE; ASSERT(FALSE); return TRUE;};BOOL CEnemyRunInto::
#line 282 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
PostRunAwayFromEnemy(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_PostRunAwayFromEnemy
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::PostRunAwayFromEnemy expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 283 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EReturn ());
#line 283 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE; ASSERT(FALSE); return TRUE;};BOOL CEnemyRunInto::
#line 287 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
MainLoop(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_MainLoop
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::MainLoop expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 288 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Jump(STATE_CURRENT, STATE_CEnemyBase_MainLoop, FALSE, EVoid());return TRUE; ASSERT(FALSE); return TRUE;};BOOL CEnemyRunInto::
#line 292 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Main(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CEnemyRunInto_Main
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CEnemyRunInto::Main expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 293 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
Return(STATE_CURRENT,EVoid());
#line 293 "D:/SE1_GPL/Sources/EntitiesMP/EnemyRunInto.es"
return TRUE; ASSERT(FALSE); return TRUE;};