src/openttd.h
changeset 8108 b42a0e5c67ef
parent 8106 e6790dd9e750
child 8112 24b89cd40bfd
equal deleted inserted replaced
8107:bb7deea89175 8108:b42a0e5c67ef
    24 	int a;
    24 	int a;
    25 	int b;
    25 	int b;
    26 };
    26 };
    27 
    27 
    28 #include "map.h"
    28 #include "map.h"
    29 #include "slope.h"
    29 #include "slope_type.h"
       
    30 #include "vehicle_type.h"
    30 
    31 
    31 // Forward declarations of structs.
    32 // Forward declarations of structs.
    32 struct Vehicle;
       
    33 struct Depot;
    33 struct Depot;
    34 struct Waypoint;
    34 struct Waypoint;
    35 struct Station;
    35 struct Station;
    36 struct ViewPort;
    36 struct ViewPort;
    37 struct Town;
    37 struct Town;
    53 static const StringID INVALID_STRING_ID = 0xFFFF;
    53 static const StringID INVALID_STRING_ID = 0xFFFF;
    54 
    54 
    55 typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp)
    55 typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp)
    56 
    56 
    57 /* IDs used in Pools */
    57 /* IDs used in Pools */
    58 typedef uint16 VehicleID;
       
    59 typedef uint16 StationID;
    58 typedef uint16 StationID;
    60 static const StationID INVALID_STATION = 0xFFFF;
    59 static const StationID INVALID_STATION = 0xFFFF;
    61 typedef uint16 RoadStopID;
    60 typedef uint16 RoadStopID;
    62 typedef uint16 TownID;
    61 typedef uint16 TownID;
    63 typedef uint16 IndustryID;
    62 typedef uint16 IndustryID;