(svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible
This commit is contained in:
@@ -59,7 +59,9 @@ void CheckVehicleBreakdown(Vehicle *v);
|
||||
void AgeVehicle(Vehicle *v);
|
||||
void VehicleEnteredDepotThisTick(Vehicle *v);
|
||||
|
||||
void VehicleMove(Vehicle *v, bool update_viewport);
|
||||
void VehicleUpdatePosition(Vehicle *v);
|
||||
void VehicleUpdateViewport(Vehicle *v, bool dirty);
|
||||
void VehicleUpdatePositionAndViewport(Vehicle *v);
|
||||
void MarkSingleVehicleDirty(const Vehicle *v);
|
||||
|
||||
UnitID GetFreeUnitNumber(VehicleType type);
|
||||
|
Reference in New Issue
Block a user