tron@2186: /* $Id$ */ rubidium@8989: rubidium@9126: /** @file transport_type.h Base types related to transport. */ rubidium@8121: rubidium@9126: #ifndef TRANSPORT_TYPE_H rubidium@9126: #define TRANSPORT_TYPE_H truelight@0: rubidium@9126: typedef uint16 UnitID; truelight@2828: rubidium@10260: /** Available types of transport */ rubidium@6248: 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@5587: TRANSPORT_BEGIN = 0, rubidium@10260: TRANSPORT_RAIL = TRANSPORT_BEGIN, ///< Transport by train rubidium@10260: TRANSPORT_ROAD, ///< Transport by road vehicle rubidium@10260: TRANSPORT_WATER, ///< Transport over water rubidium@10260: TRANSPORT_AIR, ///< Transport through air matthijs@1967: TRANSPORT_END, matthijs@1967: INVALID_TRANSPORT = 0xff, rubidium@6248: }; truelight@159: rubidium@9126: #endif /* TRANSPORT_TYPE_H */