src/vehicle.h
changeset 7980 9b12784cc39c
parent 7974 6fcdebd75c19
child 7982 539e32cc37ce
equal deleted inserted replaced
7979:f0a24809ca93 7980:9b12784cc39c
   417 	/**
   417 	/**
   418 	 * Gets the speed in mph that can be sent into SetDParam for string processing.
   418 	 * Gets the speed in mph that can be sent into SetDParam for string processing.
   419 	 * @return the vehicle's speed
   419 	 * @return the vehicle's speed
   420 	 */
   420 	 */
   421 	virtual int GetDisplaySpeed() const { return 0; }
   421 	virtual int GetDisplaySpeed() const { return 0; }
       
   422 
       
   423 	/**
       
   424 	 * Gets the maximum speed in mph that can be sent into SetDParam for string processing.
       
   425 	 * @return the vehicle's maximum speed
       
   426 	 */
       
   427 	virtual int GetDisplayMaxSpeed() const { return 0; }
   422 
   428 
   423 	/**
   429 	/**
   424 	 * Calls the tick handler of the vehicle
   430 	 * Calls the tick handler of the vehicle
   425 	 */
   431 	 */
   426 	virtual void Tick() {};
   432 	virtual void Tick() {};