iRDS - Intelligent Race Driver System  V 2.1.0.5
 All Classes Namespaces Functions Variables Properties Events
IRDSCarGUI Class Reference
Inheritance diagram for IRDSCarGUI:

Public Types

enum  DigitalOdometerType { KPH, MPH }
 

Public Member Functions

void Start ()
 Start this instance. More...
 
void EditorUpdate (Vector2 sceneScreen)
 The update called from the editor script. This is an internal method for showing the GUI while in editor mode, not for using while inGame More...
 
void activateGUI ()
 Activates the GUI. More...
 
void deactivateGUI ()
 Deactivates the GUI. More...
 

Public Attributes

float gearOffSetX = 762
 
float gearOffSetY = 510
 
int GearfontSize
 
Color gearColor
 
GUIText Gear
 
bool gearGui = false
 
float speedOffSetX = 762
 
float speedOffSetY = 510
 
int speedfontSize
 
Color speedColor
 
GUIText speedOBJ
 
bool analogSpeed = false
 
bool digitalSpeed = false
 
Texture2D needleTurboTex
 
Vector2 dialTurboPos
 
float stopTurboAngle
 
float topTurboAngle
 
float dialTurboWidth
 
float dialTurboHeight
 
float needleTurboWidth
 
float needleTurboHeight
 
Vector2 needleCenterTurbo
 
GUITexture turboGauge
 
bool turboGui = false
 
Texture2D needleSpeedoTex
 
Vector2 dialSpeedoPos
 
float stopSpeedoAngle
 
float topSpeedoAngle
 
float dialSpeedoWidth
 
float dialSpeedoHeight
 
float needleSpeedoWidth
 
float needleSpeedoHeight
 
Vector2 needleCenterSpeedo
 
float topSpeed
 
GUITexture speedGauge
 
Texture2D needleAcceloTex
 
Vector2 dialAcceloPos
 
float stopAcceloAngle
 
float topAcceloAngle
 
float dialAcceloWidth
 
float dialAcceloHeight
 
float needleAcceloWidth
 
float needleAcceloHeight
 
Vector2 needleCenterAccelo
 
bool analogTachoGauge = false
 
GUITexture tachoGauge
 
Vector2 dialPos
 
float dialRpmWidth
 
float dialRpmHeight
 
GUITexture tachoBar
 
float topRpm
 
float rpms
 
GUITexture tachoBarBK
 
bool analogTachoBar = false
 
Vector2 dialFuelPos
 
float topFuel
 
float fuel
 
float dialFuelWidth
 
float dialFuelHeight
 
GUITexture fuelBar
 
GUITexture fuelBarBK
 
bool analogBarFuel = false
 
Texture2D needleFuelGaugeTex
 
Vector2 dialFuelGaugePos
 
float stopFuelGaugeAngle
 
float topFuelGaugeAngle
 
float dialFuelGaugeWidth
 
float dialFuelGaugeHeight
 
float needleFuelGaugeWidth
 
float needleFuelGaugeHeight
 
Vector2 needleCenterFuelGauge
 
bool analogFuelGauge = false
 
GUITexture fuelGauge
 
Texture2D tireTexture
 
Vector2 tirePos
 
GUITexture[] Tire
 
float tireSize
 
int tireDepth
 
bool tireGui = false
 
IRDSCarControllerAI carInstance
 
IRDSCarHUDSettings originalHUDSettings
 
bool[] stickTogether = {false,false,false,false,false,false,false,false,false}
 
float tachobarBKOverSize = 0.1f
 
IRDSCarControllInput target
 
IRDSCarControllInput targetInstance
 
DigitalOdometerType digitalOdometerType = DigitalOdometerType.KPH
 

Member Function Documentation

void IRDSCarGUI.activateGUI ( )

Activates the GUI.

void IRDSCarGUI.deactivateGUI ( )

Deactivates the GUI.

void IRDSCarGUI.EditorUpdate ( Vector2  sceneScreen)

The update called from the editor script. This is an internal method for showing the GUI while in editor mode, not for using while inGame

Parameters
sceneScreenScene screen.
void IRDSCarGUI.Start ( )

Start this instance.