src/openttd.h
changeset 8771 cab6fdd47703
parent 8770 ea070bc7bdad
child 8772 eade4c0afbb8
equal deleted inserted replaced
8770:ea070bc7bdad 8771:cab6fdd47703
    10 
    10 
    11 // Forward declarations of structs.
    11 // Forward declarations of structs.
    12 struct Waypoint;
    12 struct Waypoint;
    13 struct ViewPort;
    13 struct ViewPort;
    14 struct DrawPixelInfo;
    14 struct DrawPixelInfo;
    15 typedef byte VehicleOrderID;  ///< The index of an order within its current vehicle (not pool related)
       
    16 typedef byte LandscapeID;
    15 typedef byte LandscapeID;
    17 typedef uint16 EngineID;
    16 typedef uint16 EngineID;
    18 typedef uint16 UnitID;
    17 typedef uint16 UnitID;
    19 
    18 
    20 typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp)
    19 typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp)
    21 
    20 
    22 /* IDs used in Pools */
    21 /* IDs used in Pools */
    23 typedef uint16 WaypointID;
    22 typedef uint16 WaypointID;
    24 typedef uint16 OrderID;
       
    25 typedef uint16 SignID;
    23 typedef uint16 SignID;
    26 typedef uint16 EngineRenewID;
    24 typedef uint16 EngineRenewID;
    27 
    25 
    28 enum GameModes {
    26 enum GameModes {
    29 	GM_MENU,
    27 	GM_MENU,