equal
deleted
inserted
replaced
128 /** |
128 /** |
129 * Build your company's HQ on the given tile. |
129 * Build your company's HQ on the given tile. |
130 * @param tile The tile to build your HQ on, this tile is the most nothern tile of your HQ. |
130 * @param tile The tile to build your HQ on, this tile is the most nothern tile of your HQ. |
131 * @pre AIMap::IsValidTile(tile). |
131 * @pre AIMap::IsValidTile(tile). |
132 * @exception AIError::ERR_AREA_NOT_CLEAR |
132 * @exception AIError::ERR_AREA_NOT_CLEAR |
|
133 * @exception AIError::ERR_FLAT_LAND_REQUIRED |
133 * @return True if the HQ could be build. |
134 * @return True if the HQ could be build. |
134 * @note An HQ can not be removed, only by water or rebuilding; If an HQ is |
135 * @note An HQ can not be removed, only by water or rebuilding; If an HQ is |
135 * build again, the old one is removed. |
136 * build again, the old one is removed. |
136 */ |
137 */ |
137 static bool BuildCompanyHQ(TileIndex tile); |
138 static bool BuildCompanyHQ(TileIndex tile); |