Change: Only resort town directory window on population change if necessary
[openttd-github.git] / src / autoreplace_gui.h
blob634629ec4cd0284b20853d89a1193151f0ccf922
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /** @file autoreplace_gui.h Functions related to the autoreplace GUIs*/
10 #ifndef AUTOREPLACE_GUI_H
11 #define AUTOREPLACE_GUI_H
13 #include "engine_type.h"
14 #include "group_type.h"
15 #include "vehicle_type.h"
17 void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type);
18 void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g);
19 void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh);
21 #endif /* AUTOREPLACE_GUI_H */