engine.h
changeset 3113 c0f312f22238
parent 3095 2d4498efac3b
child 3344 d86c852715fa
equal deleted inserted replaced
3112:05a599216d83 3113:c0f312f22238
    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 };