From c4c6cce78ea67f26b1c2017ebb15f00612c4d41b Mon Sep 17 00:00:00 2001 From: upthorn Date: Tue, 12 Jun 2012 15:19:25 -0700 Subject: COMPOSER: Completely removed unnecessary #ifdefs --- engines/composer/composer.cpp | 4 ---- engines/composer/composer.h | 6 ------ engines/composer/detection.cpp | 16 +++------------- engines/composer/graphics.cpp | 2 -- engines/composer/graphics.h | 2 -- engines/composer/resource.cpp | 6 ------ engines/composer/resource.h | 6 ------ engines/composer/saveload.cpp | 2 -- 8 files changed, 3 insertions(+), 41 deletions(-) (limited to 'engines/composer') diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp index 2ef6acc305..e9a91b1a25 100644 --- a/engines/composer/composer.cpp +++ b/engines/composer/composer.cpp @@ -378,9 +378,7 @@ void ComposerEngine::loadLibrary(uint id) { } Common::String filename; -#ifdef SAVING_ANYWHERE Common::String oldGroup = _bookGroup; -#endif if (getGameType() == GType_ComposerV1) { if (!id || _bookGroup.empty()) filename = getStringFromConfig("Common", "StartPage"); @@ -414,9 +412,7 @@ void ComposerEngine::loadLibrary(uint id) { Library library; library._id = id; -#ifdef SAVING_ANYWHERE library._group = oldGroup; -#endif library._archive = new ComposerArchive(); if (!library._archive->openFile(filename)) error("failed to open '%s'", filename.c_str()); diff --git a/engines/composer/composer.h b/engines/composer/composer.h index 82457be37b..928072b687 100644 --- a/engines/composer/composer.h +++ b/engines/composer/composer.h @@ -114,9 +114,7 @@ struct Library { uint _id; Archive *_archive; -#ifdef SAVING_ANYWHERE Common::String _group; -#endif Common::List