summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-13 15:13:19 +0000
committeralberth <alberth@openttd.org>2010-03-13 15:13:19 +0000
commit7134201524f61ce4234c476fe2d8c16eec4f391e (patch)
treee9b81959a6e19ebe2823c601ec9d04aa60e2e36a /src
parent86f14f8e72dfd0e920df5989b857e459937a8d29 (diff)
downloadopenttd-7134201524f61ce4234c476fe2d8c16eec4f391e.tar.xz
(svn r19399) -Doc: Doxyment enum TownRatingCheckType.
Diffstat (limited to 'src')
-rw-r--r--src/town.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/town.h b/src/town.h
index cbd95cbe1..f1571d241 100644
--- a/src/town.h
+++ b/src/town.h
@@ -153,10 +153,13 @@ void InitializeTown();
void ShowTownViewWindow(TownID town);
void ExpandTown(Town *t);
+/** Action types that a company must ask permission for to a town authority.
+ * @see CheckforTownRating
+ */
enum TownRatingCheckType {
- ROAD_REMOVE = 0,
- TUNNELBRIDGE_REMOVE = 1,
- TOWN_RATING_CHECK_TYPE_COUNT,
+ ROAD_REMOVE = 0, ///< Removal of a road owned by the town.
+ TUNNELBRIDGE_REMOVE = 1, ///< Removal of a tunnel or bridge owned by the towb.
+ TOWN_RATING_CHECK_TYPE_COUNT, ///< Number of town checking action types.
};
/** This is the number of ticks between towns being processed for building new