Drag[en]gine Game Engine  1.0
deBasePhysicsModule Class Referenceabstract

Base Physics Module. The physics module provides physical simulations on colliders. More...

#include <deBasePhysicsModule.h>

Inheritance diagram for deBasePhysicsModule:
deBaseModule

Public Member Functions

Constructors and Destructors
 deBasePhysicsModule (deLoadableModule &loadableModule)
 
virtual ~deBasePhysicsModule ()
 
Module Management
virtual bool Init ()=0
 
virtual void CleanUp ()=0
 
Management
virtual deBasePhysicsComponentCreateComponent (deComponent *comp)=0
 
virtual deBasePhysicsModelCreateModel (deModel *model)=0
 
virtual deBasePhysicsSkinCreateSkin (deSkin *skin)=0
 
virtual deBasePhysicsRigCreateRig (deRig *rig)=0
 
virtual deBasePhysicsWorldCreateWorld (deWorld *world)=0
 
virtual deBasePhysicsColliderCreateCollider (deCollider *collider)=0
 
virtual deBasePhysicsDecalCreateDecal (deDecal *decal)=0
 
virtual deBasePhysicsTouchSensorCreateTouchSensor (deTouchSensor *touchSensor)=0
 
virtual deBasePhysicsHeightTerrainCreateHeightTerrain (deHeightTerrain *heightTerrain)=0
 
virtual deBasePhysicsPropFieldCreatePropField (dePropField *propField)=0
 
virtual deBasePhysicsForceFieldCreateForceField (deForceField *forceField)=0
 
virtual deBasePhysicsParticleEmitterCreateParticleEmitter (deParticleEmitter *emitter)=0
 
virtual deBasePhysicsParticleEmitterInstanceCreateParticleEmitterInstance (deParticleEmitterInstance *instance)=0
 
virtual deBasePhysicsSmokeEmitterCreateSmokeEmitter (deSmokeEmitter *smokeEmitter)=0
 
- Public Member Functions inherited from deBaseModule
 deBaseModule (deLoadableModule &loadableModule)
 Creates a new base module. More...
 
virtual ~deBaseModule ()
 Cleans up the base module. More...
 
virtual int GetParameterCount () const
 Retrieves the count of parameters. More...
 
virtual void GetParameterInfo (int index, deModuleParameter *parameter) const
 Retrieves the informations about the given indexec parameter. More...
 
virtual int FindParameter (const char *name) const
 Retrieves the index of the parameter with the given name or -1 if not found. More...
 
virtual float GetParameterValue (int index) const
 Retrieves the value of the parameter at the given index. More...
 
virtual void SetParameterValue (int index, float value)
 Sets the parameter of the parameter at the given index. More...
 
virtual void SendCommand (const decUnicodeArgumentList &command, decUnicodeString &answer)
 Sends a command to the module and retrieves an answer from it. More...
 
void LogInfo (const char *message)
 Outputs an information message on the console. More...
 
void LogInfoFormat (const char *message,...)
 Outputs a formated information message on the console. More...
 
void LogInfoFormatUsing (const char *message, va_list args)
 Outputs a formated information message on the console. More...
 
void LogWarn (const char *message)
 Outputs a warning message on the console. More...
 
void LogWarnFormat (const char *message,...)
 Outputs a formated warning message on the console. More...
 
void LogWarnFormatUsing (const char *message, va_list args)
 Outputs a formated warning message on the console. More...
 
void LogError (const char *message)
 Outputs an error message on the console. More...
 
void LogErrorFormat (const char *message,...)
 Outputs a formated error message on the console. More...
 
void LogErrorFormatUsing (const char *message, va_list args)
 Outputs a formated error message on the console. More...
 
void LogException (const deException &exception)
 Outputs an exception as error message on the console. More...
 
deEngineGetGameEngine () const
 Retrieves the game engine object. More...
 
deLoadableModuleGetLoadableModule () const
 Retrieves the loadable module. More...
 
deOSGetOS () const
 Retrieves the os object from the game engine. More...
 
