Files @ r4127:ef95278e7b1e
Branch filter:

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

miham
(svn r5480) WebTranslator2 update to 2006-07-10 19:18:20
brazilian_portuguese - 1 fixed, 6 changed by ferrerow (7)
/* $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;
}