(svn r22205) -Codechange: replace magic number with constant

This commit is contained in:
rubidium
2011-03-05 21:52:45 +00:00
parent 2aa14cc54b
commit e34c42de32
5 changed files with 11 additions and 8 deletions

View File

@@ -67,6 +67,9 @@ enum DepotCommand {
static const uint MAX_LENGTH_VEHICLE_NAME_CHARS = 32; ///< The maximum length of a vehicle name in characters including '\0'
static const uint MAX_LENGTH_VEHICLE_NAME_PIXELS = 150; ///< The maximum length of a vehicle name in pixels
/** The length of a vehicle in tile units. */
static const uint VEHICLE_LENGTH = 8;
/** Vehicle acceleration models. */
enum AccelerationModel {
AM_ORIGINAL,