src/engine.h
branchgamebalance
changeset 9910 0b2aebc8283e
parent 9909 dce9a6923bb7
child 9911 0b8b245a2391
equal deleted inserted replaced
9909:dce9a6923bb7 9910:0b2aebc8283e
   151 
   151 
   152 void LoadCustomEngineNames();
   152 void LoadCustomEngineNames();
   153 void DeleteCustomEngineNames();
   153 void DeleteCustomEngineNames();
   154 
   154 
   155 bool IsEngineBuildable(EngineID engine, byte type, PlayerID player);
   155 bool IsEngineBuildable(EngineID engine, byte type, PlayerID player);
       
   156 CargoID GetEngineCargoType(EngineID engine);
   156 
   157 
   157 enum {
   158 enum {
   158 	NUM_NORMAL_RAIL_ENGINES = 54,
   159 	NUM_NORMAL_RAIL_ENGINES = 54,
   159 	NUM_MONORAIL_ENGINES    = 30,
   160 	NUM_MONORAIL_ENGINES    = 30,
   160 	NUM_MAGLEV_ENGINES      = 32,
   161 	NUM_MAGLEV_ENGINES      = 32,