src/livery.h
changeset 5475 2e6990a8c7c4
parent 4666 172a0cdf28a6
child 5587 167d9a91ef02
equal deleted inserted replaced
5474:ac55aefc54f3 5475:2e6990a8c7c4
       
     1 /* $Id$ */
       
     2 
       
     3 #ifndef LIVERY_H
       
     4 #define LIVERY_H
       
     5 
       
     6 
       
     7 /* List of different livery schemes. */
       
     8 typedef enum LiverySchemes {
       
     9 	LS_DEFAULT,
       
    10 
       
    11 	/* Rail vehicles */
       
    12 	LS_STEAM,
       
    13 	LS_DIESEL,
       
    14 	LS_ELECTRIC,
       
    15 	LS_MONORAIL,
       
    16 	LS_MAGLEV,
       
    17 	LS_DMU,
       
    18 	LS_EMU,
       
    19 	LS_PASSENGER_WAGON_STEAM,
       
    20 	LS_PASSENGER_WAGON_DIESEL,
       
    21 	LS_PASSENGER_WAGON_ELECTRIC,
       
    22 	LS_FREIGHT_WAGON,
       
    23 
       
    24 	/* Road vehicles */
       
    25 	LS_BUS,
       
    26 	LS_TRUCK,
       
    27 
       
    28 	/* Ships */
       
    29 	LS_PASSENGER_SHIP,
       
    30 	LS_FREIGHT_SHIP,
       
    31 
       
    32 	/* Aircraft */
       
    33 	LS_HELICOPTER,
       
    34 	LS_SMALL_PLANE,
       
    35 	LS_LARGE_PLANE,
       
    36 
       
    37 	LS_END
       
    38 } LiveryScheme;
       
    39 
       
    40 
       
    41 /* List of different livery classes, used only by the livery GUI. */
       
    42 typedef enum LiveryClasses {
       
    43 	LC_OTHER,
       
    44 	LC_RAIL,
       
    45 	LC_ROAD,
       
    46 	LC_SHIP,
       
    47 	LC_AIRCRAFT,
       
    48 	LC_END
       
    49 } LiveryClass;
       
    50 
       
    51 
       
    52 typedef struct Livery {
       
    53 	bool in_use;  ///< Set if this livery should be used instead of the default livery.
       
    54 	byte colour1; ///< First colour, for all vehicles.
       
    55 	byte colour2; ///< Second colour, for vehicles with 2CC support.
       
    56 } Livery;
       
    57 
       
    58 #endif /* LIVERY_H */