Fix crash when setting separation mode for vehicles with no orders list.
[openttd-joker.git] / src / landscape_type.h
bloba237a534d3fc3290758d49a7767043c3314a411f
1 /* $Id: landscape_type.h 17248 2009-08-21 20:21:05Z rubidium $ */
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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 <http://www.gnu.org/licenses/>.
8 */
10 /** @file landscape_type.h Types related to the landscape. */
12 #ifndef LANDSCAPE_TYPE_H
13 #define LANDSCAPE_TYPE_H
15 typedef byte LandscapeID; ///< Landscape type. @see LandscapeType
17 /** Landscape types */
18 enum LandscapeType {
19 LT_TEMPERATE = 0,
20 LT_ARCTIC = 1,
21 LT_TROPIC = 2,
22 LT_TOYLAND = 3,
24 NUM_LANDSCAPE = 4,
27 /**
28 * For storing the water borders which shall be retained.
30 enum Borders {
31 BORDER_NE = 0,
32 BORDER_SE = 1,
33 BORDER_SW = 2,
34 BORDER_NW = 3,
35 BORDERS_RANDOM = 16,
38 #endif /* LANDSCAPE_TYPE_H */