src/autoreplace_gui.h
author rubidium
Fri, 05 Dec 2008 18:02:04 +0000
changeset 10405 fb6f4c4476a6
parent 8333 b01316b861c2
permissions -rw-r--r--
(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
8212
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     1
/* $Id$ */
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     2
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     3
/** @file autoreplace_gui.h Functions related to the autoreplace GUIs*/
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     4
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     5
#ifndef AUTOREPLACE_GUI_H
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     6
#define AUTOREPLACE_GUI_H
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     7
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     8
#include "vehicle_type.h"
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
     9
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    10
/**
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    11
 * When an engine is made buildable or is removed from being buildable, add/remove it from the build/autoreplace lists
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    12
 * @param type The type of engine
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    13
 */
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    14
void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type);
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    15
void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g);
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    16
void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh);
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    17
cf3fce5c7464 (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
diff changeset
    18
#endif /* AUTOREPLACE_GUI_H */