equal
deleted
inserted
replaced
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; |