(svn r15166) -Codechange: reduce number of includes in afterload.cpp

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 16 years ago
parent 4091989752
commit a9a8bb3590

@ -10,9 +10,6 @@
void SetupEngines();
void StartupEngines();
Engine *GetTempDataEngine(EngineID index);
void CopyTempEngineData();
/* Original engine data counts and offsets */
extern const uint8 _engine_counts[4];
extern const uint8 _engine_offsets[4];

@ -7,35 +7,28 @@
#include "../tile_type.h"
#include "../tile_map.h"
#include "../map_type.h"
#include "../road_map.h"
#include "../town.h"
#include "../void_map.h"
#include "../signs_base.h"
#include "../window_func.h"
#include "../station_func.h"
#include "../company_base.h"
#include "../fios.h"
#include "../date_func.h"
#include "../engine_func.h"
#include "../train.h"
#include "../string_func.h"
#include "../newgrf_config.h"
#include "../gamelog.h"
#include "../waypoint.h"
#include "../station_map.h"
#include "../station_base.h"
#include "../tunnelbridge_map.h"
#include "../debug.h"
#include "../network/network.h"
#include "../openttd.h"
#include "../gfxinit.h"
#include "../gfx_func.h"
#include "../functions.h"
#include "../industry_map.h"
#include "../town_map.h"
#include "../clear_map.h"
#include "../engine_base.h"
#include "../landscape.h"
#include "../vehicle_func.h"
#include "../newgrf_station.h"
#include "../yapf/yapf.hpp"

@ -8,6 +8,7 @@
#include "../strings_type.h"
#include "../company_manager_face.h"
#include "../order_base.h"
#include "../engine_type.h"
void InitializeOldNames();
StringID RemapOldStringID(StringID s);
@ -30,6 +31,9 @@ void ResetViewportAfterLoadGame();
void ConvertOldMultiheadToNew();
void ConnectMultiheadedTrains();
Engine *GetTempDataEngine(EngineID index);
void CopyTempEngineData();
extern int32 _saved_scrollpos_x;
extern int32 _saved_scrollpos_y;

Loading…
Cancel
Save