diff options
author | Eugene Sandulenko | 2019-07-24 11:52:17 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:27 +0200 |
commit | b845e70102afff09e2377e37ea5831380549bb0d (patch) | |
tree | 7b89cd58cbc78680618f19288f381e0dd1ea5077 /engines | |
parent | 0c8e483d091a40d0011934213d2e8087a52eb810 (diff) | |
download | scummvm-rg350-b845e70102afff09e2377e37ea5831380549bb0d.tar.gz scummvm-rg350-b845e70102afff09e2377e37ea5831380549bb0d.tar.bz2 scummvm-rg350-b845e70102afff09e2377e37ea5831380549bb0d.zip |
HDB: Reduce header dependency
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-bots.cpp | 3 | ||||
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/ai-init.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/ai-player.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/gfx.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/hdb.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/hdb.h | 1 | ||||
-rw-r--r-- | engines/hdb/lua-script.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/menu.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/sound.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/window.cpp | 1 |
11 files changed, 11 insertions, 2 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index e9cb229339..b9e761b3c3 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -21,6 +21,7 @@ */ #include "hdb/hdb.h" +#include "hdb/mpc.h" namespace HDB { @@ -2546,7 +2547,7 @@ void aiGatePuddleInit2(AIEntity *e) { void aiGatePuddleAction(AIEntity *e) { static const int xva[5] = {9, 0, 0,-1, 1}; static const int yva[5] = {9,-1, 1, 0, 0}; - + AIEntity *p = g_hdb->_ai->getPlayer(); if (e->goalX) { diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index e383670e13..d8d2b71550 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -21,6 +21,7 @@ */ #include "hdb/hdb.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index b0e27f3fe1..f66a1d66b1 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -21,6 +21,7 @@ */ #include "hdb/hdb.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp index 86d22b20b1..dbd443996c 100644 --- a/engines/hdb/ai-player.cpp +++ b/engines/hdb/ai-player.cpp @@ -22,6 +22,7 @@ #include "hdb/hdb.h" #include "hdb/menu.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 641f1790d6..873ca723f0 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -21,6 +21,7 @@ */ #include "hdb/hdb.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index d85b548997..15240f6c9c 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -33,6 +33,7 @@ #include "hdb/hdb.h" #include "hdb/console.h" #include "hdb/menu.h" +#include "hdb/mpc.h" #define CHEAT_PATCHES 0 diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index c6c26f9821..29f46dbe51 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -46,7 +46,6 @@ #include "engines/util.h" #include "console.h" -#include "hdb/mpc.h" #include "hdb/gfx.h" #include "hdb/ai.h" #include "hdb/ai-player.h" diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index c0e3a57b1f..83eb87aef8 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -26,6 +26,7 @@ #include "common/debug.h" #include "hdb/lua-script.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp index f97cacfff4..d65402b5e3 100644 --- a/engines/hdb/menu.cpp +++ b/engines/hdb/menu.cpp @@ -22,6 +22,7 @@ #include "hdb/hdb.h" #include "hdb/menu.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp index 78b765a4b1..5fdd016edf 100644 --- a/engines/hdb/sound.cpp +++ b/engines/hdb/sound.cpp @@ -21,6 +21,7 @@ */ #include "hdb/hdb.h" +#include "hdb/mpc.h" namespace HDB { diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index b717a0e3ce..52442bd243 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -21,6 +21,7 @@ */ #include "hdb/hdb.h" +#include "hdb/mpc.h" namespace HDB { |