Files
@ r10999:950d41f6cb97
Branch filter:
Location: cpp/openttd-patchpack/source/src/transport_type.h - annotation
r10999:950d41f6cb97
828 B
text/x-c
(svn r15339) -Update: WebTranslator2 update to 2009-02-04 18:39:16
arabic_egypt - 1 fixed by khaloofah (1)
german - 1 changed by planetmaker (1)
hebrew - 668 fixed, 19 changed by 19izhar73 (687)
korean - 10 changed by leejaeuk5 (10)
serbian - 6 fixed, 4 changed by salejemaster (10)
arabic_egypt - 1 fixed by khaloofah (1)
german - 1 changed by planetmaker (1)
hebrew - 668 fixed, 19 changed by 19izhar73 (687)
korean - 10 changed by leejaeuk5 (10)
serbian - 6 fixed, 4 changed by salejemaster (10)
r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r10260:88d82a40120c r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r10260:88d82a40120c r10260:88d82a40120c r10260:88d82a40120c r10260:88d82a40120c r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e r9126:35955a7b9d9e | /* $Id$ */
/** @file transport_type.h Base types related to transport. */
#ifndef TRANSPORT_TYPE_H
#define TRANSPORT_TYPE_H
typedef uint16 UnitID;
/** Available types of transport */
enum TransportType {
/* These constants are for now linked to the representation of bridges
* and tunnels, so they can be used by GetTileTrackStatus_TunnelBridge.
* In an ideal world, these constants would be used everywhere when
* accessing tunnels and bridges. For now, you should just not change
* the values for road and rail.
*/
TRANSPORT_BEGIN = 0,
TRANSPORT_RAIL = TRANSPORT_BEGIN, ///< Transport by train
TRANSPORT_ROAD, ///< Transport by road vehicle
TRANSPORT_WATER, ///< Transport over water
TRANSPORT_AIR, ///< Transport through air
TRANSPORT_END,
INVALID_TRANSPORT = 0xff,
};
#endif /* TRANSPORT_TYPE_H */
|