diff options
author | yexo <yexo@openttd.org> | 2009-04-26 17:01:05 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-04-26 17:01:05 +0000 |
commit | 3578f4408c9f57bcec206ff51dc946469fd3b546 (patch) | |
tree | ec6b0b1dced8b56ede6d7d77fb31b47f785e2234 /src/ai/api/ai_tile.hpp | |
parent | 5b5cee940516636f50f4ddbd2cf4de7e7ee1d97c (diff) | |
download | openttd-3578f4408c9f57bcec206ff51dc946469fd3b546.tar.xz |
(svn r16171) -Add [NoAI]: two new error codes to AITile: ERR_AREA_ALREADY_FLAT and ERR_ESCAVATION_WOULD_DAMAGE.
Diffstat (limited to 'src/ai/api/ai_tile.hpp')
-rw-r--r-- | src/ai/api/ai_tile.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp index 808bbcf52..0c12656e2 100644 --- a/src/ai/api/ai_tile.hpp +++ b/src/ai/api/ai_tile.hpp @@ -29,6 +29,12 @@ public: /** Tile can't be lowered any lower */ ERR_TILE_TOO_LOW, // [STR_ERROR_ALREADY_AT_SEA_LEVEL] + + /** The area was already flat */ + ERR_AREA_ALREADY_FLAT, // [STR_ALREADY_LEVELLED] + + /** There is a tunnel underneed */ + ERR_ESCAVATION_WOULD_DAMAGE, // [STR_ERROR_EXCAVATION_WOULD_DAMAGE] }; /** |