src/autoreplace_gui.h
author glx
Sat, 26 Apr 2008 21:34:30 +0000
branch0.6
changeset 10367 94c008da45c4
parent 8829 9152e779e7da
permissions -rw-r--r--
(svn r12909) [0.6] -Fix (r12866): missing #defines
/* $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 ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh);

#endif /* AUTOREPLACE_GUI_H */