deVirtualFileSystemGetVFS () const
 Retrieves the module virtual file system. More...
 
deErrorTracePointSetErrorTrace (const char *error, const char *sourceFunc, int sourceLine)
 Adds a new trace point and sets the error if the trace is empty. More...
 
deErrorTracePointSetErrorTrace (const deException &exception)
 Adds a new trace point and sets the error if the trace is empty. More...
 
deErrorTracePointAddErrorTracePoint (const char *sourceFunc, int sourceLine)
 Adds a new trace point to the engine error trace with an empty error. More...
 

Detailed Description

Base Physics Module. The physics module provides physical simulations on colliders.

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Constructor & Destructor Documentation

◆ deBasePhysicsModule()

deBasePhysicsModule::deBasePhysicsModule ( deLoadableModule loadableModule)

Creates a new module.

◆ ~deBasePhysicsModule()

virtual deBasePhysicsModule::~deBasePhysicsModule ( )
virtual

Cleans up the module.

Member Function Documentation

◆ CleanUp()

virtual void deBasePhysicsModule::CleanUp ( )
pure virtual

Shuts down the physics module and cleans up.

◆ CreateCollider()

virtual deBasePhysicsCollider* deBasePhysicsModule::CreateCollider ( deCollider collider)
pure virtual

Creates a peer for the given collider.

◆ CreateComponent()

virtual deBasePhysicsComponent* deBasePhysicsModule::CreateComponent ( deComponent comp)
pure virtual

Creates a peer for the given component object.

◆ CreateDecal()

virtual deBasePhysicsDecal* deBasePhysicsModule::CreateDecal ( deDecal decal)
pure virtual

Creates a peer for the given decal.

◆ CreateForceField()

virtual deBasePhysicsForceField* deBasePhysicsModule::CreateForceField ( deForceField forceField)
pure virtual

Creates a peer for the given force field.

◆ CreateHeightTerrain()

virtual deBasePhysicsHeightTerrain* deBasePhysicsModule::CreateHeightTerrain ( deHeightTerrain heightTerrain)
pure virtual

Creates a peer for the given height terrain.

◆ CreateModel()

virtual deBasePhysicsModel* deBasePhysicsModule::CreateModel ( deModel model)
pure virtual

Creates a peer for the given model object.

◆ CreateParticleEmitter()

virtual deBasePhysicsParticleEmitter* deBasePhysicsModule::CreateParticleEmitter ( deParticleEmitter emitter)
pure virtual

Creates a peer for the given particle emitter.

◆ CreateParticleEmitterInstance()

virtual deBasePhysicsParticleEmitterInstance* deBasePhysicsModule::CreateParticleEmitterInstance ( deParticleEmitterInstance instance)
pure virtual

Creates a peer for the given particle emitter instance.

◆ CreatePropField()

virtual deBasePhysicsPropField* deBasePhysicsModule::CreatePropField ( dePropField propField)
pure virtual

Creates a peer for the given prop field.

◆ CreateRig()

virtual deBasePhysicsRig* deBasePhysicsModule::CreateRig ( deRig rig)
pure virtual

Creates a peer for the given rig object.

◆ CreateSkin()

virtual deBasePhysicsSkin* deBasePhysicsModule::CreateSkin ( deSkin skin)
pure virtual

Creates a peer for the given skin object.

◆ CreateSmokeEmitter()

virtual deBasePhysicsSmokeEmitter* deBasePhysicsModule::CreateSmokeEmitter ( deSmokeEmitter smokeEmitter)
pure virtual

Creates a peer for the given smoke emitter.

◆ CreateTouchSensor()

virtual deBasePhysicsTouchSensor* deBasePhysicsModule::CreateTouchSensor ( deTouchSensor touchSensor)
pure virtual

Creates a peer for the given touch sensor.

◆ CreateWorld()

virtual deBasePhysicsWorld* deBasePhysicsModule::CreateWorld ( deWorld world)
pure virtual

Creates a peer for the given world object.

◆ Init()

virtual bool deBasePhysicsModule::Init ( )
pure virtual

Initializes the physics module.


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