(svn r6246) -Feature: added the many times requested "send all vehicle to depot" button

it's located in the vehicle list screen and does the same as in the shared orders window (send all vehicles in list to a depot)
	it will still not inform the player if a vehicle failed to find a depot, so don't take for granted that all of them go
This commit is contained in:
bjarni
2006-08-30 21:39:01 +00:00
parent 42682a70aa
commit 744840c3da
7 changed files with 87 additions and 21 deletions

View File

@@ -314,6 +314,8 @@ int CheckTrainStoppedInDepot(const Vehicle *v);
bool VehicleNeedsService(const Vehicle *v);
int32 SendAllVehiclesToDepot(byte type, uint32 flags, bool service, PlayerID owner);
typedef struct GetNewVehiclePosResult {
int x,y;
TileIndex old_tile;