forked from mirror/OpenTTD
(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.
This commit is contained in:
9
engine.h
9
engine.h
@@ -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,
|
||||
|
Reference in New Issue
Block a user