src/autoreplace_gui.h
author rubidium
Wed, 09 Apr 2008 14:05:50 +0000
changeset 8870 b83a4174cf2d
parent 8333 b01316b861c2
permissions -rw-r--r--
(svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data.
/* $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 */