ship.h
author miham
Wed, 28 Jun 2006 13:08:40 +0000
changeset 4086 b7a7be1cec28
parent 3962 c8e21d1c5a6c
child 4638 8abe4f10b94b
permissions -rw-r--r--
(svn r5402) WebTranslator2 update to 2006-06-28 15:08:19
czech - 15 fixed by Hadez (15)
french - 1 fixed, 3 changed by belugas (4)
italian - 1 changed by sidew (1)
ukrainian - 1 fixed by znikoz (1)
/* $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;
}