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_assist.h
Go to the documentation of this file.
1 #include "xml_support.h"
3 namespace CAR
4 {
5 const int FORWARD_BLINKEN = 1;
6 const int LEFT_BLINKEN = 2;
7 const int RIGHT_BLINKEN = 4;
8 const int SIREN_BLINKEN = 8;
9 const int ON_NO_BLINKEN = 16;
10 
12 {
14 };
15 const EnumMap::Pair type_names[8] = {
16  EnumMap::Pair( "UNKNOWN", RUNNINGLIGHTS ),
17  EnumMap::Pair( "RUNNINGLIGHTS", RUNNINGLIGHTS ),
18  EnumMap::Pair( "HEADLIGHTS", HEADLIGHTS ),
19  EnumMap::Pair( "LEFTBLINK", LEFTBLINK ),
20  EnumMap::Pair( "RIGHTBLINK", RIGHTBLINK ),
21  EnumMap::Pair( "BRAKE", BRAKE ),
22  EnumMap::Pair( "REVERSE", REVERSE ),
23  EnumMap::Pair( "SIREN", SIREN )
24 };
25 const EnumMap type_map( type_names, 8 );
26 }
27