(svn r9702) -Codechange: Add livery support to newgrf vehicle var 43

This commit is contained in:
peter1138
2007-04-20 21:21:47 +00:00
parent a4b3066433
commit 15bfaba259
3 changed files with 47 additions and 19 deletions

View File

@@ -551,6 +551,8 @@ VARDEF uint16 _returned_refit_capacity;
static const VehicleID INVALID_VEHICLE = 0xFFFF;
const struct Livery *GetEngineLivery(EngineID engine_type, PlayerID player, EngineID parent_engine_type, const Vehicle *v);
/**
* Get the colour map for an engine. This used for unbuilt engines in the user interface.
* @param engine_type ID of engine