summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-21 02:07:56 +0000
committersmatz <smatz@openttd.org>2009-01-21 02:07:56 +0000
commit470437df70d63b2c44ce34d408b6820cfa446aed (patch)
tree8a192c3972bc1d0d656f6e12dd30469e240f0c77 /src/saveload
parent7b009c358638c8ab5edf37cf7d83916df6c6a18d (diff)
downloadopenttd-470437df70d63b2c44ce34d408b6820cfa446aed.tar.xz
(svn r15189) -Cleanup: remove unused includes
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/oldloader.cpp26
-rw-r--r--src/saveload/ttdloader.cpp4
2 files changed, 3 insertions, 27 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp
index 1e97cef18..d1c2210ae 100644
--- a/src/saveload/oldloader.cpp
+++ b/src/saveload/oldloader.cpp
@@ -1,33 +1,13 @@
/* $Id$ */
-/** @file oldloader.cpp Loading of old TTD(patch) savegames. */
+/** @file oldloader.cpp Functions for handling of TTO/TTD/TTDP savegames. */
#include "../stdafx.h"
#include "../openttd.h"
-#include "../station_map.h"
-#include "../town.h"
-#include "../industry.h"
-#include "../company_func.h"
-#include "../company_base.h"
-#include "../aircraft.h"
-#include "../roadveh.h"
-#include "../ship.h"
-#include "../train.h"
-#include "../signs_base.h"
+#include "../tile_type.h"
#include "../debug.h"
-#include "../depot_base.h"
-#include "../newgrf_config.h"
-#include "../ai/ai.hpp"
-#include "../zoom_func.h"
-#include "../functions.h"
-#include "../date_func.h"
-#include "../vehicle_func.h"
-#include "../variables.h"
-#include "../strings_func.h"
-#include "../effectvehicle_base.h"
+#include "../strings_type.h"
#include "../string_func.h"
-#include "../core/mem_func.hpp"
-#include "../core/alloc_type.hpp"
#include "table/strings.h"
diff --git a/src/saveload/ttdloader.cpp b/src/saveload/ttdloader.cpp
index b086400f0..d239a7968 100644
--- a/src/saveload/ttdloader.cpp
+++ b/src/saveload/ttdloader.cpp
@@ -3,12 +3,10 @@
/** @file oldloader.cpp Loading of old TTD(patch) savegames. */
#include "../stdafx.h"
-#include "../openttd.h"
#include "../station_map.h"
#include "../town.h"
#include "../industry.h"
#include "../company_func.h"
-#include "../company_base.h"
#include "../aircraft.h"
#include "../roadveh.h"
#include "../ship.h"
@@ -17,9 +15,7 @@
#include "../debug.h"
#include "../depot_base.h"
#include "../newgrf_config.h"
-#include "../ai/ai.hpp"
#include "../zoom_func.h"
-#include "../functions.h"
#include "../date_func.h"
#include "../vehicle_func.h"
#include "../variables.h"