vehicle.h
changeset 954 4d052517a993
parent 941 4a695e126035
child 956 d72a565cc672
equal deleted inserted replaced
953:4e4f73549437 954:4d052517a993
    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;