Files
@ r5388:b83fe4735739
Branch filter:
Location: cpp/openttd-patchpack/source/roadveh.h - annotation
r5388:b83fe4735739
414 B
text/x-c
(svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni)
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 */
|