diff options
Diffstat (limited to 'src/ai/api/ai_cargo.hpp')
-rw-r--r-- | src/ai/api/ai_cargo.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ai/api/ai_cargo.hpp b/src/ai/api/ai_cargo.hpp index 4d7ad777b..4cc3a1a1c 100644 --- a/src/ai/api/ai_cargo.hpp +++ b/src/ai/api/ai_cargo.hpp @@ -51,6 +51,14 @@ public: }; /** + * 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. * @return True if and only if the cargo type is valid. |