28 #include "common/error.h" 34 #include "object/interface/trace_drawing_object.h" 103 void DeleteObject(
bool bAll=
false);
105 bool EventProcess(
const Event &event);
107 void SetMotion(
CMotion* motion);
112 void SetGravity(
float value);
115 float GetFloorHeight();
117 void SetLinMotion(PhysicsMode mode,
Math::Vector value);
119 void SetLinMotionX(PhysicsMode mode,
float value);
120 void SetLinMotionY(PhysicsMode mode,
float value);
121 void SetLinMotionZ(PhysicsMode mode,
float value);
122 float GetLinMotionX(PhysicsMode mode);
123 float GetLinMotionY(PhysicsMode mode);
124 float GetLinMotionZ(PhysicsMode mode);
126 void SetCirMotion(PhysicsMode mode,
Math::Vector value);
128 void SetCirMotionX(PhysicsMode mode,
float value);
129 void SetCirMotionY(PhysicsMode mode,
float value);
130 void SetCirMotionZ(PhysicsMode mode,
float value);
131 float GetCirMotionX(PhysicsMode mode);
132 float GetCirMotionY(PhysicsMode mode);
133 float GetCirMotionZ(PhysicsMode mode);
135 float GetLinStopLength(PhysicsMode sMode=MO_ADVSPEED, PhysicsMode aMode=MO_STOACCEL);
136 float GetCirStopLength();
137 float GetLinMaxLength(
float dir);
138 float GetLinTimeLength(
float dist,
float dir=1.0f);
139 float GetLinLength(
float dist);
141 void SetMotor(
bool bState);
143 void SetLand(
bool bState);
145 void SetSwim(
bool bState);
147 void SetCollision(
bool bCollision);
149 void SetFreeze(
bool bFreeze);
153 void SetMotorSpeedX(
float speed);
154 void SetMotorSpeedY(
float speed);
155 void SetMotorSpeedZ(
float speed);
157 float GetMotorSpeedX();
158 float GetMotorSpeedY();
159 float GetMotorSpeedZ();
163 float GetFallingHeight();
165 void SetMinFallingHeight(
float value);
166 float GetMinFallingHeight();
168 void SetFallDamageFraction(
float value);
169 float GetFallDamageFraction();
172 bool EventFrame(
const Event &event);
173 void WaterFrame(
float aTime,
float rTime);
174 void SoundMotor(
float rTime);
175 void SoundMotorFull(
float rTime,
ObjectType type);
176 void SoundMotorSlow(
float rTime,
ObjectType type);
177 void SoundMotorStop(
float rTime,
ObjectType type);
178 void SoundReactorFull(
float rTime,
ObjectType type);
179 void SoundReactorStop(
float rTime,
ObjectType type);
180 void FrameParticle(
float aTime,
float rTime);
181 void MotorUpdate(
float aTime,
float rTime);
182 void EffectUpdate(
float aTime,
float rTime);
183 void UpdateMotionStruct(
float rTime,
Motion &motion);
188 bool JostleObject(
CObject* pObj,
float force);
192 void PowerParticle(
float factor,
bool bBreak);
193 void CrashParticle(
float crash);
194 void MotorParticle(
float aTime,
float rTime);
195 void WaterParticle(
float aTime,
Math::Vector pos,
ObjectType type,
float floor,
float advance,
float turn);
196 void WheelParticle(TraceColor color,
float width);
222 int m_repeatCollision;
223 float m_linVibrationFactor;
224 float m_cirVibrationFactor;
225 float m_inclinaisonFactor;
226 float m_lastPowerParticle;
227 float m_lastSlideParticle;
228 float m_lastMotorParticle;
229 float m_lastWaterParticle;
230 float m_lastUnderParticle;
231 float m_lastPloufParticle;
232 float m_lastFlameParticle;
233 bool m_bWheelParticleBrake;
236 float m_reactorTemperature;
237 float m_timeReactorFail;
238 float m_timeUnderWater;
240 float m_lastSoundWater;
241 float m_lastSoundInsect;
242 float m_restBreakParticle;
246 int m_soundChannelSlide;
247 float m_soundTimePshhh;
248 float m_soundTimeJostle;
249 float m_soundTimeBoum;
253 float m_fallingHeight;
254 float m_fallDamageFraction;
255 float m_minFallingHeight;
Definition: old_object.h:79
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:128
Terrain loader/generator and manager.
Definition: terrain.h:147
Namespace for (new) graphics code.
Definition: app.h:49
Vector struct and related functions.
The graphics engine.
Definition: engine.h:585
ObjectType
Type of game object.
Definition: object_type.h:33
Water manager/renderer.
Definition: water.h:72
3D (3x1) vector
Definition: vector.h:53
Event sent by system, interface or game.
Definition: event.h:735
Base class for all 3D in-game objects.
Definition: object.h:63
Sound plugin interface.
Definition: sound.h:60