22 enum ErrorMessages { |
22 enum ErrorMessages { |
23 /** Base for station related errors */ |
23 /** Base for station related errors */ |
24 ERR_STATION_BASE = AIError::ERR_CAT_STATION << AIError::ERR_CAT_BIT_SIZE, |
24 ERR_STATION_BASE = AIError::ERR_CAT_STATION << AIError::ERR_CAT_BIT_SIZE, |
25 |
25 |
26 /** The station size exceeds the station spread */ |
26 /** The station size exceeds the station spread */ |
27 ERR_STATION_TOO_LARGE, // [STR_306C_STATION_TOO_SPREAD_OUT] |
27 ERR_STATION_TOO_LARGE, // [STR_306C_STATION_TOO_SPREAD_OUT] |
28 |
28 |
29 /** The station is build too close to another station */ |
29 /** The station is build too close to another station, airport or dock */ |
30 ERR_STATION_TOO_CLOSE_TO_OTHER_STATION, // [STR_300D_TOO_CLOSE_TO_ANOTHER_AIRPORT, STR_3009_TOO_CLOSE_TO_ANOTHER_STATION] |
30 ERR_STATION_TOO_CLOSE_TO_ANOTHER_STATION, // [STR_300D_TOO_CLOSE_TO_ANOTHER_AIRPORT, STR_3009_TOO_CLOSE_TO_ANOTHER_STATION, STR_304C_TOO_CLOSE_TO_ANOTHER_DOCK] |
|
31 |
|
32 /** There are too many stations, airports and docks in the game */ |
|
33 ERR_STATION_TOO_MANY_STATIONS, // [STR_3008_TOO_MANY_STATIONS_LOADING, STR_TOO_MANY_TRUCK_STOPS, STR_TOO_MANY_BUS_STOPS] |
|
34 |
|
35 /** There are too many stations, airports of docks in a town */ |
|
36 ERR_STATION_TOO_MANY_STATIONS_IN_TOWN, // [STR_3007_TOO_MANY_STATIONS_LOADING] |
31 }; |
37 }; |
32 |
38 |
33 /** |
39 /** |
34 * Type of stations known in the game. |
40 * Type of stations known in the game. |
35 */ |
41 */ |