diff src/ship.h @ 7134:e1c4f52f82cd draft

(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
author rubidium <rubidium@openttd.org>
date Sun, 01 Jul 2007 19:11:47 +0000
parents 746c984c2dfe
children 45123abbc930
line wrap: on
line diff
--- a/src/ship.h
+++ b/src/ship.h
@@ -46,6 +46,7 @@
 	WindowClass GetVehicleListWindowClass() const { return WC_SHIPS_LIST; }
 	void PlayLeaveStationSound() const;
 	bool IsPrimaryVehicle() const { return true; }
+	int GetImage(Direction direction) const;
 };
 
 #endif /* SHIP_H */