/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ EP_ENUMBEG(EnemyDiveType) EP_ENUMVALUE(EDT_GROUND_ONLY, "Ground only"), EP_ENUMVALUE(EDT_DIVE_ONLY, "Dive only"), EP_ENUMVALUE(EDT_GROUND_DIVE, "Ground and dive"), EP_ENUMEND(EnemyDiveType); #define ENTITYCLASS CEnemyDive CEntityProperty CEnemyDive_properties[] = { CEntityProperty(CEntityProperty::EPT_ENUM, &EnemyDiveType_enum, (0x00000139<<8)+1, offsetof(CEnemyDive, m_EedtType), "Type", 'T', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000139<<8)+2, offsetof(CEnemyDive, m_bInLiquid), "In liquid", 'Q', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+10, offsetof(CEnemyDive, m_fDiveWalkSpeed), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_ANGLE, NULL, (0x00000139<<8)+11, offsetof(CEnemyDive, m_aDiveWalkRotateSpeed), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+12, offsetof(CEnemyDive, m_fDiveAttackRunSpeed), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_ANGLE, NULL, (0x00000139<<8)+13, offsetof(CEnemyDive, m_aDiveAttackRotateSpeed), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+14, offsetof(CEnemyDive, m_fDiveCloseRunSpeed), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_ANGLE, NULL, (0x00000139<<8)+15, offsetof(CEnemyDive, m_aDiveCloseRotateSpeed), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+20, offsetof(CEnemyDive, m_fDiveAttackDistance), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+21, offsetof(CEnemyDive, m_fDiveCloseDistance), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+22, offsetof(CEnemyDive, m_fDiveAttackFireTime), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+23, offsetof(CEnemyDive, m_fDiveCloseFireTime), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+24, offsetof(CEnemyDive, m_fDiveStopDistance), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+25, offsetof(CEnemyDive, m_fDiveIgnoreRange), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000139<<8)+26, offsetof(CEnemyDive, m_fDiveLockOnEnemyTime), "", 0, 0, 0), }; #define CEnemyDive_propertiesct ARRAYCOUNT(CEnemyDive_properties) CEntityComponent CEnemyDive_components[] = { #define CLASS_BASE ((0x00000139<<8)+1) CEntityComponent(ECT_CLASS, CLASS_BASE, "EFNM" "Classes\\EnemyBase.ecl"), }; #define CEnemyDive_componentsct ARRAYCOUNT(CEnemyDive_components) CEventHandlerEntry CEnemyDive_handlers[] = { {0x01390000, STATE_CEnemyBase_Hit, CEntity::pEventHandler(&CEnemyDive:: #line 192 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" Hit),DEBUGSTRING("CEnemyDive::Hit")}, {0x01390001, STATE_CEnemyBase_Fire, CEntity::pEventHandler(&CEnemyDive:: #line 202 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" Fire),DEBUGSTRING("CEnemyDive::Fire")}, {0x01390002, STATE_CEnemyBase_MainLoop, CEntity::pEventHandler(&CEnemyDive:: #line 215 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" MainLoop),DEBUGSTRING("CEnemyDive::MainLoop")}, {1, -1, CEntity::pEventHandler(&CEnemyDive:: #line 221 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" Main),DEBUGSTRING("CEnemyDive::Main")}, {0x01390003, -1, CEntity::pEventHandler(&CEnemyDive:: #line 231 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" GroundHit),DEBUGSTRING("CEnemyDive::GroundHit")}, {0x01390004, -1, CEntity::pEventHandler(&CEnemyDive:: #line 236 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" GroundFire),DEBUGSTRING("CEnemyDive::GroundFire")}, {0x01390005, -1, CEntity::pEventHandler(&CEnemyDive:: #line 242 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" DiveHit),DEBUGSTRING("CEnemyDive::DiveHit")}, {0x01390006, -1, CEntity::pEventHandler(&CEnemyDive:: #line 248 "D:/SE1_GPL/Sources/EntitiesMP/EnemyDive.es" DiveFire),DEBUGSTRING("CEnemyDive::DiveFire")}, }; #define CEnemyDive_handlersct ARRAYCOUNT(CEnemyDive_handlers) CEntity *CEnemyDive_New(void) { return new CEnemyDive; }; void CEnemyDive_OnInitClass(void) {}; void CEnemyDive_OnEndClass(void) {}; void CEnemyDive_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {}; void CEnemyDive_OnWorldEnd(CWorld *pwo) {}; void CEnemyDive_OnWorldInit(CWorld *pwo) {}; void CEnemyDive_OnWorldTick(CWorld *pwo) {}; void CEnemyDive_OnWorldRender(CWorld *pwo) {}; ENTITY_CLASSDEFINITION(CEnemyDive, CEnemyBase, "Enemy Dive", "", 0x00000139); DECLARE_CTFILENAME(_fnmCEnemyDive_tbn, "");