Changeset - r10011:61b953b16f93
[Not reviewed]
master
0 1 0
peter1138 - 16 years ago 2008-08-25 16:20:26
peter1138@openttd.org
(svn r14170) -Codechange: Missing enum for road type iteration.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/road_type.h
Show inline comments
 
@@ -10,12 +10,13 @@
 
/**
 
 * The different roadtypes we support
 
 *
 
 * @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.
 
	ROADTYPE_END,           ///< Used for iterations
 
	INVALID_ROADTYPE = 0xFF ///< flag for invalid roadtype
 
};
0 comments (0 inline, 0 general)