author | Tero Marttila <terom@fixme.fi> |
Fri, 18 Jul 2008 21:28:42 +0300 | |
changeset 11175 | 020c61e39c94 |
parent 8829 | 9152e779e7da |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
8708
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
3 |
/** @file autoreplace_gui.h Functions related to the autoreplace GUIs*/ |
0 | 4 |
|
8708
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
5 |
#ifndef AUTOREPLACE_GUI_H |
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
6 |
#define AUTOREPLACE_GUI_H |
0 | 7 |
|
8708
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
8 |
#include "vehicle_type.h" |
0 | 9 |
|
6500
08ea5741ee39
(svn r8944) -Codechange: Move the enum describing the bitmask of Engine.flags to engine.h and give the enum values better names.
maedhros
parents:
6451
diff
changeset
|
10 |
/** |
8708
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
11 |
* When an engine is made buildable or is removed from being buildable, add/remove it from the build/autoreplace lists |
6195
b90cf92697b9
(svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
bjarni
parents:
6119
diff
changeset
|
12 |
* @param type The type of engine |
b90cf92697b9
(svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
bjarni
parents:
6119
diff
changeset
|
13 |
*/ |
7134
c5a90dd41166
(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
rubidium
parents:
7102
diff
changeset
|
14 |
void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type); |
8708
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
15 |
void InvalidateAutoreplaceWindow(EngineID e, GroupID id_g); |
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
16 |
void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh); |
6195
b90cf92697b9
(svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
bjarni
parents:
6119
diff
changeset
|
17 |
|
8708
0c29fbc79be4
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
rubidium
parents:
8653
diff
changeset
|
18 |
#endif /* AUTOREPLACE_GUI_H */ |