| author | truebrain |
| Mon, 30 Jun 2008 12:15:10 +0000 | |
| branch | noai |
| changeset 11097 | 6967c52c78c5 |
| parent 11053 | d8d48e076a3f |
| permissions | -rw-r--r-- |
|
11053
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
1 |
/* $Id$ */ |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
2 |
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
3 |
/** @file ai_depotlist.hpp List all the depots (you own). */ |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
4 |
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
5 |
#ifndef AI_DEPOTLIST_HPP |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
6 |
#define AI_DEPOTLIST_HPP |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
7 |
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
8 |
#include "ai_abstractlist.hpp" |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
9 |
#include "ai_tile.hpp" |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
10 |
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
11 |
/** |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
12 |
* Creates a list of the locations of the depots (and hangars) of which you are the owner. |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
13 |
* @ingroup AIList |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
14 |
*/ |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
15 |
class AIDepotList : public AIAbstractList {
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
16 |
public: |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
17 |
static const char *GetClassName() { return "AIDepotList"; }
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
18 |
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
19 |
/** |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
20 |
* @param transport_type The type of transport to make a list of depots for. |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
21 |
*/ |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
22 |
AIDepotList(AITile::TransportType transport_type); |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
23 |
}; |
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
24 |
|
|
d8d48e076a3f
(svn r13610) [NoAI] -Add: AIDepotList giving you a list of the locations of your depots (including hangars).
rubidium
parents:
diff
changeset
|
25 |
#endif /* AI_DEPOTLIST_HPP */ |