aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_driver.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-28 13:20:30 +0000
committerFilippos Karapetis2009-10-28 13:20:30 +0000
commit04ab6bc9fc831702a26c229027dada1436509b83 (patch)
tree4b0ba4fe63ef9d7b0a1d868d4cec97c53dba397b /engines/sci/gfx/gfx_driver.cpp
parentf28fe1b07423941c245e06376761054507d188c1 (diff)
downloadscummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.tar.gz
scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.tar.bz2
scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.zip
Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
svn-id: r45459
Diffstat (limited to 'engines/sci/gfx/gfx_driver.cpp')
-rw-r--r--engines/sci/gfx/gfx_driver.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp
index 1ab8381022..41205a0ecc 100644
--- a/engines/sci/gfx/gfx_driver.cpp
+++ b/engines/sci/gfx/gfx_driver.cpp
@@ -23,13 +23,15 @@
*
*/
+#include "sci/sci.h" // for INCLUDE_OLDGFX
+#ifdef INCLUDE_OLDGFX
+
#include "common/scummsys.h"
#include "common/system.h"
#include "graphics/cursorman.h"
#include "graphics/primitives.h"
#include "graphics/surface.h"
-#include "sci/sci.h"
#include "sci/gui/gui_screen.h"
#include "sci/gfx/gfx_driver.h"
#include "sci/gfx/gfx_tools.h"
@@ -199,3 +201,5 @@ void GfxDriver::animatePalette(int fromColor, int toColor, int stepCount) {
}
} // End of namespace Sci
+
+#endif