Increase maximum permitted depot and station name lengths.
This commit is contained in:
@@ -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 */
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user