(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future

This commit is contained in:
rubidium
2010-08-19 20:58:30 +00:00
parent bbafd249ca
commit bd5be9a942
6 changed files with 15 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ typedef uint16 StringID; ///< The ID of a string.
typedef uint16 SubsidyID; ///< The ID of a subsidy.
typedef uint32 TileIndex; ///< The ID of a tile (just named differently).
typedef uint16 TownID; ///< The ID of a town.
typedef uint16 VehicleID; ///< The ID of a vehicle.
typedef uint32 VehicleID; ///< The ID of a vehicle.
/* Types we defined ourself, as the OpenTTD core doesn't have them (yet) */
typedef uint AIErrorType; ///< The types of errors inside the NoAI framework.

View File

@@ -97,7 +97,7 @@ public:
VS_INVALID = 0xFF, ///< An invalid vehicle state.
};
static const VehicleID VEHICLE_INVALID = 0xFFFF; ///< Invalid VehicleID.
static const VehicleID VEHICLE_INVALID = 0xFFFFF; ///< Invalid VehicleID.
/**
* Checks whether the given vehicle is valid and owned by you.