vehicle.h
changeset 1282 ea2ae881814c
parent 1279 bc761aad52b3
child 1313 f1013ec3d318
equal deleted inserted replaced
1281:dd226de69402 1282:ea2ae881814c
    98 
    98 
    99 	Vehicle *next;		// next
    99 	Vehicle *next;		// next
   100 
   100 
   101 	StringID string_id; // Displayed string
   101 	StringID string_id; // Displayed string
   102 
   102 
   103 	byte unitnumber;	// unit number, for display purposes only
   103 	UnitID unitnumber;	// unit number, for display purposes only
   104 	byte owner;				// which player owns the vehicle?
   104 	byte owner;				// which player owns the vehicle?
   105 
   105 
   106 	TileIndex tile;		// Current tile index
   106 	TileIndex tile;		// Current tile index
   107 	TileIndex dest_tile; // Heading for this tile
   107 	TileIndex dest_tile; // Heading for this tile
   108 
   108 
   329 
   329 
   330 bool IsAircraftHangarTile(TileIndex tile);
   330 bool IsAircraftHangarTile(TileIndex tile);
   331 void ShowAircraftViewWindow(Vehicle *v);
   331 void ShowAircraftViewWindow(Vehicle *v);
   332 
   332 
   333 bool IsShipDepotTile(TileIndex tile);
   333 bool IsShipDepotTile(TileIndex tile);
   334 uint GetFreeUnitNumber(byte type);
   334 UnitID GetFreeUnitNumber(byte type);
   335 
   335 
   336 int LoadUnloadVehicle(Vehicle *v);
   336 int LoadUnloadVehicle(Vehicle *v);
   337 int GetDepotByTile(uint tile);
   337 int GetDepotByTile(uint tile);
   338 uint GetWaypointByTile(uint tile);
   338 uint GetWaypointByTile(uint tile);
   339 
   339