Files @ r4543:756167771b4a
Branch filter:

Location: cpp/openttd-patchpack/source/ship.h - annotation

miham
(svn r6375) WebTranslator2 update to 2006-09-04 08:35:58
german - 1 changed by Neonox (1)
spanish - 87 fixed by eusebio (87)
turkish - 4 fixed by jnmbk (4)
/* $Id$ */

#include "vehicle.h"


static inline bool IsShipInDepot(const Vehicle* v)
{
	assert(v->type == VEH_Ship);
	return v->u.ship.state == 0x80;
}

static inline bool IsShipInDepotStopped(const Vehicle* v)
{
	return IsShipInDepot(v) && v->vehstatus & VS_STOPPED;
}