diff options
author | rubidium <rubidium@openttd.org> | 2007-07-01 19:11:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-01 19:11:47 +0000 |
commit | c0e341ee05792cc692d19a8ed80aeebc05d3af0e (patch) | |
tree | 2e6180dd4e262fcc66cf94a5d26c4c6fb7df642f /src/aircraft.h | |
parent | 162617eeb398d7a67afccc57afb21e27f41988b3 (diff) | |
download | openttd-c0e341ee05792cc692d19a8ed80aeebc05d3af0e.tar.xz |
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index f7cd1b457..22a3e1a2b 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -136,6 +136,7 @@ struct Aircraft : public Vehicle { ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_AIRCRAFT_INC : EXPENSES_AIRCRAFT_RUN; } WindowClass GetVehicleListWindowClass() const { return WC_AIRCRAFT_LIST; } bool IsPrimaryVehicle() const { return IsNormalAircraft(this); } + int GetImage(Direction direction) const; }; #endif /* AIRCRAFT_H */ |