101 void DeleteObject(
bool bAll=
false);
103 bool EventProcess(
const Event &event);
105 void SetBrain(
CBrain* brain);
106 void SetMotion(
CMotion* motion);
108 void SetType(PhysicsType type);
109 PhysicsType GetType();
111 bool Write(
char *line);
112 bool Read(
char *line);
114 void SetGravity(
float value);
117 float GetFloorHeight();
119 void SetLinMotion(PhysicsMode mode,
Math::Vector value);
121 void SetLinMotionX(PhysicsMode mode,
float value);
122 void SetLinMotionY(PhysicsMode mode,
float value);
123 void SetLinMotionZ(PhysicsMode mode,
float value);
124 float GetLinMotionX(PhysicsMode mode);
125 float GetLinMotionY(PhysicsMode mode);
126 float GetLinMotionZ(PhysicsMode mode);
128 void SetCirMotion(PhysicsMode mode,
Math::Vector value);
130 void SetCirMotionX(PhysicsMode mode,
float value);
131 void SetCirMotionY(PhysicsMode mode,
float value);
132 void SetCirMotionZ(PhysicsMode mode,
float value);
133 float GetCirMotionX(PhysicsMode mode);
134 float GetCirMotionY(PhysicsMode mode);
135 float GetCirMotionZ(PhysicsMode mode);
137 float GetLinStopLength(PhysicsMode sMode=MO_ADVSPEED, PhysicsMode aMode=MO_STOACCEL);
138 float GetCirStopLength();
139 float GetLinMaxLength(
float dir);
140 float GetLinTimeLength(
float dist,
float dir=1.0f);
141 float GetLinLength(
float dist);
143 void SetMotor(
bool bState);
145 void SetLand(
bool bState);
147 void SetSwim(
bool bState);
149 void SetCollision(
bool bCollision);
151 void SetFreeze(
bool bFreeze);
153 void SetReactorRange(
float range);
154 float GetReactorRange();
157 void SetMotorSpeedX(
float speed);
158 void SetMotorSpeedY(
float speed);
159 void SetMotorSpeedZ(
float speed);
161 float GetMotorSpeedX();
162 float GetMotorSpeedY();
163 float GetMotorSpeedZ();
165 void CreateInterface(
bool bSelect);
169 bool EventFrame(
const Event &event);
170 void WaterFrame(
float aTime,
float rTime);
171 void SoundMotor(
float rTime);
172 void SoundMotorFull(
float rTime,
ObjectType type);
173 void SoundMotorSlow(
float rTime,
ObjectType type);
174 void SoundMotorStop(
float rTime,
ObjectType type);
175 void SoundReactorFull(
float rTime,
ObjectType type);
176 void SoundReactorStop(
float rTime,
ObjectType type);
177 void FrameParticle(
float aTime,
float rTime);
178 void MotorUpdate(
float aTime,
float rTime);
179 void EffectUpdate(
float aTime,
float rTime);
180 void UpdateMotionStruct(
float rTime,
Motion &motion);
185 bool JostleObject(
CObject* pObj,
float force);
189 void PowerParticle(
float factor,
bool bBreak);
190 void CrashParticle(
float crash);
191 void MotorParticle(
float aTime,
float rTime);
192 void WaterParticle(
float aTime,
Math::Vector pos,
ObjectType type,
float floor,
float advance,
float turn);
193 void WheelParticle(
int color,
float width);
219 int m_repeatCollision;
220 float m_linVibrationFactor;
221 float m_cirVibrationFactor;
222 float m_inclinaisonFactor;
223 float m_lastPowerParticle;
224 float m_lastSlideParticle;
225 float m_lastMotorParticle;
226 float m_lastWaterParticle;
227 float m_lastUnderParticle;
228 float m_lastPloufParticle;
229 float m_lastFlameParticle;
230 bool m_bWheelParticleBrake;
233 float m_reactorTemperature;
234 float m_reactorRange;
235 float m_timeReactorFail;
236 float m_timeUnderWater;
238 float m_lastSoundWater;
239 float m_lastSoundInsect;
240 float m_restBreakParticle;
244 int m_soundChannelSlide;
245 float m_soundTimePshhh;
246 float m_soundTimeJostle;
247 float m_soundTimeBoum;
Some common, global definitions.
Manager for dynamic lights in 3D scene.
Definition: lightman.h:142
Particle engine.
Definition: particle.h:266
ObjectType
Type of game object.
Definition: object.h:46
Camera moving in 3D scene.
Definition: camera.h:130
Terrain loader/generator and manager.
Definition: terrain.h:220
CObject - base class for all game objects.
Vector struct and related functions.
The graphics engine.
Definition: engine.h:681
Error
Type of error or info message.
Definition: global.h:29
Water manager/renderer.
Definition: water.h:116
3D (3x1) vector
Definition: vector.h:49
Event sent by system, interface or game.
Definition: event.h:687
Sound plugin interface.
Definition: sound.h:149