Files @ r5183:554598f00547
Branch filter:

Location: cpp/openttd-patchpack/source/roadveh.h

miham
(svn r7293) WebTranslator2 update to 2006-11-30 08:56:49
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan - 4 fixed, 31 changed by arnaullv (35)
croatian - 13 fixed by blozo (13)
french - 4 fixed by glx (4)
german - 1 fixed by Neonox (1)
hungarian - 7 fixed by miham (7)
/* $Id$ */

#ifndef ROADVEH_H
#define ROADVEH_H

#include "vehicle.h"


static inline bool IsRoadVehInDepot(const Vehicle* v)
{
	assert(v->type == VEH_Road);
	return v->u.road.state == 254;
}

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

void CcCloneRoadVeh(bool success, TileIndex tile, uint32 p1, uint32 p2);

#endif /* ROADVEH_H */