From a357dc4d0c0416dfc9a7e3aafb7f840eee5e5d6b Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 5 Oct 2013 01:55:41 +0200 Subject: AVALANCHE: Cleaning includes - remove useless includes in cpp files --- engines/avalanche/animation.cpp | 8 -------- engines/avalanche/avalanche.cpp | 10 ---------- engines/avalanche/avalot.cpp | 4 ---- engines/avalanche/background.cpp | 3 --- engines/avalanche/closing.cpp | 1 - engines/avalanche/detection.cpp | 1 - engines/avalanche/dialogs.cpp | 4 ---- engines/avalanche/graphics.cpp | 3 --- engines/avalanche/menu.cpp | 3 --- engines/avalanche/parser.cpp | 11 ----------- engines/avalanche/pingo.cpp | 6 ------ engines/avalanche/sequence.cpp | 5 ----- engines/avalanche/sound.cpp | 3 +-- engines/avalanche/timer.cpp | 6 ------ 14 files changed, 1 insertion(+), 67 deletions(-) (limited to 'engines') diff --git a/engines/avalanche/animation.cpp b/engines/avalanche/animation.cpp index 08dffd5b5f..6a7bad17f3 100644 --- a/engines/avalanche/animation.cpp +++ b/engines/avalanche/animation.cpp @@ -29,14 +29,6 @@ #include "avalanche/avalanche.h" #include "avalanche/animation.h" -#include "avalanche/dialogs.h" -#include "avalanche/background.h" -#include "avalanche/sequence.h" -#include "avalanche/timer.h" - -#include "common/scummsys.h" -#include "common/textconsole.h" -#include "common/file.h" namespace Avalanche { diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index 7c4f7650e0..89dca21d99 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -27,18 +27,8 @@ #include "avalanche/avalanche.h" -#include "common/system.h" #include "common/random.h" -#include "common/error.h" -#include "common/events.h" -#include "common/debug-channels.h" -#include "common/config-manager.h" -#include "common/textconsole.h" #include "common/savefile.h" - -#include "engines/util.h" - -#include "gui/saveload.h" #include "graphics/thumbnail.h" namespace Avalanche { diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index f45341ea34..ad71ce5ee8 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -28,11 +28,7 @@ /* AVALOT The kernel of the program. */ #include "avalanche/avalanche.h" - -#include "common/file.h" #include "common/random.h" -#include "common/str.h" -#include "common/textconsole.h" #include "common/config-manager.h" namespace Avalanche { diff --git a/engines/avalanche/background.cpp b/engines/avalanche/background.cpp index cb280ba730..54ab459d41 100644 --- a/engines/avalanche/background.cpp +++ b/engines/avalanche/background.cpp @@ -29,9 +29,6 @@ #include "avalanche/avalanche.h" #include "avalanche/background.h" -#include "avalanche/animation.h" - -#include "common/textconsole.h" namespace Avalanche { diff --git a/engines/avalanche/closing.cpp b/engines/avalanche/closing.cpp index 5aea377abd..93caa029cb 100644 --- a/engines/avalanche/closing.cpp +++ b/engines/avalanche/closing.cpp @@ -30,7 +30,6 @@ #include "avalanche/avalanche.h" #include "avalanche/closing.h" -#include "common/textconsole.h" #include "common/random.h" namespace Avalanche { diff --git a/engines/avalanche/detection.cpp b/engines/avalanche/detection.cpp index 7fd85c5c1a..38700afb28 100644 --- a/engines/avalanche/detection.cpp +++ b/engines/avalanche/detection.cpp @@ -31,7 +31,6 @@ #include "common/savefile.h" #include "engines/advancedDetector.h" - #include "graphics/thumbnail.h" namespace Avalanche { diff --git a/engines/avalanche/dialogs.cpp b/engines/avalanche/dialogs.cpp index 0c90d12293..fdc90bb5c1 100644 --- a/engines/avalanche/dialogs.cpp +++ b/engines/avalanche/dialogs.cpp @@ -29,11 +29,7 @@ #include "avalanche/avalanche.h" #include "avalanche/dialogs.h" -#include "avalanche/animation.h" -#include "avalanche/timer.h" -#include "common/textconsole.h" -#include "common/file.h" #include "common/random.h" namespace Avalanche { diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index be397f520d..12a1cb51dc 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -28,11 +28,8 @@ #include "avalanche/avalanche.h" #include "avalanche/graphics.h" -#include "common/system.h" -#include "common/rect.h" #include "engines/util.h" #include "graphics/palette.h" -#include "math.h" namespace Avalanche { diff --git a/engines/avalanche/menu.cpp b/engines/avalanche/menu.cpp index 14fa74c320..272948d664 100644 --- a/engines/avalanche/menu.cpp +++ b/engines/avalanche/menu.cpp @@ -29,9 +29,6 @@ #include "avalanche/avalanche.h" #include "avalanche/menu.h" -#include "avalanche/animation.h" - -#include "common/textconsole.h" namespace Avalanche { diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp index fc6085b581..7227550378 100644 --- a/engines/avalanche/parser.cpp +++ b/engines/avalanche/parser.cpp @@ -27,17 +27,6 @@ #include "avalanche/avalanche.h" #include "avalanche/parser.h" -#include "avalanche/dialogs.h" -#include "avalanche/timer.h" -#include "avalanche/animation.h" -#include "avalanche/background.h" -#include "avalanche/pingo.h" -#include "avalanche/sequence.h" - -#include "common/textconsole.h" - -#include -#include namespace Avalanche { diff --git a/engines/avalanche/pingo.cpp b/engines/avalanche/pingo.cpp index bffceabe07..7b45397183 100644 --- a/engines/avalanche/pingo.cpp +++ b/engines/avalanche/pingo.cpp @@ -28,13 +28,7 @@ /* PINGO Full-screen sub-parts of the game. */ #include "avalanche/avalanche.h" - #include "avalanche/pingo.h" -#include "avalanche/animation.h" -#include "avalanche/dialogs.h" - -#include "common/textconsole.h" -#include "common/file.h" namespace Avalanche { diff --git a/engines/avalanche/sequence.cpp b/engines/avalanche/sequence.cpp index fecbc0c3c3..a9de50f49b 100644 --- a/engines/avalanche/sequence.cpp +++ b/engines/avalanche/sequence.cpp @@ -29,11 +29,6 @@ #include "avalanche/avalanche.h" #include "avalanche/sequence.h" -#include "avalanche/timer.h" -#include "avalanche/background.h" -#include "avalanche/animation.h" - -#include "common/scummsys.h" namespace Avalanche { diff --git a/engines/avalanche/sound.cpp b/engines/avalanche/sound.cpp index dba679e17b..2674c9ba35 100644 --- a/engines/avalanche/sound.cpp +++ b/engines/avalanche/sound.cpp @@ -20,11 +20,10 @@ * */ -#include "audio/audiostream.h" - #include "avalanche/avalanche.h" #include "avalanche/sound.h" +#include "audio/audiostream.h" #include "common/system.h" #include "common/config-manager.h" diff --git a/engines/avalanche/timer.cpp b/engines/avalanche/timer.cpp index f34531734e..28cdc3b54c 100644 --- a/engines/avalanche/timer.cpp +++ b/engines/avalanche/timer.cpp @@ -29,12 +29,6 @@ #include "avalanche/avalanche.h" #include "avalanche/timer.h" -#include "avalanche/animation.h" -#include "avalanche/dialogs.h" -#include "avalanche/sequence.h" -#include "avalanche/pingo.h" - -#include "common/textconsole.h" namespace Avalanche { -- cgit v1.2.3