aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
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/mohawk
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/mohawk')
-rw-r--r--engines/mohawk/graphics.cpp2
-rw-r--r--engines/mohawk/livingbooks.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp
index 6c41f67d85..35691c36aa 100644
--- a/engines/mohawk/graphics.cpp
+++ b/engines/mohawk/graphics.cpp
@@ -29,6 +29,8 @@
#include "mohawk/riven.h"
#include "mohawk/riven_cursors.h"
+#include "engines/util.h"
+
#include "graphics/cursorman.h"
#include "graphics/primitives.h"
#include "gui/message.h"
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index f0648fa114..515ee7c8ba 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -28,6 +28,8 @@
#include "common/events.h"
+#include "engines/util.h"
+
namespace Mohawk {
MohawkEngine_LivingBooks::MohawkEngine_LivingBooks(OSystem *syst, const MohawkGameDescription *gamedesc) : MohawkEngine(syst, gamedesc) {