ScummVM API documentation
cGameStickArea Class Reference
Inheritance diagram for cGameStickArea:
iGameEntity

Public Member Functions

 cGameStickArea (cInit *apInit, const tString &asName)
 
void OnPlayerPick ()
 
void Update (float afTimeStep)
 
void OnPostSceneDraw ()
 
iPhysicsBodyGetAttachedBody ()
 
void DetachBody ()
 
void SetAttachFunction (const tString &asX)
 
void SetDetachFunction (const tString &asX)
 
void SetAttachSound (const tString &asX)
 
void SetDetachSound (const tString &asX)
 
void SetAttachPS (const tString &asX)
 
void SetDetachPS (const tString &asX)
 
void SetCanDeatch (bool abX)
 
bool GetCanDeatch ()
 
void SetCheckCenterInArea (bool abX)
 
void SetPoseTime (float afX)
 
void SetMoveBody (bool abX)
 
bool GetMoveBody ()
 
void SetRotateBody (bool abX)
 
bool GetRotateBody ()
 
tString GetCallbackFunc (const tString &asFunc, iPhysicsBody *apBody)
 
iGameEntity_SaveDataCreateSaveData ()
 
void SaveToSaveData (iGameEntity_SaveData *apSaveData)
 
void LoadFromSaveData (iGameEntity_SaveData *apSaveData)
 
void SetupSaveData (iGameEntity_SaveData *apSaveData)
 
- Public Member Functions inherited from iGameEntity
 iGameEntity (cInit *apInit, const tString &asName)
 
const tStringGetName ()
 
bool IsActive ()
 
void SetActive (bool abX)
 
virtual void OnSetActive (bool abX)
 
virtual bool IsSaved ()
 
virtual void OnWorldLoad ()
 
virtual void OnPostLoadScripts ()
 
virtual void OnWorldExit ()
 
virtual void OnDraw ()
 
void OnUpdate (float afTimeStep)
 
eGameEntityType GetType ()
 
const tStringGetSubType ()
 
void SetDescription (const tWString &asDesc)
 
const tWStringGetDescription ()
 
void SetShowDescritionOnce (bool abX)
 
bool GetShowDescritionOnce ()
 
bool GetHasBeenExamined ()
 
void SetGameName (const tWString &asName)
 
const tWStringGetGameName ()
 
iPhysicsBodyGetBody (int alNum)
 
int GetBodyNum ()
 
void SetBodies (Common::Array< iPhysicsBody *> &avBodies)
 
iPhysicsJointGetJoint (int alNum)
 
int GetJointNum ()
 
void SetJoints (Common::Array< iPhysicsJoint *> &avJoints)
 
int GetLightNum ()
 
iLight3DGetLight (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)
 
cMeshEntityGetMeshEntity ()
 
void SetMeshEntity (cMeshEntity *apEnity)
 
void PlayerPick ()
 
void PlayerInteract ()
 
void PlayerExamine ()
 
virtual void OnPlayerInteract ()
 
virtual void OnPlayerExamine ()
 
virtual bool OnUseItem (cInventoryItem *apItem)
 
virtual void BreakAction ()
 
virtual void OnDamage (float afDamage)
 
virtual void OnDeath (float afDamage)
 
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)
 
iCharacterBodySetCharBody ()
 
void SetUpTransMaterials ()
 
void SetTransActive (bool abX)
 
void SetPauseControllers (bool abX)
 
bool GetPauseControllers ()
 
void SetPauseGravity (bool abX)
 
bool GetPauseGravity ()
 
const cMatrixfGetOnLoadTransform ()
 
void SetOnLoadTransform (const cMatrixf &a_mtxPose)
 
void SetLastImpulse (const cVector3f &avVec)
 
const tStringGetFileName ()
 
cGameEntityScriptGetCallbackScript (eGameEntityScriptType aType)
 
void SetSaveData (iGameEntity_SaveData *apData)
 
iGameEntity_SaveDataGetSaveData ()
 

Static Public Attributes

static bool mbAllowAttachment
 

Additional Inherited Members

- Protected Member Functions inherited from iGameEntity
tString GetScriptCommand (eGameEntityScriptType aType)
 
void PreloadModel (const tString &asFile)
 
- Protected Attributes inherited from iGameEntity
cInitmpInit
 
bool mbActive
 
tString msFileName
 
bool mbIsSaved
 
bool mbDestroyMe
 
bool mbBreakMe
 
bool mbHasInteraction
 
bool mbHasBeenExamined
 
tString msName
 
tString msSubType
 
float mfHealth
 
int mlToughness
 
tWString msGameName
 
tWString msDescription
 
bool mbShowDescritionOnce
 
float mfMaxExamineDist
 
float mfMaxInteractDist
 
eGameEntityType mType
 
bool mbPauseControllers
 
bool mbPauseGravity
 
cMatrixf m_mtxOnLoadTransform
 
iGameEntity_SaveDatampSaveData
 
Common::Array< iPhysicsBody * > mvBodies
 
Common::Array< iPhysicsJoint * > mvJoints
 
Common::Array< iLight3D * > mvLights
 
Common::Array< cParticleSystem3D * > mvParticleSystems
 
Common::Array< cBillboard * > mvBillboards
 
Common::Array< cBeam * > mvBeams
 
Common::Array< cSoundEntity * > mvSoundEntities
 
bool mbSaveLights
 
cMeshEntitympMeshEntity
 
Common::Array< iMaterial * > mvNormalMaterials
 
Common::Array< iMaterial * > mvTransMaterials
 
bool mbTransActive
 
bool mbTransShadow
 
cVector3f mvLastImpulse
 
Common::Array< cMesh * > mvPreloadedBreakMeshes
 
iCharacterBodympCharBody
 
cGameEntityScriptmvCallbackScripts [eGameEntityScriptType_LastEnum]
 
tGameCollideScriptMap m_mapCollideCallbacks
 
tGameEntityVarMap m_mapVars
 
bool mbUpdatingCollisionCallbacks
 

The documentation for this class was generated from the following file: