#include <vehicle.h>
Inheritance diagram for Vehicle:

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 | |
| AdsoHierModel * | model |
| int | tyre_contact |
| int | tyre_drive_touch |
| int | tyre_touch |
| float | weight |
| float | engine |
| float | width |
| float | length |
| int | nFramePoints |
| FramePoint * | framePoints |
| 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 PhotonDef > | scheduledPhotons |
| float | cannonBearing |
| float | cannonTilt |
| AdsoHeightMap * | heightMap |
| float | gravity |
| Vehicle * | opponent |
| int | soundEnabled |
| int | netLinkControlled |
| VehicleStats * | stats |
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 |
|
|
|
|
|
Draw interface. This method should be overridden to draw the object.
Reimplemented from Object. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Implements PhysicalAnimation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.2