HoverVehicleData Class Reference#include <hoverVehicle.h>
Inheritance diagram for HoverVehicleData:
[legend]List of all members.
|
Public Types |
| JetSound |
| EngineSound |
| FloatSound |
| MaxSounds |
| ForwardJetEmitter |
| BackwardJetEmitter |
| DownwardJetEmitter |
| MaxJetEmitters |
| ForwardJetNode |
| ForwardJetNode1 |
| BackwardJetNode |
| BackwardJetNode1 |
| DownwardJetNode |
| DownwardJetNode1 |
| MaxJetNodes |
| MaxDirectionJets = 2 |
| ThrustJetStart = ForwardJetNode |
| MaxTrails = 4 |
enum | Sounds {
JetSound,
EngineSound,
FloatSound,
MaxSounds
} |
enum | Jets {
ForwardJetEmitter,
BackwardJetEmitter,
DownwardJetEmitter,
MaxJetEmitters
} |
enum | JetNodes {
ForwardJetNode,
ForwardJetNode1,
BackwardJetNode,
BackwardJetNode1,
DownwardJetNode,
DownwardJetNode1,
MaxJetNodes,
MaxDirectionJets = 2,
ThrustJetStart = ForwardJetNode,
MaxTrails = 4
} |
Public Member Functions |
| HoverVehicleData () |
| ~HoverVehicleData () |
void | packData (BitStream *) |
void | unpackData (BitStream *) |
bool | preload (bool server, String &errorStr) |
| Called to prepare the datablock for use, after it has been unpacked.
|
| DECLARE_CONOBJECT (HoverVehicleData) |
Static Public Member Functions |
static void | initPersistFields () |
| Register dynamic fields in a subclass of ConsoleObject.
|
Public Attributes |
SFXProfile * | sound [MaxSounds] |
ParticleEmitterData * | jetEmitter [MaxJetEmitters] |
S32 | jetNode [MaxJetNodes] |
F32 | dragForce |
F32 | vertFactor |
F32 | floatingThrustFactor |
F32 | mainThrustForce |
F32 | reverseThrustForce |
F32 | strafeThrustForce |
F32 | turboFactor |
F32 | stabLenMin |
F32 | stabLenMax |
F32 | stabSpringConstant |
F32 | stabDampingConstant |
F32 | gyroDrag |
F32 | normalForce |
F32 | restorativeForce |
F32 | steeringForce |
F32 | rollForce |
F32 | pitchForce |
F32 | floatingGravMag |
F32 | brakingForce |
F32 | brakingActivationSpeed |
ParticleEmitterData * | dustTrailEmitter |
S32 | dustTrailID |
Point3F | dustTrailOffset |
F32 | triggerTrailHeight |
F32 | dustTrailFreqMod |
F32 | maxThrustSpeed |
Static Public Attributes |
static const char * | sJetNode [MaxJetNodes] |
Protected Member Functions |
bool | onAdd () |
| Called when the object is added to the sim.
|
Private Types |
typedef VehicleData | Parent |
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
-
JetSound |
|
EngineSound |
|
FloatSound |
|
MaxSounds |
|
Reimplemented from VehicleData.
- Enumerator:
-
ForwardJetEmitter |
|
BackwardJetEmitter |
|
DownwardJetEmitter |
|
MaxJetEmitters |
|
- Enumerator:
-
ForwardJetNode |
|
ForwardJetNode1 |
|
BackwardJetNode |
|
BackwardJetNode1 |
|
DownwardJetNode |
|
DownwardJetNode1 |
|
MaxJetNodes |
|
MaxDirectionJets |
|
ThrustJetStart |
|
MaxTrails |
|
Constructor & Destructor Documentation
HoverVehicleData::HoverVehicleData |
( |
|
) |
|
HoverVehicleData::~HoverVehicleData |
( |
|
) |
|
Member Function Documentation
bool HoverVehicleData::onAdd |
( |
|
) |
[protected, virtual] |
Called when the object is added to the sim.
Reimplemented from GameBaseData.
bool HoverVehicleData::preload |
( |
bool |
server, |
|
|
String & |
errorStr | |
|
) |
| | [virtual] |
Called to prepare the datablock for use, after it has been unpacked.
- Parameters:
-
| server | Set if we're running on the server (and therefore don't need to load things like textures or sounds). |
| errorStr | If an error occurs in loading, this is set to a short string describing the error. |
- Returns:
- True if all went well; false if something failed.
- See also:
- preload() and File Downloading
Reimplemented from VehicleData.
static void HoverVehicleData::initPersistFields |
( |
|
) |
[static] |
Member Data Documentation
|