diff options
author | peter1138 <peter1138@openttd.org> | 2006-08-09 21:02:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-08-09 21:02:06 +0000 |
commit | acaa043d6f9c45e5d0681dbd1a9f3ddafc4b9b2d (patch) | |
tree | 86fe57483fb218bc005865a82593ec5304656272 /ship_gui.c | |
parent | 53d2650d9b7796e8dcad94fd4270f9a834ad0f8d (diff) | |
download | openttd-acaa043d6f9c45e5d0681dbd1a9f3ddafc4b9b2d.tar.xz |
(svn r5820) - NewGRF: Add support for extra vehicle text in the purchase list for road vehicles, aircraft and ships.
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ship_gui.c b/ship_gui.c index 93cd990f1..69b53fd38 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -62,6 +62,10 @@ void DrawShipPurchaseInfo(int x, int y, EngineID engine_number) SetDParam(0, e->reliability * 100 >> 16); DrawString(x,y, STR_PURCHASE_INFO_RELIABILITY, 0); y += 10; + + /* Additional text from NewGRF */ + // XXX 227 will become a calculated width... + y += ShowAdditionalText(x, y, 227, engine_number); } static void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection) |