Increase maximum permitted depot and station name lengths.

This commit is contained in:
Jonathan G Rennison
2017-06-01 21:33:36 +01:00
parent d6e62a8a39
commit 735fc1fc68
2 changed files with 2 additions and 2 deletions

View File

@@ -15,6 +15,6 @@
typedef uint16 DepotID; ///< Type for the unique identifier of depots. typedef uint16 DepotID; ///< Type for the unique identifier of depots.
struct Depot; struct Depot;
static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32; ///< The maximum length of a depot name in characters including '\0' static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 128; ///< The maximum length of a depot name in characters including '\0'
#endif /* DEPOT_TYPE_H */ #endif /* DEPOT_TYPE_H */

View File

@@ -89,7 +89,7 @@ enum CatchmentArea {
MAX_CATCHMENT = 10, ///< Maximum catchment for airports with "modified catchment" enabled MAX_CATCHMENT = 10, ///< Maximum catchment for airports with "modified catchment" enabled
}; };
static const uint MAX_LENGTH_STATION_NAME_CHARS = 32; ///< The maximum length of a station name in characters including '\0' static const uint MAX_LENGTH_STATION_NAME_CHARS = 128; ///< The maximum length of a station name in characters including '\0'
/** List of station IDs */ /** List of station IDs */
typedef std::list<StationID> StationIDList; typedef std::list<StationID> StationIDList;