File diff r8130:bece2e5c7460 → r8131:7a50db7be0ff
src/group_cmd.cpp
Show inline comments
 
@@ -2,13 +2,12 @@
 

	
 
/** @file group_cmd.cpp Handling of the engine groups */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "variables.h"
 
#include "functions.h"
 
#include "player.h"
 
#include "table/strings.h"
 
#include "command_func.h"
 
#include "vehicle.h"
 
#include "saveload.h"
 
#include "debug.h"
 
@@ -16,12 +15,14 @@
 
#include "train.h"
 
#include "aircraft.h"
 
#include "string.h"
 
#include "vehicle_gui.h"
 
#include "misc/autoptr.hpp"
 
#include "strings_func.h"
 
#include "functions.h"
 
#include "window_func.h"
 

	
 
/**
 
 * Update the num engines of a groupID. Decrease the old one and increase the new one
 
 * @note called in SetTrainGroupID and UpdateTrainGroupID
 
 * @param i     EngineID we have to update
 
 * @param old_g index of the old group