WheeledVehicleData Struct Reference#include <wheeledVehicle.h>
Inheritance diagram for WheeledVehicleData:
[legend]List of all members.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
-
| JetSound |
|
| EngineSound |
|
| SquealSound |
|
| WheelImpactSound |
|
| MaxSounds |
|
Reimplemented from VehicleData.
Constructor & Destructor Documentation
| WheeledVehicleData::WheeledVehicleData |
( |
|
) |
|
Member Function Documentation
| static void WheeledVehicleData::initPersistFields |
( |
|
) |
[static] |
| bool WheeledVehicleData::preload |
( |
bool |
, |
|
|
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.
| bool WheeledVehicleData::mirrorWheel |
( |
Wheel * |
we |
) |
|
| virtual void WheeledVehicleData::packData |
( |
BitStream * |
stream |
) |
[virtual] |
| virtual void WheeledVehicleData::unpackData |
( |
BitStream * |
stream |
) |
[virtual] |
Member Data Documentation
|