diff options
author | rubidium <rubidium@openttd.org> | 2008-01-07 09:19:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-07 09:19:53 +0000 |
commit | e2f7ec1d3e8b546f5faa3ed6d7fd28363629daf3 (patch) | |
tree | 1bde0819bd2092a7d4c9fda75d5f70aaaa075f35 /src/autoreplace_gui.h | |
parent | 444e77d8bcb6738f14ce37e2afafd96d5ce43f1f (diff) | |
download | openttd-e2f7ec1d3e8b546f5faa3ed6d7fd28363629daf3.tar.xz |
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
Diffstat (limited to 'src/autoreplace_gui.h')
-rw-r--r-- | src/autoreplace_gui.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/autoreplace_gui.h b/src/autoreplace_gui.h new file mode 100644 index 000000000..f34a4cd5e --- /dev/null +++ b/src/autoreplace_gui.h @@ -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 */ |