CACarType Struct Reference

Structure for car types. More...

#include <cacartype.h>

List of all members.

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.


Detailed Description

Structure for car types.

Author:
Andrew Mustun


The documentation for this struct was generated from the following file:
Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0