(svn r22413) -Document: even more stuff

This commit is contained in:
rubidium
2011-05-02 20:59:54 +00:00
parent cf30941fab
commit ff143c6708
15 changed files with 78 additions and 6 deletions

View File

@@ -579,6 +579,11 @@ static const WindowDesc _replace_vehicle_desc(
_nested_replace_vehicle_widgets, lengthof(_nested_replace_vehicle_widgets)
);
/**
* Show the autoreplace configuration window for a particular group.
* @param id_g The group to replace the vehicles for.
* @param vehicletype The type of vehicles in the group.
*/
void ShowReplaceGroupVehicleWindow(GroupID id_g, VehicleType vehicletype)
{
DeleteWindowById(WC_REPLACE_VEHICLE, vehicletype);