ScummVM API documentation
hpl::cWorld3D Class Reference

Public Member Functions

 cWorld3D (tString asName, cGraphics *apGraphics, cResources *apResources, cSound *apSound, cPhysics *apPhysics, cScene *apScene, cSystem *apSystem, cAI *apAI)
 
tString GetName ()
 
bool CreateFromFile (tString asFile)
 
void SetFileName (const tString &asFile)
 
const tStringGetFileName ()
 
void Update (float afTimeStep)
 
void PreUpdate (float afTotalTime, float afTimeStep)
 
cVector3f GetWorldSize ()
 
iScriptGetScript ()
 
void SetScript (iScript *apScript)
 
iRenderableContainerGetRenderContainer ()
 
cPortalContainerGetPortalContainer ()
 
cPhysicsGetPhysics ()
 
cResourcesGetResources ()
 
cSoundGetSound ()
 
cSystemGetSystem ()
 
iEntity3DCreateEntity (const tString &asName, const cMatrixf &a_mtxTransform, const tString &asFile, bool abLoadReferences)
 
void SetUpData ()
 
void AddSaveData (cSaveDataHandler *apHandler)
 
void SetPhysicsWorld (iPhysicsWorld *apWorld, bool abAutoDelete=true)
 
iPhysicsWorldGetPhysicsWorld ()
 
cAreaEntityCreateAreaEntity (const tString &asName)
 
cAreaEntityGetAreaEntity (const tString &asName)
 
tAreaEntityMapGetAreaEntityMap ()
 
cMeshEntityCreateMeshEntity (const tString &asName, cMesh *apMesh, bool abAddToContainer=true)
 
void DestroyMeshEntity (cMeshEntity *apMesh)
 
cMeshEntityGetMeshEntity (const tString &asName)
 
cMeshEntityIterator GetMeshEntityIterator ()
 
void DrawMeshBoundingBoxes (const cColor &aColor, bool abStatic)
 
cLight3DPointCreateLightPoint (const tString &asName="", bool abAddToContainer=true)
 
cLight3DSpotCreateLightSpot (const tString &asName="", const tString &asGobo="", bool abAddToContainer=true)
 
void DestroyLight (iLight3D *apLight)
 
iLight3DGetLight (const tString &asName)
 
tLight3DListGetLightList ()
 
cLight3DListIterator GetLightIterator ()
 
cBillboardCreateBillboard (const tString &asName, const cVector2f &avSize, const tString &asMaterial="", bool abAddToContainer=true, cMatrixf *apTransform=NULL)
 
void DestroyBillboard (cBillboard *apObject)
 
cBillboardGetBillboard (const tString &asName)
 
cBillboardIterator GetBillboardIterator ()
 
cBeamCreateBeam (const tString &asName)
 
void DestroyBeam (cBeam *apObject)
 
cBeamGetBeam (const tString &asName)
 
cBeamIterator GetBeamIterator ()
 
cParticleSystem3DCreateParticleSystem (const tString &asName, const tString &asType, const cVector3f &avSize, const cMatrixf &a_mtxTransform)
 
void DestroyParticleSystem (cParticleSystem3D *apPS)
 
cParticleSystem3DGetParticleSystem (const tString &asName)
 
bool ParticleSystemExists (cParticleSystem3D *apPS)
 
cParticleSystem3DIterator GetParticleSystemIterator ()
 
cColliderEntityCreateColliderEntity (const tString &asName, iPhysicsBody *apBody)
 
void DestroyColliderEntity (cColliderEntity *apCollider)
 
cColliderEntityGetColliderEntity (const tString &asName)
 
cSoundEntityCreateSoundEntity (const tString &asName, const tString &asSoundEntity, bool abRemoveWhenOver)
 
void DestroySoundEntity (cSoundEntity *apEntity)
 
cSoundEntityGetSoundEntity (const tString &asName)
 
void DestroyAllSoundEntities ()
 
bool SoundEntityExists (cSoundEntity *apEntity)
 
cSoundEntityIterator GetSoundEntityIterator ()
 
cStartPosEntityCreateStartPos (const tString &asName)
 
cStartPosEntityGetStartPosEntity (const tString &asName)
 
cStartPosEntityGetFirstStartPosEntity ()
 
void GenerateAINodes (cAINodeGeneratorParams *apParams)
 
cAINodeContainerCreateAINodeContainer (const tString &asName, const tString &asNodeName, const cVector3f &avSize, bool abNodeIsAtCenter, int alMinEdges, int alMaxEdges, float afMaxEdgeDistance, float afMaxHeight)
 
cAStarHandlerCreateAStarHandler (cAINodeContainer *apContainer)
 
void AddAINode (const tString &asName, const tString &asType, const cVector3f &avPosition)
 
tTempAiNodeListGetAINodeList (const tString &asType)
 

Member Function Documentation

◆ SetUpData()

void hpl::cWorld3D::SetUpData ( )

Call this when all things have been added to set up things like physics world size.


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