engine.h
changeset 3113 d79500c648da
parent 3095 19084629d27a
child 3344 fc86351d4641
equal deleted inserted replaced
3112:a6fda4d4c7ca 3113:d79500c648da
    96 	byte railtype;
    96 	byte railtype;
    97 	byte player_avail;
    97 	byte player_avail;
    98 	byte type;				// type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h
    98 	byte type;				// type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h
    99 } Engine;
    99 } Engine;
   100 
   100 
       
   101 /**
       
   102  * EngineInfo.misc_flags is a bitmask, with the following values
       
   103  */
       
   104 enum {
       
   105 	EF_RAIL_TILTS = 0, ///< Rail vehicle tilts in curves (unsupported)
       
   106 	EF_ROAD_TRAM  = 0, ///< Road vehicle is a tram/light rail vehicle (unsup)
       
   107 	EF_USES_2CC   = 1, ///< Vehicle uses two company colours
       
   108 	EF_RAIL_IS_MU = 2, ///< Rail vehicle is a multiple-unit (DMU/EMU)
       
   109 };
   101 
   110 
   102 enum {
   111 enum {
   103 	RVI_MULTIHEAD = 1,
   112 	RVI_MULTIHEAD = 1,
   104 	RVI_WAGON = 2,
   113 	RVI_WAGON = 2,
   105 };
   114 };