Files
@ r5352:64720e7993a1
Branch filter:
Location: cpp/openttd-patchpack/source/roadveh.h - annotation
r5352:64720e7993a1
414 B
text/x-c
(svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
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 */
|