16
10
#include "strings_func.h"
17
11
#include "vehicle_func.h"
19
13
#include "table/strings.h"
22
15
void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection)
24
17
DrawSprite(v->GetImage(DIR_W), GetVehiclePalette(v), x + 32, y + 10);
26
19
if (v->index == selection) {
27
DrawFrameRect(x - 5, y - 1, x + 67, y + 21, 15, FR_BORDERONLY);
20
DrawFrameRect(x - 5, y - 1, x + 67, y + 21, COLOUR_WHITE, FR_BORDERONLY);