equal
deleted
inserted
replaced
3 /** @file group_cmd.cpp Handling of the engine groups */ |
3 /** @file group_cmd.cpp Handling of the engine groups */ |
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "variables.h" |
7 #include "variables.h" |
8 #include "player.h" |
|
9 #include "table/strings.h" |
8 #include "table/strings.h" |
10 #include "command_func.h" |
9 #include "command_func.h" |
11 #include "saveload.h" |
10 #include "saveload.h" |
12 #include "debug.h" |
11 #include "debug.h" |
13 #include "group.h" |
12 #include "group.h" |
20 #include "window_func.h" |
19 #include "window_func.h" |
21 #include "vehicle_func.h" |
20 #include "vehicle_func.h" |
22 #include "autoreplace_base.h" |
21 #include "autoreplace_base.h" |
23 #include "autoreplace_func.h" |
22 #include "autoreplace_func.h" |
24 #include "string_func.h" |
23 #include "string_func.h" |
|
24 #include "player_func.h" |
25 |
25 |
26 /** |
26 /** |
27 * Update the num engines of a groupID. Decrease the old one and increase the new one |
27 * Update the num engines of a groupID. Decrease the old one and increase the new one |
28 * @note called in SetTrainGroupID and UpdateTrainGroupID |
28 * @note called in SetTrainGroupID and UpdateTrainGroupID |
29 * @param i EngineID we have to update |
29 * @param i EngineID we have to update |