vehicle.h
changeset 954 66c89362a778
parent 941 d271102b3010
child 956 dda0863632df
equal deleted inserted replaced
953:ed994deab699 954:66c89362a778
    53 
    53 
    54 	byte flags;
    54 	byte flags;
    55 } VehicleRail;
    55 } VehicleRail;
    56 
    56 
    57 enum {
    57 enum {
    58 	VRF_REVERSING = 1,
    58 	VRF_REVERSING = 0,
    59 
    59 
    60 	// used to calculate if train is going up or down
    60 	// used to calculate if train is going up or down
    61 	VRF_GOINGUP = 2,
    61 	VRF_GOINGUP   = 1,
    62 	VRF_GOINGDOWN = 4,
    62 	VRF_GOINGDOWN = 2,
    63 };
    63 };
    64 
    64 
    65 typedef struct VehicleAir {
    65 typedef struct VehicleAir {
    66 	uint16 crashed_counter;
    66 	uint16 crashed_counter;
    67 	byte pos;
    67 	byte pos;