aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kevent.cpp1
-rw-r--r--engines/sci/engine/kgraphics.cpp1
-rw-r--r--engines/sci/engine/kmisc.cpp1
-rw-r--r--engines/sci/engine/savegame.cpp1
-rw-r--r--engines/sci/engine/state.h1
-rw-r--r--engines/sci/gui/gui.cpp1
-rw-r--r--engines/sci/gui/gui_font.h2
-rw-r--r--engines/sci/gui/gui_gfx.h2
-rw-r--r--engines/sci/gui/gui_screen.h2
9 files changed, 11 insertions, 1 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index b8454ac70f..475e3200ca 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -30,6 +30,7 @@
#include "sci/gfx/gfx_state_internal.h" // required for GfxPort, GfxVisual
#include "sci/console.h"
#include "sci/debug.h" // for g_debug_simulated_key
+#include "sci/gui/gui.h"
namespace Sci {
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index b97d312e5d..9090a0286c 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -38,6 +38,7 @@
#include "sci/gfx/gfx_widgets.h"
#include "sci/gfx/gfx_state_internal.h" // required for GfxContainer, GfxPort, GfxVisual
#include "sci/gfx/seq_decoder.h"
+#include "sci/gui/gui.h"
namespace Sci {
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index c075717dd6..6650810dc6 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -32,6 +32,7 @@
#include "sci/engine/state.h"
#include "sci/engine/kernel.h"
#include "sci/engine/gc.h"
+#include "sci/gui/gui.h"
namespace Sci {
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 04fc2eef46..89809408c7 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -39,6 +39,7 @@
#include "sci/sfx/iterator.h"
#include "sci/engine/state.h"
#include "sci/engine/savegame.h"
+#include "sci/gui/gui.h"
namespace Sci {
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h
index 3f6fc0dbf1..7d06c2a0a9 100644
--- a/engines/sci/engine/state.h
+++ b/engines/sci/engine/state.h
@@ -44,7 +44,6 @@ namespace Common {
#include "sci/engine/seg_manager.h"
#include "sci/gfx/gfx_system.h"
#include "sci/sfx/core.h"
-#include "sci/gui/gui.h"
namespace Sci {
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 016f749544..633d8eb436 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -28,6 +28,7 @@
#include "sci/sci.h"
#include "sci/engine/state.h"
#include "sci/tools.h"
+#include "sci/gui/gui.h"
#include "sci/gui/gui_screen.h"
#include "sci/gui/gui_gfx.h"
#include "sci/gui/gui_windowmgr.h"
diff --git a/engines/sci/gui/gui_font.h b/engines/sci/gui/gui_font.h
index c6f457b541..dd20016a14 100644
--- a/engines/sci/gui/gui_font.h
+++ b/engines/sci/gui/gui_font.h
@@ -26,6 +26,8 @@
#ifndef SCI_GUI_FONT_H
#define SCI_GUI_FONT_H
+#include "sci/gui/gui.h"
+
namespace Sci {
class SciGUIfont {
diff --git a/engines/sci/gui/gui_gfx.h b/engines/sci/gui/gui_gfx.h
index b1407eb00d..3749de520e 100644
--- a/engines/sci/gui/gui_gfx.h
+++ b/engines/sci/gui/gui_gfx.h
@@ -26,6 +26,8 @@
#ifndef SCI_GUI_GFX_H
#define SCI_GUI_GFX_H
+#include "sci/gui/gui.h"
+
namespace Sci {
#define SCI_PATTERN_CODE_RECTANGLE 0x10
diff --git a/engines/sci/gui/gui_screen.h b/engines/sci/gui/gui_screen.h
index fc82922c35..db054aa61b 100644
--- a/engines/sci/gui/gui_screen.h
+++ b/engines/sci/gui/gui_screen.h
@@ -26,6 +26,8 @@
#ifndef SCI_GUI_SCREEN_H
#define SCI_GUI_SCREEN_H
+#include "sci/gui/gui.h"
+
namespace Sci {
#define SCI_SCREEN_MAXHEIGHT 400