OpenTTD
landscape_type.h
Go to the documentation of this file.
1 /* $Id: landscape_type.h 17248 2009-08-21 20:21:05Z rubidium $ */
2 
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  */
9 
12 #ifndef LANDSCAPE_TYPE_H
13 #define LANDSCAPE_TYPE_H
14 
15 typedef byte LandscapeID;
16 
19  LT_TEMPERATE = 0,
20  LT_ARCTIC = 1,
21  LT_TROPIC = 2,
22  LT_TOYLAND = 3,
23 
24  NUM_LANDSCAPE = 4,
25 };
26 
30 enum Borders {
31  BORDER_NE = 0,
32  BORDER_SE = 1,
33  BORDER_SW = 2,
34  BORDER_NW = 3,
35  BORDERS_RANDOM = 16,
36 };
37 
38 #endif /* LANDSCAPE_TYPE_H */
Borders
For storing the water borders which shall be retained.
byte LandscapeID
Landscape type.
LandscapeType
Landscape types.