forked from mirror/OpenTTD
(svn r22205) -Codechange: replace magic number with constant
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user