summaryrefslogtreecommitdiff
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
commit5e7669b539002cb9ec9e608f4601a827b5e9da57 (patch)
tree8a192c3972bc1d0d656f6e12dd30469e240f0c77
parentddcaf2f4cc4e987d9fc36c1c1b6b325f5409031b (diff)
downloadopenttd-5e7669b539002cb9ec9e608f4601a827b5e9da57.tar.xz
(svn r15189) -Cleanup: remove unused includes
-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"