From 55129f1fbb6451b27ac45224dcad2cb2ed911f92 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 Aug 2010 21:35:59 +0000 Subject: (svn r20326) -Codechange: move UnmovableType to its own file --- src/unmovable_type.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/unmovable_type.h (limited to 'src/unmovable_type.h') diff --git a/src/unmovable_type.h b/src/unmovable_type.h new file mode 100644 index 000000000..92f11c31b --- /dev/null +++ b/src/unmovable_type.h @@ -0,0 +1,27 @@ +/* $Id$ */ + +/* + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ + +/** @file unmovable_map.h Types related to unmovable tiles. */ + +#ifndef UNMOVABLE_TYPE_H +#define UNMOVABLE_TYPE_H + +/** Types of unmovable structure */ +enum UnmovableType { + UNMOVABLE_TRANSMITTER = 0, ///< The large antenna + UNMOVABLE_LIGHTHOUSE = 1, ///< The nice lighthouse + UNMOVABLE_STATUE = 2, ///< Statue in towns + UNMOVABLE_OWNED_LAND = 3, ///< Owned land 'flag' + UNMOVABLE_HQ = 4, ///< HeadQuarter of a player + UNMOVABLE_MAX, +}; + +struct UnmovableSpec; + +#endif /* UNMOVABLE_MAP_H */ -- cgit v1.2.3-54-g00ecf