diff options
author | bjarni <bjarni@openttd.org> | 2005-01-19 19:15:03 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-01-19 19:15:03 +0000 |
commit | 2fd3553d78d6b93fb85d97ae8e98beef5418a9c4 (patch) | |
tree | 2bf58365c54d2375ef13ac173631a7846771dc03 /vehicle.h | |
parent | e4a3d284b21a5bbd4ff5c0ad920be28cd4701e8a (diff) | |
download | openttd-2fd3553d78d6b93fb85d97ae8e98beef5418a9c4.tar.xz |
(svn r1568) made an enum of train subtypes to make the code more readable
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -229,7 +229,12 @@ enum VehStatus { VS_CRASHED = 0x80, }; - +// 1 and 3 do not appear to be used +enum TrainSubtype { + TS_Front_Engine = 0, + TS_Not_First = 2, + TS_Free_Car = 4, +}; /* Effect vehicle types */ enum { |