Changeset - r10831:70d56fb7a3ba
[Not reviewed]
master
0 3 0
smatz - 16 years ago 2009-01-20 13:56:35
smatz@openttd.org
(svn r15166) -Codechange: reduce number of includes in afterload.cpp
3 files changed with 4 insertions and 10 deletions:
0 comments (0 inline, 0 general)
src/engine_func.h
Show inline comments
 
@@ -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];
src/saveload/afterload.cpp
Show inline comments
 
@@ -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"
src/saveload/saveload_internal.h
Show inline comments
 
@@ -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;
 

	
0 comments (0 inline, 0 general)