(svn r23120) -Feature: [NoAI] Support for refit orders.

This commit is contained in:
michi_cc
2011-11-05 15:31:21 +00:00
parent 6a2735d24e
commit a22b4f1f91
6 changed files with 85 additions and 0 deletions

View File

@@ -50,6 +50,14 @@ public:
TE_FOOD = 5, ///< This cargo supplies food to a town
};
/**
* Special cargo types.
*/
enum SpecialCargoID {
CT_AUTO_REFIT = 0xFD, ///< Automatically choose cargo type when doing auto-refitting.
CT_NO_REFIT = 0xFE, ///< Do not refit cargo of a vehicle.
};
/**
* Checks whether the given cargo type is valid.
* @param cargo_type The cargo to check.