From b0537d271f364486246bdab3be8a2bd44d43022f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 19 Oct 2008 15:39:12 +0000 Subject: (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) --- src/transport_type.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/transport_type.h') diff --git a/src/transport_type.h b/src/transport_type.h index c23afbd7c..c31a0ae79 100644 --- a/src/transport_type.h +++ b/src/transport_type.h @@ -7,6 +7,7 @@ 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. @@ -15,10 +16,10 @@ enum TransportType { * the values for road and rail. */ TRANSPORT_BEGIN = 0, - TRANSPORT_RAIL = TRANSPORT_BEGIN, - TRANSPORT_ROAD, - TRANSPORT_WATER, - TRANSPORT_AIR, + 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, }; -- cgit v1.2.3-70-g09d2