(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.

This commit is contained in:
rubidium
2008-01-07 09:19:53 +00:00
parent b0ac283aec
commit a8a3a7e3f2
22 changed files with 195 additions and 126 deletions

19
src/autoreplace_gui.h Normal file
View File

@@ -0,0 +1,19 @@
/* $Id$ */
/** @file autoreplace_gui.h Functions related to the autoreplace GUIs*/
#ifndef AUTOREPLACE_GUI_H
#define AUTOREPLACE_GUI_H
#include "vehicle_type.h"
/**
* When an engine is made buildable or is removed from being buildable, add/remove it from the build/autoreplace lists
* @param type The type of engine
*/
void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type);
void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g);
void ShowReplaceVehicleWindow(VehicleType vehicletype);
void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh);
#endif /* AUTOREPLACE_GUI_H */