Mercurial > hg > openttd
changeset 10011:a348159c1eca draft
(svn r14170) -Codechange: Missing enum for road type iteration.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Mon, 25 Aug 2008 16:20:26 +0000 |
parents | 66a308822ca6 |
children | 3ab1d6da5fea |
files | src/road_type.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/road_type.h +++ b/src/road_type.h @@ -13,6 +13,7 @@ * @note currently only ROADTYPE_ROAD and ROADTYPE_TRAM are supported. */ enum RoadType { + ROADTYPE_BEGIN = 0, ///< Used for iterations ROADTYPE_ROAD = 0, ///< Basic road type ROADTYPE_TRAM = 1, ///< Trams ROADTYPE_HWAY = 2, ///< Only a placeholder. Not sure what we are going to do with this road type.