(svn r9688) -Codechange: Created a function to get default cargo type for a cargo type

This commit is contained in:
bjarni
2007-04-20 16:56:55 +00:00
parent 9c40b92323
commit 809888fa21
3 changed files with 32 additions and 27 deletions

View File

@@ -153,6 +153,7 @@ void LoadCustomEngineNames();
void DeleteCustomEngineNames();
bool IsEngineBuildable(EngineID engine, byte type, PlayerID player);
CargoID GetEngineCargoType(EngineID engine);
enum {
NUM_NORMAL_RAIL_ENGINES = 54,