diff -r b3849a19d137 -r e737405b06dd src/ai/api/ai_error.hpp --- a/src/ai/api/ai_error.hpp Tue Apr 08 07:19:02 2008 +0000 +++ b/src/ai/api/ai_error.hpp Tue Apr 08 07:24:23 2008 +0000 @@ -40,6 +40,7 @@ ERR_CAT_SIGN, //!< Error messages related to building / removing signs. ERR_CAT_ROAD, //!< Error messages related to building / maintaining roads. ERR_CAT_ORDER, //!< Error messages related to managing orders. + ERR_CAT_MARINE, //!< Error messages related to building / removing ships, docks and channels. /** * DO NOT USE! The error bitsize determines how many errors can be stored in @@ -89,7 +90,13 @@ ERR_LAND_SLOPED_WRONG, // [STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION] /** A vehicle is in the way */ - ERR_VEHICLE_IN_THE_WAY, // [STR_8803_TRAIN_IN_THE_WAY, STR_9000_ROAD_VEHICLE_IN_THE_WAY, STR_980E_SHIP_IN_THE_WAY, STR_A015_AIRCRAFT_IN_THE_WAY] + ERR_VEHICLE_IN_THE_WAY, // [STR_8803_TRAIN_IN_THE_WAY, STR_9000_ROAD_VEHICLE_IN_THE_WAY, STR_980E_SHIP_IN_THE_WAY, STR_A015_AIRCRAFT_IN_THE_WAY] + + /** Site is unsuitable */ + ERR_SITE_UNSUITABLE, // [STR_0239_SITE_UNSUITABLE, STR_304B_SITE_UNSUITABLE] + + /** Too close to the edge of the map */ + ERR_TOO_CLOSE_TO_EDGE, // [STR_0002_TOO_CLOSE_TO_EDGE_OF_MAP] }; /**