Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CAR Namespace Reference

Enumerations

enum  ALL_TYPES {
  RUNNINGLIGHTS, HEADLIGHTS, LEFTBLINK, RIGHTBLINK,
  BRAKE, REVERSE, SIREN
}
 

Functions

const EnumMap type_map (type_names, 8)
 

Variables

const int FORWARD_BLINKEN = 1
 
const int LEFT_BLINKEN = 2
 
const int RIGHT_BLINKEN = 4
 
const int SIREN_BLINKEN = 8
 
const int ON_NO_BLINKEN = 16
 
const EnumMap::Pair type_names [8]
 

Enumeration Type Documentation

Enumerator
RUNNINGLIGHTS 
HEADLIGHTS 
LEFTBLINK 
RIGHTBLINK 
BRAKE 
REVERSE 
SIREN 

Definition at line 11 of file car_assist.h.

Function Documentation

const EnumMap CAR::type_map ( type_names  ,
 
)

Referenced by HaloSystem::AddHalo().

Variable Documentation

const int CAR::FORWARD_BLINKEN = 1

Definition at line 5 of file car_assist.h.

Referenced by HaloSystem::Draw(), and FireKeyboard::Execute().

const int CAR::LEFT_BLINKEN = 2

Definition at line 6 of file car_assist.h.

Referenced by HaloSystem::Draw(), and FireKeyboard::Execute().

const int CAR::ON_NO_BLINKEN = 16

Definition at line 9 of file car_assist.h.

Referenced by HaloSystem::Draw(), and FireKeyboard::Execute().

const int CAR::RIGHT_BLINKEN = 4

Definition at line 7 of file car_assist.h.

Referenced by HaloSystem::Draw(), and FireKeyboard::Execute().

const int CAR::SIREN_BLINKEN = 8

Definition at line 8 of file car_assist.h.

Referenced by HaloSystem::Draw(), and FireKeyboard::Execute().

const EnumMap::Pair CAR::type_names[8]
Initial value:
= {
EnumMap::Pair( "UNKNOWN", RUNNINGLIGHTS ),
EnumMap::Pair( "RUNNINGLIGHTS", RUNNINGLIGHTS ),
EnumMap::Pair( "HEADLIGHTS", HEADLIGHTS ),
EnumMap::Pair( "LEFTBLINK", LEFTBLINK ),
EnumMap::Pair( "RIGHTBLINK", RIGHTBLINK ),
EnumMap::Pair( "BRAKE", BRAKE ),
EnumMap::Pair( "REVERSE", REVERSE ),
EnumMap::Pair( "SIREN", SIREN )
}

Definition at line 15 of file car_assist.h.