Files
@ r5330:e2bb5820f4e5
Branch filter:
Location: cpp/openttd-patchpack/source/roadveh.h - annotation
r5330:e2bb5820f4e5
414 B
text/x-c
(svn r7491) WebTranslator2 update to 2006-12-13 19:43:22
esperanto - 238 fixed, 6 changed by LaPingvino (244)
russian - 252 changed by Smoky555 (252)
esperanto - 238 fixed, 6 changed by LaPingvino (244)
russian - 252 changed by Smoky555 (252)
r3959:cd4598f2b792 r3959:cd4598f2b792 r4666:2a2c50111c72 r4666:2a2c50111c72 r4666:2a2c50111c72 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r3959:cd4598f2b792 r4653:3d461c3cd615 r4653:3d461c3cd615 r4666:2a2c50111c72 r4666:2a2c50111c72 | /* $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 */
|