#include <cacartype.h>
Public Member Functions | |
| CACarType () | |
| Constructor. | |
| ~CACarType () | |
| Destructor. | |
Public Attributes | |
| CL_String | name |
| Car name (e.g. "Capri"). | |
| CL_Surface * | surface |
| Pointer to surface resource (r,g,b,m,y,c). | |
| CL_Surface * | surface3d |
| Pointer to surface resource 3d (r,g,b,m,y,c). | |
| int | length |
| Current car length in pixel. | |
| int | width |
| Current car width in pixel. | |
| float | radius |
| Half of the diagonal. | |
| float | angle |
| Angle to edge. | |
| float | maxSpeed |
| Maximum speed in pixels per second. | |
| float | minSpeed |
| Minimum speed in pixels per second. | |
| float | maxTurbo |
| Maximum turbo load in pixels. | |
| float | acceleration |
| Acceleration in pixels per square second. | |
| float | deceleration |
| Deceleration in pixels per square second. | |
| float | steeringPower |
| Steering power in degrees per second. | |
| float | slidingFactor |
| Sliding factor (1=no, 0.8=much, ...). | |
| int | price |
| Price in USD. | |
1.5.0