diff options
author | rubidium <rubidium@openttd.org> | 2010-12-13 11:21:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-13 11:21:53 +0000 |
commit | b448b7c98d8db341a0546848f0b00a46385ef272 (patch) | |
tree | 24776ddd8f460e2b833af2d28ac972eb5b370bc9 /src/map_type.h | |
parent | c0999109a9aabce2aac15306782b9d2ae81af314 (diff) | |
download | openttd-b448b7c98d8db341a0546848f0b00a46385ef272.tar.xz |
(svn r21493) -Codechange: don't use the full 32 bits of the level land command to tell whether to raise, lower or keep the level of the first selected tile
Diffstat (limited to 'src/map_type.h')
-rw-r--r-- | src/map_type.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map_type.h b/src/map_type.h index 9c1d1c925..93aded4d9 100644 --- a/src/map_type.h +++ b/src/map_type.h @@ -75,4 +75,11 @@ static const uint MAX_MAP_SIZE = 1 << MAX_MAP_SIZE_BITS; ///< Maximal map s */ #define STRAIGHT_TRACK_LENGTH 7071/10000 +/** Argument for CmdLevelLand describing what to do. */ +enum LevelMode { + LM_LEVEL, ///< Level the land. + LM_LOWER, ///< Lower the land. + LM_RAISE, ///< Raise the land. +}; + #endif /* MAP_TYPE_H */ |