equal
deleted
inserted
replaced
147 * @pre IsValidVehicle(vehicle_id). |
147 * @pre IsValidVehicle(vehicle_id). |
148 * @return The age the vehicle has left. |
148 * @return The age the vehicle has left. |
149 * @note The age is in days. |
149 * @note The age is in days. |
150 */ |
150 */ |
151 static int32 GetAgeLeft(VehicleID vehicle_id); |
151 static int32 GetAgeLeft(VehicleID vehicle_id); |
|
152 |
|
153 /** |
|
154 * Get the current speed of a vehicle. |
|
155 * @param vehicle_id The vehicle to get the age of. |
|
156 * @pre IsValidVehicle(vehicle_id). |
|
157 * @return The current speed of the vehicle. |
|
158 * @note Speed is in km/h. |
|
159 */ |
|
160 static int32 GetCurrentSpeed(VehicleID vehicle_id); |
152 |
161 |
153 /** |
162 /** |
154 * Get the running cost of this vehicle. |
163 * Get the running cost of this vehicle. |
155 * @param vehicle_id The vehicle to get the age of. |
164 * @param vehicle_id The vehicle to get the age of. |
156 * @pre IsValidVehicle(vehicle_id). |
165 * @pre IsValidVehicle(vehicle_id). |