aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMax Horn2010-05-04 11:58:12 +0000
committerMax Horn2010-05-04 11:58:12 +0000
commitb3e404109c31160c978a17ebe497b9bdef9ff51a (patch)
tree816b6a2d9d1ba5b7634d0a606a8507c9b9ab6e7b /engines/sci
parent5568a8473b975dc2e7e0d1f1ae075ebd6d96f2f3 (diff)
downloadscummvm-rg350-b3e404109c31160c978a17ebe497b9bdef9ff51a.tar.gz
scummvm-rg350-b3e404109c31160c978a17ebe497b9bdef9ff51a.tar.bz2
scummvm-rg350-b3e404109c31160c978a17ebe497b9bdef9ff51a.zip
Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/screen.cpp1
-rw-r--r--engines/sci/sci.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp
index 21f9b0afdd..e6c710b252 100644
--- a/engines/sci/graphics/screen.cpp
+++ b/engines/sci/graphics/screen.cpp
@@ -27,6 +27,7 @@
#include "common/util.h"
#include "common/system.h"
#include "graphics/surface.h"
+#include "engines/util.h"
#include "sci/sci.h"
#include "sci/engine/state.h"
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index a730688c3c..e96bfbad03 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -28,6 +28,8 @@
#include "common/config-manager.h"
#include "engines/advancedDetector.h"
+#include "engines/util.h"
+
#include "sci/sci.h"
#include "sci/debug.h"
#include "sci/console.h"