OpenTTD
autoreplace_gui.h
Go to the documentation of this file.
1 /* $Id: autoreplace_gui.h 21844 2011-01-18 22:17:15Z rubidium $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * 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.
6  * 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.
7  * 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/>.
8  */
9 
12 #ifndef AUTOREPLACE_GUI_H
13 #define AUTOREPLACE_GUI_H
14 
15 #include "engine_type.h"
16 #include "group_type.h"
17 #include "vehicle_type.h"
18 
22 
23 #endif /* AUTOREPLACE_GUI_H */
Types related to engines.
void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh)
Show the autoreplace configuration window for a particular group.
VehicleType
Available vehicle types.
Definition: vehicle_type.h:21
uint16 GroupID
Type for all group identifiers.
Definition: group_type.h:15
void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g)
Rebuild the left autoreplace list if an engine is removed or added.
uint16 EngineID
Unique identification number of an engine.
Definition: engine_type.h:22
void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type)
When an engine is made buildable or is removed from being buildable, add/remove it from the build/aut...
Types related to vehicles.
Types of a group.