Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

Vehicle Class Reference
[Objects]

#include <vehicle.h>

Inheritance diagram for Vehicle:

RigidBody PhysicalAnimation Object List of all members.

Public Member Functions

void surfaceAdjust ()
void update (double deltaTime)
void rbModelUpdate (float delta_time)
void simpleModelUpdate (float delta_time)
void setPos (v3f p, v3f d)
void setOpponent (Vehicle *o)
void enableSound ()
void initSound ()
void setAudioPos (v3f ap)
void photonHit (float)
void explode ()
void schedulePhoton (PhotonDef &pd)
v3f getVelocity ()
bool isImmobile ()
void draw (DrawHint)
 Draw interface. This method should be overridden to draw the object.

void setControl (VehicleControl *vc)
 Vehicle (AdsoHeightMap *hm)

Public Attributes

AdsoHierModelmodel
int tyre_contact
int tyre_drive_touch
int tyre_touch
float weight
float engine
float width
float length
int nFramePoints
FramePointframePoints
v3f frameBox [8]
v3f massCenter
v3f cannonPos
float cannonTemp
float speed
float wheel
float engineSpeed
float tyreVelocity
int iBumpSound
int iCrashSound
float photonTimer
deque< struct PhotonDefscheduledPhotons
float cannonBearing
float cannonTilt
AdsoHeightMapheightMap
float gravity
Vehicleopponent
int soundEnabled
int netLinkControlled
VehicleStatsstats

Static Public Attributes

const int frameBoxFaces [6][4] = {{1,0,3,2},{4,5,6,7},{0,4,7,3},{5,1,2,6},{7,6,2,3},{5,4,0,1}}

Friends

class ScreenDump

Constructor & Destructor Documentation

Vehicle::Vehicle AdsoHeightMap hm  ) 
 


Member Function Documentation

void Vehicle::draw DrawHint  hint  )  [virtual]
 

Draw interface. This method should be overridden to draw the object.

Reimplemented from Object.

void Vehicle::enableSound  )  [inline]
 

void Vehicle::explode  ) 
 

v3f Vehicle::getVelocity  )  [inline]
 

void Vehicle::initSound  ) 
 

bool Vehicle::isImmobile  )  [inline]
 

void Vehicle::photonHit float   ) 
 

void Vehicle::rbModelUpdate float  delta_time  ) 
 

void Vehicle::schedulePhoton PhotonDef pd  )  [inline]
 

void Vehicle::setAudioPos v3f  ap  ) 
 

void Vehicle::setControl VehicleControl vc  )  [inline]
 

void Vehicle::setOpponent Vehicle o  )  [inline]
 

void Vehicle::setPos v3f  p,
v3f  d
 

void Vehicle::simpleModelUpdate float  delta_time  ) 
 

void Vehicle::surfaceAdjust  ) 
 

void Vehicle::update double  deltaTime  )  [virtual]
 

Implements PhysicalAnimation.


Friends And Related Function Documentation

friend class ScreenDump [friend]
 


Member Data Documentation

float Vehicle::cannonBearing
 

v3f Vehicle::cannonPos
 

float Vehicle::cannonTemp
 

float Vehicle::cannonTilt
 

float Vehicle::engine
 

float Vehicle::engineSpeed
 

v3f Vehicle::frameBox[8]
 

const int Vehicle::frameBoxFaces = {{1,0,3,2},{4,5,6,7},{0,4,7,3},{5,1,2,6},{7,6,2,3},{5,4,0,1}} [static]
 

FramePoint* Vehicle::framePoints
 

float Vehicle::gravity
 

AdsoHeightMap* Vehicle::heightMap
 

int Vehicle::iBumpSound
 

int Vehicle::iCrashSound
 

float Vehicle::length
 

v3f Vehicle::massCenter
 

AdsoHierModel* Vehicle::model
 

int Vehicle::netLinkControlled
 

int Vehicle::nFramePoints
 

Vehicle* Vehicle::opponent
 

float Vehicle::photonTimer
 

deque<struct PhotonDef> Vehicle::scheduledPhotons
 

int Vehicle::soundEnabled
 

float Vehicle::speed
 

VehicleStats* Vehicle::stats
 

int Vehicle::tyre_contact
 

int Vehicle::tyre_drive_touch
 

int Vehicle::tyre_touch
 

float Vehicle::tyreVelocity
 

float Vehicle::weight
 

float Vehicle::wheel
 

float Vehicle::width
 


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 10:44:48 2003 for Rover by doxygen 1.3.2