src/train.h
branchnoai
changeset 9826 9707ad4c9b60
parent 9732 f8eb3e208514
child 9869 6404afe43575
equal deleted inserted replaced
9825:cc77111ebd85 9826:9707ad4c9b60
   272 
   272 
   273 byte FreightWagonMult(CargoID cargo);
   273 byte FreightWagonMult(CargoID cargo);
   274 
   274 
   275 int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped);
   275 int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped);
   276 int CheckTrainStoppedInDepot(const Vehicle *v);
   276 int CheckTrainStoppedInDepot(const Vehicle *v);
       
   277 void UpdateTrainAcceleration(Vehicle* v);
   277 
   278 
   278 /**
   279 /**
   279  * This class 'wraps' Vehicle; you do not actually instantiate this class.
   280  * This class 'wraps' Vehicle; you do not actually instantiate this class.
   280  * You create a Vehicle using AllocateVehicle, so it is added to the pool
   281  * You create a Vehicle using AllocateVehicle, so it is added to the pool
   281  * and you reinitialize that to a Train using:
   282  * and you reinitialize that to a Train using: