Mercurial > hg > openttd
view src/transport_type.h @ 10123:57aa34285d05 draft
(svn r14307) -Fix: when deleting a station, remove news items regarding it
author | smatz <smatz@openttd.org> |
---|---|
date | Sat, 13 Sep 2008 10:19:51 +0000 |
parents | 8c450e1754e2 |
children | d23fed9a51e2 |
line wrap: on
line source
/* $Id$ */ /** @file transport_type.h Base types related to transport. */ #ifndef TRANSPORT_TYPE_H #define TRANSPORT_TYPE_H typedef uint16 UnitID; 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_ROAD, TRANSPORT_WATER, TRANSPORT_AIR, TRANSPORT_END, INVALID_TRANSPORT = 0xff, }; #endif /* TRANSPORT_TYPE_H */