src/openttd.h
changeset 8608 45d77f05d3a3
parent 8604 8afdd9877afd
child 8609 8c0c3e9dd6a0
equal deleted inserted replaced
8607:d16299e657ba 8608:45d77f05d3a3
     6 
     6 
     7 #ifndef VARDEF
     7 #ifndef VARDEF
     8 #define VARDEF extern
     8 #define VARDEF extern
     9 #endif
     9 #endif
    10 
    10 
       
    11 #include "macros.h"
    11 #include "helpers.hpp"
    12 #include "helpers.hpp"
    12 
    13 
    13 struct Oblong {
    14 struct Oblong {
    14 	int x, y;
    15 	int x, y;
    15 	int width, height;
    16 	int width, height;
    66 typedef uint16 SignID;
    67 typedef uint16 SignID;
    67 typedef uint16 GroupID;
    68 typedef uint16 GroupID;
    68 typedef uint16 EngineRenewID;
    69 typedef uint16 EngineRenewID;
    69 typedef uint16 DestinationID;
    70 typedef uint16 DestinationID;
    70 
    71 
    71 typedef OverflowSafeInt<int64, INT64_MAX, INT64_MIN> OverflowSafeInt64;
    72 #include "core/overflowsafe_type.hpp"
    72 typedef OverflowSafeInt64 Money;
    73 typedef OverflowSafeInt64 Money;
    73 
    74 
    74 /* DestinationID must be at least as large as every these below, because it can
    75 /* DestinationID must be at least as large as every these below, because it can
    75  * be any of them
    76  * be any of them
    76  */
    77  */