Drag[en]gine Game Engine  1.0
dePhysicsSystem Class Reference

Physics System. More...

#include <dePhysicsSystem.h>

Inheritance diagram for dePhysicsSystem:
deBaseSystem

Public Member Functions

Constructors and Destructors
 dePhysicsSystem (deEngine *engine)
 
 ~dePhysicsSystem ()
 
Management
deBasePhysicsModuleGetActiveModule () const
 
void LoadComponent (deComponent *component)
 
void LoadModel (deModel *model)
 
void LoadSkin (deSkin *skin)
 
void LoadRig (deRig *rig)
 
void LoadWorld (deWorld *world)
 
void LoadCollider (deCollider *collider)
 
void LoadDecal (deDecal *decal)
 
void LoadTouchSensor (deTouchSensor *touchSensor)
 
void LoadHeightTerrain (deHeightTerrain *heightTerrain)
 
void LoadPropField (dePropField *propField)
 
void LoadForceField (deForceField *forceField)
 
void LoadParticleEmitter (deParticleEmitter *emitter)
 
void LoadParticleEmitterInstance (deParticleEmitterInstance *instance)
 
void LoadSmokeEmitter (deSmokeEmitter *smokeEmitter)
 
Overloadables
virtual void SetActiveModule (deLoadableModule *module)
 
virtual void ClearPermanents ()
 
virtual void PostStart ()
 
virtual void PreStop ()
 
- Public Member Functions inherited from deBaseSystem
 deBaseSystem (deEngine *engine, const char *systemName, int requiredModuleType)
 
virtual ~deBaseSystem ()
 
deEngineGetEngine () const
 
deLoadableModuleGetActiveLoadableModule () const
 
bool GetIsRunning () const
 
bool GetHasFailed () const
 
const char * GetSystemName () const
 
virtual bool CanStart ()
 
void SetHasFailed (bool hasFailed)
 
virtual void Start ()
 
virtual void Stop ()
 
void CheckAndActivateFirst (deModuleSystem::eModuleTypes type)
 
void LogInfo (const char *message)
 
void LogInfoFormat (const char *message,...)
 
void LogInfoFormatUsing (const char *message, va_list args)
 
void LogWarn (const char *message)
 
void LogWarnFormat (const char *message,...)
 
void LogWarnFormatUsing (const char *message, va_list args)
 
void LogError (const char *message)
 
void LogErrorFormat (const char *message,...)
 
void LogErrorFormatUsing (const char *message, va_list args)
 
void LogException (const deException &exception)
 

Detailed Description

Physics System.

Provides physical simulation support.

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Constructor & Destructor Documentation

◆ dePhysicsSystem()

dePhysicsSystem::dePhysicsSystem ( deEngine engine)

Creates a new physics system linked to the given engine.

◆ ~dePhysicsSystem()

dePhysicsSystem::~dePhysicsSystem ( )

Cleans up the physics system.

Member Function Documentation

◆ ClearPermanents()

virtual void dePhysicsSystem::ClearPermanents ( )
virtual

Clears cross references and links that could lead to memory leaks. Do not forget to call the super function.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ GetActiveModule()

◆ LoadCollider()

void dePhysicsSystem::LoadCollider ( deCollider collider)

Creates the peer object for the given collider using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadComponent()

void dePhysicsSystem::LoadComponent ( deComponent component)

Creates the peer object for the given component using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadDecal()

void dePhysicsSystem::LoadDecal ( deDecal decal)

Creates the peer object for the given decal using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadForceField()

void dePhysicsSystem::LoadForceField ( deForceField forceField)

Creates the peer object for the given force field using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadHeightTerrain()

void dePhysicsSystem::LoadHeightTerrain ( deHeightTerrain heightTerrain)

Creates the peer object for the given height terrain using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadModel()

void dePhysicsSystem::LoadModel ( deModel model)

Creates the peer object for the given model using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadParticleEmitter()

void dePhysicsSystem::LoadParticleEmitter ( deParticleEmitter emitter)

Creates the peer for the particle emitter using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadParticleEmitterInstance()

void dePhysicsSystem::LoadParticleEmitterInstance ( deParticleEmitterInstance instance)

Creates the peer for the particle emitter instance using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadPropField()

void dePhysicsSystem::LoadPropField ( dePropField propField)

Creates the peer object for the given prop field using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadRig()

void dePhysicsSystem::LoadRig ( deRig rig)

Creates the peer object for the given rig using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadSkin()

void dePhysicsSystem::LoadSkin ( deSkin skin)

Creates the peer object for the given skin using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadSmokeEmitter()

void dePhysicsSystem::LoadSmokeEmitter ( deSmokeEmitter smokeEmitter)

Creates the peer for the smoke emitter using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadTouchSensor()

void dePhysicsSystem::LoadTouchSensor ( deTouchSensor touchSensor)

Creates the peer object for the given touch sensor using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadWorld()

void dePhysicsSystem::LoadWorld ( deWorld world)

Creates the peer object for the given world using the active module and assigns it.

Referenced by GetActiveModule().

◆ PostStart()

virtual void dePhysicsSystem::PostStart ( )
virtual

Carry out here actions right after the system started up.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ PreStop()

virtual void dePhysicsSystem::PreStop ( )
virtual

Carry out here actions right before the system shuts down.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ SetActiveModule()

virtual void dePhysicsSystem::SetActiveModule ( deLoadableModule module)
virtual

Sets the active loadable module. Do not forget to call the super function.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().


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