(svn r12605) -Cleanup: variable scope and coding style in train*

This commit is contained in:
smatz
2008-04-07 12:36:50 +00:00
parent f46ae97d8e
commit ac389e16d2
3 changed files with 93 additions and 94 deletions

View File

@@ -10,12 +10,10 @@
#include "vehicle_base.h"
/*
* enum to handle train subtypes
/** enum to handle train subtypes
* Do not access it directly unless you have to. Use the access functions below
* This is an enum to tell what bit to access as it is a bitmask
*/
enum TrainSubtype {
TS_FRONT = 0, ///< Leading engine of a train
TS_ARTICULATED_PART = 1, ///< Articulated part of an engine