|
| iGameEnemy (cInit *apInit, const tString &asName, TiXmlElement *apGameElem) |
|
void | LoadBaseProperties (TiXmlElement *apGameElem) |
|
void | OnPlayerInteract () |
|
void | OnPlayerPick () |
|
void | Setup (cWorld3D *apWorld) |
|
void | OnWorldLoad () |
|
void | OnPostLoadScripts () |
|
void | OnWorldExit () |
|
void | OnDraw () |
|
void | OnPostSceneDraw () |
|
virtual void | ExtraPostSceneDraw () |
|
void | Update (float afTimeStep) |
|
bool | IsLoading () |
|
void | OnDamage (float afX) |
|
void | OnDeath (float afX) |
|
void | OnFlashlight (const cVector3f &avPos) |
|
virtual void | OnSetActive (bool abX) |
|
virtual bool | MoveToPos (const cVector3f &avFeetPos)=0 |
|
virtual void | ShowPlayer (const cVector3f &avPlayerFeetPos) |
|
virtual bool | IsFighting () |
|
void | SetupBody () |
|
cVector3f | GetPosition () |
|
void | SetFOV (float afAngle) |
|
const tString & | GetHitPS () |
|
const tString & | GetEnemyType () |
|
const tString & | GetCloseMusic () |
|
int | GetCloseMusicPrio () |
|
float | GetCloseMusicStartDist () |
|
float | GetCloseMusicStopDist () |
|
const tString & | GetAttackMusic () |
|
int | GetAttackMusicPrio () |
|
void | AddState (iGameEnemyState *apState) |
|
void | ChangeState (int alId) |
|
iGameEnemyState * | GetState (int alId) |
|
int | GetCurrentStateId () |
|
bool | HandleTrigger (cGameTrigger *apTrigger) |
|
eGameTriggerType | GetTriggerTypes () |
|
float | GetTriggerUpdateCount () |
|
void | SetTriggerUpdateCount (float afX) |
|
float | GetTriggerUpdateRate () |
|
void | SetSkipSoundTriggerCount (float afX) |
|
void | PlayAnim (const tString &asName, bool abLoop, float afFadeTime, bool abDependsOnSpeed=false, float afSpeedMul=1.0f, bool abSyncWithPrevFrame=false, bool abOverideMoveState=true) |
|
void | UseMoveStateAnimations () |
|
cAnimationState * | GetCurrentAnimation () |
|
void | PlaySound (const tString &asName) |
|
void | SetOnDeathCallback (const tString &asFunc) |
|
void | SetOnAttackCallback (const tString &asFunc) |
|
tString | GetOnAttackCallback () |
|
bool | CanSeePlayer () |
|
cCharacterMove * | GetMover () |
|
cVector3f | GetLastPlayerPos () |
|
void | SetLastPlayerPos (const cVector3f &avPos) |
|
void | SetTempPosition (const cVector3f &avPos) |
|
cVector3f | GetTempPosition () |
|
void | SetTempFloat (float afX) |
|
float | GetTempFloat () |
|
cEnemyFindGround * | GetGroundFinder () |
|
cEnemyCheckForDoor * | GetDoorChecker () |
|
bool | CheckForDoor () |
|
bool | CheckForTeamMate (float afMaxDist, bool abCheckIfFighting) |
|
bool | IsAttracted () |
|
void | SetAttracted (bool abX) |
|
bool | GetUsesTriggers () |
|
void | SetUsesTriggers (bool abX) |
|
void | AddPatrolNode (const tString &asNode, float afTime, const tString &asAnimation) |
|
cEnemyPatrolNode * | GetPatrolNode (int alIdx) |
|
int | GetPatrolNodeNum () |
|
cEnemyPatrolNode * | CurrentPatrolNode () |
|
void | ClearPatrolNodes () |
|
int | GetCurrentPatrolNode () |
|
float | GetWaitTime () |
|
float | GetWaitTimeCount () |
|
void | SetCurrentPatrolNode (int alX) |
|
void | IncCurrentPatrolNode () |
|
void | SetWaitTime (float afX) |
|
void | SetWaitTimeCount (float afX) |
|
void | AddWaitTimeCount (float afX) |
|
float | GetDoorBreakCount () |
|
void | SetDoorBreakCount (float afX) |
|
void | AddDoorBreakCount (float afX) |
|
const cVector3f & | GetModelOffsetAngles () |
|
virtual void | OnUpdate (float afTimeStep)=0 |
|
virtual void | OnLoad ()=0 |
|
iGameEntity_SaveData * | CreateSaveData () |
|
void | SaveToSaveData (iGameEntity_SaveData *apSaveData) |
|
void | LoadFromSaveData (iGameEntity_SaveData *apSaveData) |
|
| iGameEntity (cInit *apInit, const tString &asName) |
|
const tString & | GetName () |
|
bool | IsActive () |
|
void | SetActive (bool abX) |
|
virtual bool | IsSaved () |
|
void | OnUpdate (float afTimeStep) |
|
eGameEntityType | GetType () |
|
const tString & | GetSubType () |
|
void | SetDescription (const tWString &asDesc) |
|
const tWString & | GetDescription () |
|
void | SetShowDescritionOnce (bool abX) |
|
bool | GetShowDescritionOnce () |
|
bool | GetHasBeenExamined () |
|
void | SetGameName (const tWString &asName) |
|
const tWString & | GetGameName () |
|
iPhysicsBody * | GetBody (int alNum) |
|
int | GetBodyNum () |
|
void | SetBodies (Common::Array< iPhysicsBody *> &avBodies) |
|
iPhysicsJoint * | GetJoint (int alNum) |
|
int | GetJointNum () |
|
void | SetJoints (Common::Array< iPhysicsJoint *> &avJoints) |
|
int | GetLightNum () |
|
iLight3D * | GetLight (int alX) |
|
void | SetLights (Common::Array< iLight3D *> &avLights) |
|
void | SetParticleSystems (Common::Array< cParticleSystem3D *> &avParticleSystems) |
|
void | SetBillboards (Common::Array< cBillboard *> &avBillboards) |
|
void | SetBeams (Common::Array< cBeam *> &avBeams) |
|
void | SetSoundEntities (Common::Array< cSoundEntity *> &avSoundEntities) |
|
void | DestroyLight (iLight3D *apLight) |
|
void | DestroyParticleSystem (cParticleSystem3D *apPS) |
|
void | DestroyBillboard (cBillboard *apBillboard) |
|
void | SetSoundEntity (cSoundEntity *apSound) |
|
cMeshEntity * | GetMeshEntity () |
|
void | SetMeshEntity (cMeshEntity *apEnity) |
|
void | PlayerPick () |
|
void | PlayerInteract () |
|
void | PlayerExamine () |
|
virtual void | OnPlayerExamine () |
|
virtual bool | OnUseItem (cInventoryItem *apItem) |
|
virtual void | BreakAction () |
|
virtual void | OnPlayerGravityCollide (iCharacterBody *apCharBody, cCollideData *apCollideData) |
|
bool | GetHasInteraction () |
|
float | GetMaxExamineDist () |
|
void | SetMaxExamineDist (float afX) |
|
float | GetMaxInteractDist () |
|
void | SetMaxInteractDist (float afX) |
|
virtual eCrossHairState | GetPickCrossHairState (iPhysicsBody *apBody) |
|
virtual float | GetPickedDistance () |
|
void | AddCollideScript (eGameCollideScriptType aType, const tString &asFunc, const tString &asEntity) |
|
void | RemoveCollideScript (eGameCollideScriptType aType, const tString &asFunc) |
|
void | RemoveCollideScriptWithChildEntity (iGameEntity *apEntity) |
|
void | AddScript (eGameEntityScriptType aType, const tString &asFunc) |
|
void | RemoveScript (eGameEntityScriptType aType) |
|
void | CreateVar (const tString &asName, int alVal) |
|
void | SetVar (const tString &asName, int alVal) |
|
void | AddVar (const tString &asName, int alVal) |
|
int | GetVar (const tString &asName) |
|
void | Damage (float afDamage, int alStrength) |
|
float | GetHealth () |
|
void | SetHealth (float afHealth) |
|
void | SetToughness (int alX) |
|
int | GetToughness () |
|
bool | GetDestroyMe () |
|
bool | GetBreakMe () |
|
void | Break () |
|
void | SetCharBody (iCharacterBody *apCharBody) |
|
iCharacterBody * | SetCharBody () |
|
void | SetUpTransMaterials () |
|
void | SetTransActive (bool abX) |
|
void | SetPauseControllers (bool abX) |
|
bool | GetPauseControllers () |
|
void | SetPauseGravity (bool abX) |
|
bool | GetPauseGravity () |
|
const cMatrixf & | GetOnLoadTransform () |
|
void | SetOnLoadTransform (const cMatrixf &a_mtxPose) |
|
void | SetLastImpulse (const cVector3f &avVec) |
|
const tString & | GetFileName () |
|
cGameEntityScript * | GetCallbackScript (eGameEntityScriptType aType) |
|
void | SetSaveData (iGameEntity_SaveData *apData) |
|
iGameEntity_SaveData * | GetSaveData () |
|
virtual void | SetupSaveData (iGameEntity_SaveData *apSaveData) |
|