tron@2186: /* $Id$ */ rubidium@10252: rubidium@10444: /** @file transport_type.h Base types related to transport. */ rubidium@8617: rubidium@10444: #ifndef TRANSPORT_TYPE_H rubidium@10444: #define TRANSPORT_TYPE_H truelight@0: rubidium@10444: typedef uint16 UnitID; truelight@2828: rubidium@6574: enum TransportType { truelight@159: /* These constants are for now linked to the representation of bridges tron@3333: * and tunnels, so they can be used by GetTileTrackStatus_TunnelBridge. tron@3333: * In an ideal world, these constants would be used everywhere when tron@3333: * accessing tunnels and bridges. For now, you should just not change tron@3333: * the values for road and rail. truelight@159: */ rubidium@5838: TRANSPORT_BEGIN = 0, rubidium@10397: TRANSPORT_RAIL = TRANSPORT_BEGIN, rubidium@10397: TRANSPORT_ROAD, rubidium@10397: TRANSPORT_WATER, rubidium@10397: TRANSPORT_AIR, matthijs@1967: TRANSPORT_END, matthijs@1967: INVALID_TRANSPORT = 0xff, rubidium@6574: }; truelight@159: rubidium@10444: #endif /* TRANSPORT_TYPE_H */