aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-24 12:39:51 +0200
committerEugene Sandulenko2019-09-03 17:17:27 +0200
commit99fc798b2eba492931a15f4208aa412f82be8ecd (patch)
treed49143292ed8daed22727cb8a136db22fa8878e8 /engines
parent0c29eff799934fb3d624f3d0318c2a9617820a55 (diff)
downloadscummvm-rg350-99fc798b2eba492931a15f4208aa412f82be8ecd.tar.gz
scummvm-rg350-99fc798b2eba492931a15f4208aa412f82be8ecd.tar.bz2
scummvm-rg350-99fc798b2eba492931a15f4208aa412f82be8ecd.zip
HDB: Reduce header dependency
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-funcs.cpp1
-rw-r--r--engines/hdb/ai-lists.cpp1
-rw-r--r--engines/hdb/ai-player.cpp1
-rw-r--r--engines/hdb/file-manager.cpp1
-rw-r--r--engines/hdb/gfx.cpp1
-rw-r--r--engines/hdb/hdb.cpp1
-rw-r--r--engines/hdb/hdb.h6
-rw-r--r--engines/hdb/lua-script.cpp1
-rw-r--r--engines/hdb/map.cpp1
9 files changed, 11 insertions, 3 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index 5a35e2a723..82f9b3bb91 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -21,6 +21,7 @@
*/
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/gfx.h"
#include "hdb/mpc.h"
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp
index 2fc2112c31..326d18ca9a 100644
--- a/engines/hdb/ai-lists.cpp
+++ b/engines/hdb/ai-lists.cpp
@@ -21,6 +21,7 @@
*/
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/gfx.h"
namespace HDB {
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 84927262b0..9f32651e27 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -21,6 +21,7 @@
*/
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/gfx.h"
#include "hdb/menu.h"
#include "hdb/mpc.h"
diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp
index 1d74db4f58..fc5f2f85fc 100644
--- a/engines/hdb/file-manager.cpp
+++ b/engines/hdb/file-manager.cpp
@@ -24,6 +24,7 @@
#include "common/error.h"
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
namespace HDB {
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index c59964c0a3..2c4423ca68 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -24,6 +24,7 @@
#include "common/sinetables.h"
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/gfx.h"
#include "hdb/mpc.h"
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 67978f012e..cf8d579036 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -31,6 +31,7 @@
#include "common/memstream.h"
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/gfx.h"
#include "hdb/menu.h"
#include "hdb/mpc.h"
diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h
index d20f40d705..7359024707 100644
--- a/engines/hdb/hdb.h
+++ b/engines/hdb/hdb.h
@@ -42,10 +42,11 @@
#include "engines/util.h"
namespace HDB {
+class FileMan;
+class Gfx;
+class Menu;
class Tile;
class Picture;
-class Menu;
-class Gfx;
enum {
kScreenWidth = 640,
@@ -70,7 +71,6 @@ enum {
#include "hdb/ai.h"
#include "hdb/ai-player.h"
-#include "hdb/file-manager.h"
#include "hdb/input.h"
#include "hdb/lua-script.h"
#include "hdb/map.h"
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index fc86596d4e..0160f7f4e0 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -26,6 +26,7 @@
#include "common/debug.h"
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/lua-script.h"
#include "hdb/gfx.h"
#include "hdb/mpc.h"
diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp
index 80db4983d1..530706938d 100644
--- a/engines/hdb/map.cpp
+++ b/engines/hdb/map.cpp
@@ -21,6 +21,7 @@
*/
#include "hdb/hdb.h"
+#include "hdb/file-manager.h"
#include "hdb/gfx.h"
namespace HDB {