diff options
Diffstat (limited to 'src/ai/ai_info.hpp')
-rw-r--r-- | src/ai/ai_info.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp index 71691ae3a..223fbeaf3 100644 --- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -35,7 +35,7 @@ public: friend class AIInfo; friend class AILibrary; - AIFileInfo() : author(NULL), name(NULL), description(NULL), date(NULL), instance_name(NULL) {}; + AIFileInfo() : author(NULL), name(NULL), short_name(NULL), description(NULL), date(NULL), instance_name(NULL) {}; ~AIFileInfo(); /** @@ -49,6 +49,11 @@ public: const char *GetName(); /** + * Get the 4 character long short name of the AI. + */ + const char *GetShortName(); + + /** * Get the description of the AI. */ const char *GetDescription(); @@ -106,6 +111,7 @@ private: class AIScanner *base; const char *author; const char *name; + const char *short_name; const char *description; const char *date; const char *instance_name; |