28 #include "common/error.h"
34 #include "object/interface/trace_drawing_object.h"
104 void DeleteObject(
bool bAll=
false);
106 bool EventProcess(
const Event &event);
108 void SetMotion(
CMotion* motion);
113 void SetGravity(
float value);
116 float GetFloorHeight();
118 void SetLinMotion(PhysicsMode mode,
Math::Vector value);
120 void SetLinMotionX(PhysicsMode mode,
float value);
121 void SetLinMotionY(PhysicsMode mode,
float value);
122 void SetLinMotionZ(PhysicsMode mode,
float value);
123 float GetLinMotionX(PhysicsMode mode);
124 float GetLinMotionY(PhysicsMode mode);
125 float GetLinMotionZ(PhysicsMode mode);
127 void SetCirMotion(PhysicsMode mode,
Math::Vector value);
129 void SetCirMotionX(PhysicsMode mode,
float value);
130 void SetCirMotionY(PhysicsMode mode,
float value);
131 void SetCirMotionZ(PhysicsMode mode,
float value);
132 float GetCirMotionX(PhysicsMode mode);
133 float GetCirMotionY(PhysicsMode mode);
134 float GetCirMotionZ(PhysicsMode mode);
136 float GetLinStopLength(PhysicsMode sMode=MO_ADVSPEED, PhysicsMode aMode=MO_STOACCEL);
137 float GetCirStopLength();
138 float GetLinMaxLength(
float dir);
139 float GetLinTimeLength(
float dist,
float dir=1.0f);
140 float GetLinLength(
float dist);
142 void SetMotor(
bool bState);
144 void SetLand(
bool bState);
146 void SetSwim(
bool bState);
148 void SetCollision(
bool bCollision);
150 void SetFreeze(
bool bFreeze);
154 void SetMotorSpeedX(
float speed);
155 void SetMotorSpeedY(
float speed);
156 void SetMotorSpeedZ(
float speed);
158 float GetMotorSpeedX();
159 float GetMotorSpeedY();
160 float GetMotorSpeedZ();
164 float GetFallingHeight();
166 void SetMinFallingHeight(
float value);
167 float GetMinFallingHeight();
169 void SetFallDamageFraction(
float value);
170 float GetFallDamageFraction();
173 bool EventFrame(
const Event &event);
174 void WaterFrame(
float aTime,
float rTime);
175 void SoundMotor(
float rTime);
176 void SoundMotorFull(
float rTime,
ObjectType type);
177 void SoundMotorSlow(
float rTime,
ObjectType type);
178 void SoundMotorStop(
float rTime,
ObjectType type);
179 void SoundReactorFull(
float rTime,
ObjectType type);
180 void SoundReactorStop(
float rTime,
ObjectType type);
181 void FrameParticle(
float aTime,
float rTime);
182 void MotorUpdate(
float aTime,
float rTime);
183 void EffectUpdate(
float aTime,
float rTime);
184 void UpdateMotionStruct(
float rTime,
Motion &motion);
189 bool JostleObject(
CObject* pObj,
float force);
193 void PowerParticle(
float factor,
bool bBreak);
194 void CrashParticle(
float crash);
195 void MotorParticle(
float aTime,
float rTime);
196 void WaterParticle(
float aTime,
Math::Vector pos,
ObjectType type,
float floor,
float advance,
float turn);
197 void WheelParticle(TraceColor color,
float width);
223 int m_repeatCollision;
224 float m_linVibrationFactor;
225 float m_cirVibrationFactor;
226 float m_inclinaisonFactor;
227 float m_lastPowerParticle;
228 float m_lastSlideParticle;
229 float m_lastMotorParticle;
230 float m_lastWaterParticle;
231 float m_lastUnderParticle;
232 float m_lastPloufParticle;
233 float m_lastFlameParticle;
234 bool m_bWheelParticleBrake;
237 float m_reactorTemperature;
238 float m_timeReactorFail;
239 float m_timeUnderWater;
241 float m_lastSoundWater;
242 float m_lastSoundInsect;
243 float m_restBreakParticle;
247 int m_soundChannelSlide;
248 float m_soundTimePshhh;
249 float m_soundTimeJostle;
250 float m_soundTimeBoum;
254 float m_fallingHeight;
255 float m_fallDamageFraction;
256 float m_minFallingHeight;
Definition: old_object.h:77
Manager for dynamic lights in 3D scene.
Definition: lightman.h:146
Definition: parserline.h:37
Particle engine.
Definition: particle.h:223
Interface for objects that can be jostled.
Definition: jostleable_object.h:30
Camera moving in 3D scene.
Definition: camera.h:134
Terrain loader/generator and manager.
Definition: terrain.h:145
Namespace for (new) graphics code.
Definition: app.h:49
Vector struct and related functions.
The graphics engine.
Definition: engine.h:620
ObjectType
Type of game object.
Definition: object_type.h:33
Water manager/renderer.
Definition: water.h:74
3D (3x1) vector
Definition: vector.h:53
Event sent by system, interface or game.
Definition: event.h:709
Base class for all 3D in-game objects.
Definition: object.h:59
Sound plugin interface.
Definition: sound.h:57