aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-24 12:04:32 +0200
committerEugene Sandulenko2019-09-03 17:17:27 +0200
commit17ef555e2d81c2d59a108f9fbecb49f99f392762 (patch)
tree270aa9b54fd4568d0d48817c6d849f67592334eb /engines
parentc3d0f49538a441069d42944b52b73bd7d1c5952b (diff)
downloadscummvm-rg350-17ef555e2d81c2d59a108f9fbecb49f99f392762.tar.gz
scummvm-rg350-17ef555e2d81c2d59a108f9fbecb49f99f392762.tar.bz2
scummvm-rg350-17ef555e2d81c2d59a108f9fbecb49f99f392762.zip
HDB: Reduce header dependency
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/gfx.h2
-rw-r--r--engines/hdb/input.h3
-rw-r--r--engines/hdb/lua-script.cpp1
-rw-r--r--engines/hdb/lua-script.h5
-rw-r--r--engines/hdb/map.h2
5 files changed, 1 insertions, 12 deletions
diff --git a/engines/hdb/gfx.h b/engines/hdb/gfx.h
index 9805fc9e6b..21ccdc91c3 100644
--- a/engines/hdb/gfx.h
+++ b/engines/hdb/gfx.h
@@ -25,8 +25,6 @@
#include "graphics/managed_surface.h"
-#include "hdb/hdb.h"
-
namespace HDB {
struct TileLookup {
diff --git a/engines/hdb/input.h b/engines/hdb/input.h
index ffd6c0d524..11b854a353 100644
--- a/engines/hdb/input.h
+++ b/engines/hdb/input.h
@@ -23,8 +23,6 @@
#ifndef HDB_INPUT_H
#define HDB_INPUT_H
-#include "common/system.h"
-
namespace HDB {
enum Button {
@@ -88,4 +86,3 @@ private:
} // End of Namespace
#endif // !HDB_INPUT_H
-
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index b35caa1831..fc86596d4e 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -25,6 +25,7 @@
#include "common/lua/lualib.h"
#include "common/debug.h"
+#include "hdb/hdb.h"
#include "hdb/lua-script.h"
#include "hdb/gfx.h"
#include "hdb/mpc.h"
diff --git a/engines/hdb/lua-script.h b/engines/hdb/lua-script.h
index 10d68c84a5..3e1ab50106 100644
--- a/engines/hdb/lua-script.h
+++ b/engines/hdb/lua-script.h
@@ -20,11 +20,6 @@
*
*/
-#include "common/system.h"
-#include "common/file.h"
-
-#include "hdb/hdb.h"
-
#ifndef HDB_LUA_SCRIPT_H
#define HDB_LUA_SCRIPT_H
diff --git a/engines/hdb/map.h b/engines/hdb/map.h
index 91cecf17bd..f80f2d2213 100644
--- a/engines/hdb/map.h
+++ b/engines/hdb/map.h
@@ -23,8 +23,6 @@
#ifndef HDB_MAP_LOADER_H
#define HDB_MAP_LOADER_H
-#include "common/system.h"
-
namespace HDB {
enum {