diff options
author | yexo <yexo@openttd.org> | 2009-05-23 14:54:55 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-05-23 14:54:55 +0000 |
commit | 0b243d25cbe8fec67a004cebee288ae741867cff (patch) | |
tree | 73b8b77851f4ed6ecaaf4de3c11b3a41cb0174e0 /src/ai/api/ai_signlist.hpp | |
parent | 8e30f0e75abe83358a0d3c72716d7a77d0f89cf1 (diff) | |
download | openttd-0b243d25cbe8fec67a004cebee288ae741867cff.tar.xz |
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
Diffstat (limited to 'src/ai/api/ai_signlist.hpp')
-rw-r--r-- | src/ai/api/ai_signlist.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ai/api/ai_signlist.hpp b/src/ai/api/ai_signlist.hpp new file mode 100644 index 000000000..17faa9a80 --- /dev/null +++ b/src/ai/api/ai_signlist.hpp @@ -0,0 +1,20 @@ +/* $Id$ */ + +/** @file ai_signlist.hpp List all the signs of your company. */ + +#ifndef AI_SIGNLIST_HPP +#define AI_SIGNLIST_HPP + +#include "ai_abstractlist.hpp" + +/** + * Create a list of signs your company has created. + * @ingroup AIList + */ +class AISignList : public AIAbstractList { +public: + static const char *GetClassName() { return "AISignList"; } + AISignList(); +}; + +#endif /* AI_SIGNLIST_HPP */ |