src/group_cmd.cpp
changeset 8640 1e93b81e96d2
parent 8627 448ebf3a8291
child 8676 aaf43a0a2ffc
equal deleted inserted replaced
8639:afebb18ecef5 8640:1e93b81e96d2
     6 #include "openttd.h"
     6 #include "openttd.h"
     7 #include "variables.h"
     7 #include "variables.h"
     8 #include "player.h"
     8 #include "player.h"
     9 #include "table/strings.h"
     9 #include "table/strings.h"
    10 #include "command_func.h"
    10 #include "command_func.h"
    11 #include "vehicle.h"
       
    12 #include "saveload.h"
    11 #include "saveload.h"
    13 #include "debug.h"
    12 #include "debug.h"
    14 #include "group.h"
    13 #include "group.h"
    15 #include "train.h"
    14 #include "train.h"
    16 #include "aircraft.h"
    15 #include "aircraft.h"
    18 #include "vehicle_gui.h"
    17 #include "vehicle_gui.h"
    19 #include "misc/autoptr.hpp"
    18 #include "misc/autoptr.hpp"
    20 #include "strings_func.h"
    19 #include "strings_func.h"
    21 #include "functions.h"
    20 #include "functions.h"
    22 #include "window_func.h"
    21 #include "window_func.h"
       
    22 #include "vehicle_func.h"
    23 
    23 
    24 /**
    24 /**
    25  * Update the num engines of a groupID. Decrease the old one and increase the new one
    25  * Update the num engines of a groupID. Decrease the old one and increase the new one
    26  * @note called in SetTrainGroupID and UpdateTrainGroupID
    26  * @note called in SetTrainGroupID and UpdateTrainGroupID
    27  * @param i     EngineID we have to update
    27  * @param i     EngineID we have to update