summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-26 22:01:16 +0000
committerrubidium <rubidium@openttd.org>2010-08-26 22:01:16 +0000
commit30f2afac9bf023bce081e52e09b1c0a152d9849a (patch)
tree1fd76e3ca5130b7949df16018d6a87952a5b447c /src/saveload
parent08a41c6ee5f1500fcd472e953b2341ef996cb901 (diff)
downloadopenttd-30f2afac9bf023bce081e52e09b1c0a152d9849a.tar.xz
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp4
-rw-r--r--src/saveload/company_sl.cpp1
-rw-r--r--src/saveload/gamelog_sl.cpp1
-rw-r--r--src/saveload/map_sl.cpp1
-rw-r--r--src/saveload/misc_sl.cpp1
-rw-r--r--src/saveload/newgrf_sl.cpp3
-rw-r--r--src/saveload/oldloader_sl.cpp3
-rw-r--r--src/saveload/saveload.cpp1
-rw-r--r--src/saveload/vehicle_sl.cpp1
9 files changed, 0 insertions, 16 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 95b86f4d6..b706fed60 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -22,7 +22,6 @@
#include "../industry.h"
#include "../clear_map.h"
#include "../vehicle_func.h"
-#include "../debug.h"
#include "../string_func.h"
#include "../date_func.h"
#include "../roadveh.h"
@@ -31,7 +30,6 @@
#include "../waypoint_base.h"
#include "../roadstop_base.h"
#include "../tunnelbridge_map.h"
-#include "../landscape.h"
#include "../pathfinder/yapf/yapf_cache.h"
#include "../elrail_func.h"
#include "../signs_func.h"
@@ -48,9 +46,7 @@
#include "../animated_tile_func.h"
#include "../subsidy_base.h"
#include "../subsidy_func.h"
-#include "../company_base.h"
#include "../newgrf.h"
-#include "../engine_base.h"
#include "../engine_func.h"
#include "../rail_gui.h"
#include "../core/backup_type.hpp"
diff --git a/src/saveload/company_sl.cpp b/src/saveload/company_sl.cpp
index 917f29335..b238ad818 100644
--- a/src/saveload/company_sl.cpp
+++ b/src/saveload/company_sl.cpp
@@ -10,7 +10,6 @@
/** @file company_sl.cpp Code handling saving and loading of company data */
#include "../stdafx.h"
-#include "../company_base.h"
#include "../company_func.h"
#include "../company_manager_face.h"
#include "../fios.h"
diff --git a/src/saveload/gamelog_sl.cpp b/src/saveload/gamelog_sl.cpp
index e6067c37e..0218a5a20 100644
--- a/src/saveload/gamelog_sl.cpp
+++ b/src/saveload/gamelog_sl.cpp
@@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../gamelog_internal.h"
-#include "../core/alloc_func.hpp"
#include "saveload.h"
diff --git a/src/saveload/map_sl.cpp b/src/saveload/map_sl.cpp
index c1463b727..34b1098b0 100644
--- a/src/saveload/map_sl.cpp
+++ b/src/saveload/map_sl.cpp
@@ -11,7 +11,6 @@
#include "../stdafx.h"
#include "../map_func.h"
-#include "../core/alloc_type.hpp"
#include "../core/bitmath_func.hpp"
#include "../fios.h"
diff --git a/src/saveload/misc_sl.cpp b/src/saveload/misc_sl.cpp
index abe4d411a..b73207b38 100644
--- a/src/saveload/misc_sl.cpp
+++ b/src/saveload/misc_sl.cpp
@@ -18,7 +18,6 @@
#include "../window_func.h"
#include "../viewport_func.h"
#include "../gfx_func.h"
-#include "../company_base.h"
#include "../core/random_func.hpp"
#include "../fios.h"
diff --git a/src/saveload/newgrf_sl.cpp b/src/saveload/newgrf_sl.cpp
index b4405b171..b59badbce 100644
--- a/src/saveload/newgrf_sl.cpp
+++ b/src/saveload/newgrf_sl.cpp
@@ -10,10 +10,7 @@
/** @file newgrf_sl.cpp Code handling saving and loading of newgrf config */
#include "../stdafx.h"
-#include "../newgrf_config.h"
#include "../core/bitmath_func.hpp"
-#include "../core/alloc_func.hpp"
-#include "../gfx_func.h"
#include "../fios.h"
#include "saveload.h"
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp
index 7de25c170..1088d3822 100644
--- a/src/saveload/oldloader_sl.cpp
+++ b/src/saveload/oldloader_sl.cpp
@@ -25,9 +25,6 @@
#include "../date_func.h"
#include "../vehicle_func.h"
#include "../effectvehicle_base.h"
-#include "../core/mem_func.hpp"
-#include "../core/alloc_type.hpp"
-#include "../engine_base.h"
#include "../engine_func.h"
#include "../company_base.h"
#include "saveload_internal.h"
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index cd5ae3329..b2ba232e2 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -40,7 +40,6 @@
#include "../gamelog.h"
#include "../string_func.h"
#include "../engine_base.h"
-#include "../company_base.h"
#include "../fios.h"
#include "table/strings.h"
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp
index e7842725b..b42a866a3 100644
--- a/src/saveload/vehicle_sl.cpp
+++ b/src/saveload/vehicle_sl.cpp
@@ -17,7 +17,6 @@
#include "../aircraft.h"
#include "../station_base.h"
#include "../effectvehicle_base.h"
-#include "../engine_base.h"
#include "saveload.h"