diff options
author | frosch <frosch@openttd.org> | 2011-11-01 16:51:47 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-01 16:51:47 +0000 |
commit | bbc3409942565cd6876016e270288517cb6acafb (patch) | |
tree | 3079bbaa5682e25b2805774cd2382e9c0c6ef109 /src/roadveh.h | |
parent | e802dc66b9d1e913e77816184ed2744f737823ec (diff) | |
download | openttd-bbc3409942565cd6876016e270288517cb6acafb.tar.xz |
(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs.
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index c10bb1503..fbc865636 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -107,7 +107,7 @@ struct RoadVehicle : public GroundVehicle<RoadVehicle, VEH_ROAD> { void UpdateDeltaXY(Direction direction); ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_ROADVEH_INC : EXPENSES_ROADVEH_RUN; } bool IsPrimaryVehicle() const { return this->IsFrontEngine(); } - SpriteID GetImage(Direction direction) const; + SpriteID GetImage(Direction direction, EngineImageType image_type) const; int GetDisplaySpeed() const { return this->gcache.last_speed / 2; } int GetDisplayMaxSpeed() const { return this->vcache.cached_max_speed / 2; } Money GetRunningCost() const; |