File diff r7762:f53dd1eec4cf → r7763:878d494b5f57
src/openttd.h
Show inline comments
 
@@ -60,25 +60,27 @@ typedef uint16 VehicleID;
 
typedef uint16 StationID;
 
static const StationID INVALID_STATION = 0xFFFF;
 
typedef uint16 RoadStopID;
 
typedef uint16 TownID;
 
typedef uint16 IndustryID;
 
typedef uint16 DepotID;
 
typedef uint16 WaypointID;
 
typedef uint16 OrderID;
 
typedef uint16 SignID;
 
typedef uint16 GroupID;
 
typedef uint16 EngineRenewID;
 
typedef uint16 DestinationID;
 
typedef int64 Money;
 

	
 
typedef OverflowSafeInt<int64, INT64_MAX, INT64_MIN> OverflowSafeInt64;
 
typedef OverflowSafeInt64 Money;
 

	
 
/* DestinationID must be at least as large as every these below, because it can
 
 * be any of them
 
 */
 
assert_compile(sizeof(DestinationID) == sizeof(DepotID));
 
assert_compile(sizeof(DestinationID) == sizeof(WaypointID));
 
assert_compile(sizeof(DestinationID) == sizeof(StationID));
 

	
 
typedef int32 WindowNumber;
 

	
 
enum {
 
	INVALID_YEAR = -1,