File diff r15815:ae5db3adff4c → r15816:67664bff2b7d
src/train.h
Show inline comments
 
@@ -145,6 +145,8 @@ struct Train : public GroundVehicle<Trai
 

	
 
	void ConsistChanged(bool same_length);
 

	
 
	void RailtypeChanged();
 

	
 
	int UpdateSpeed();
 

	
 
	void UpdateAcceleration();
 
@@ -372,7 +374,7 @@ struct Train : public GroundVehicle<Trai
 

	
 
protected: // These functions should not be called outside acceleration code.
 

	
 
	void UpdateVisualEffect();
 
	void UpdateVisualEffect(bool allow_power_change);
 

	
 
	/**
 
	 * Allows to know the power value that this vehicle will use.