From c816cc37fd01eb9b0842fd22cf5e79473d338c9f Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 13 Aug 2008 06:05:01 +0000 Subject: (svn r14063) -Codechange: replace some "magic" constants with enumified constants. --- src/station_type.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/station_type.h') diff --git a/src/station_type.h b/src/station_type.h index 092f1cf91..85457d544 100644 --- a/src/station_type.h +++ b/src/station_type.h @@ -62,4 +62,9 @@ enum CatchmentArea { MAX_CATCHMENT = 10, ///< Airports have a catchment up to this number. }; +enum { + MAX_LENGTH_STATION_NAME_BYTES = 31, ///< The maximum length of a station name in bytes including '\0' + MAX_LENGTH_STATION_NAME_PIXELS = 180, ///< The maximum length of a station name in pixels +}; + #endif /* STATION_TYPE_H */ -- cgit v1.2.3-54-g00ecf