~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/ai/api/ai_industrylist.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman, Jordi Mallach
  • Date: 2009-04-15 18:22:10 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090415182210-22ktb8kdbp2tf3bm
[ Matthijs Kooijman ]
* New upstream release.
* Remove Debian specific desktop file, upstream provides one now. 
* Add debian/watch file.

[ Jordi Mallach ]
* Bump Standards-Version to 3.8.1, with no changes required.
* Move to debhelper compat 7. Bump Build-Depends accordingly.
* Use dh_prep.
* Add "set -e" to config script.
* Remove a few extra doc files that get installed by upstream Makefile.
* Add more complete copyright information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: ai_industrylist.hpp 15060 2009-01-13 15:44:36Z smatz $ */
 
2
 
 
3
/** @file ai_industrylist.hpp List all the industries. */
 
4
 
 
5
#ifndef AI_INDUSTRYLIST_HPP
 
6
#define AI_INDUSTRYLIST_HPP
 
7
 
 
8
#include "ai_abstractlist.hpp"
 
9
 
 
10
/**
 
11
 * Creates a list of industries that are currently on the map.
 
12
 * @ingroup AIList
 
13
 */
 
14
class AIIndustryList : public AIAbstractList {
 
15
public:
 
16
        static const char *GetClassName() { return "AIIndustryList"; }
 
17
        AIIndustryList();
 
18
};
 
19
 
 
20
/**
 
21
 * Creates a list of industries that accepts a given cargo.
 
22
 * @ingroup AIList
 
23
 */
 
24
class AIIndustryList_CargoAccepting : public AIAbstractList {
 
25
public:
 
26
        static const char *GetClassName() { return "AIIndustryList_CargoAccepting"; }
 
27
 
 
28
        /**
 
29
         * @param cargo_id The cargo this industry should accept.
 
30
         */
 
31
        AIIndustryList_CargoAccepting(CargoID cargo_id);
 
32
};
 
33
 
 
34
/**
 
35
 * Creates a list of industries that can produce a given cargo.
 
36
 * @note It also contains industries that currently produces 0 units of the cargo.
 
37
 * @ingroup AIList
 
38
 */
 
39
class AIIndustryList_CargoProducing : public AIAbstractList {
 
40
public:
 
41
        static const char *GetClassName() { return "AIIndustryList_CargoProducing"; }
 
42
 
 
43
        /**
 
44
         * @param cargo_id The cargo this industry should produce.
 
45
         */
 
46
        AIIndustryList_CargoProducing(CargoID cargo_id);
 
47
};
 
48
 
 
49
#endif /* AI_INDUSTRYLIST_HPP */