diff options
author | peter1138 <peter1138@openttd.org> | 2006-03-01 23:14:03 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-03-01 23:14:03 +0000 |
commit | 741fc265225e879d77515d14f056c8969f6fde82 (patch) | |
tree | 5d55a4f5db80674d8bee645029acf2132b708c08 /engine.h | |
parent | 4367870b18782051c9262e7d599341749c2206fa (diff) | |
download | openttd-741fc265225e879d77515d14f056c8969f6fde82.tar.xz |
(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring them. Currently the second colour is fixed to be the player's colour.
Diffstat (limited to 'engine.h')
-rw-r--r-- | engine.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -98,6 +98,15 @@ typedef struct Engine { byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h } Engine; +/** + * EngineInfo.misc_flags is a bitmask, with the following values + */ +enum { + EF_RAIL_TILTS = 0, ///< Rail vehicle tilts in curves (unsupported) + EF_ROAD_TRAM = 0, ///< Road vehicle is a tram/light rail vehicle (unsup) + EF_USES_2CC = 1, ///< Vehicle uses two company colours + EF_RAIL_IS_MU = 2, ///< Rail vehicle is a multiple-unit (DMU/EMU) +}; enum { RVI_MULTIHEAD = 1, |