summaryrefslogtreecommitdiff
path: root/src/ast
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-10-25 15:24:26 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-10-26 14:21:48 -0700
commit86395f53634b3ef1ce76a7f1e5edfdb61f8ffd80 (patch)
tree2710c62fe71d5e0d2e228fba9c951a040c4dcddf /src/ast
parent6800761863dd45b6055768febc6ace6a20120dc7 (diff)
downloadtmwa-86395f53634b3ef1ce76a7f1e5edfdb61f8ffd80.tar.gz
tmwa-86395f53634b3ef1ce76a7f1e5edfdb61f8ffd80.tar.bz2
tmwa-86395f53634b3ef1ce76a7f1e5edfdb61f8ffd80.tar.xz
tmwa-86395f53634b3ef1ce76a7f1e5edfdb61f8ffd80.zip
Fix header ranking
Diffstat (limited to 'src/ast')
-rw-r--r--src/ast/fwd.hpp6
-rw-r--r--src/ast/npc.cpp7
-rw-r--r--src/ast/npc.hpp5
3 files changed, 15 insertions, 3 deletions
diff --git a/src/ast/fwd.hpp b/src/ast/fwd.hpp
index 77328c9..4ab4490 100644
--- a/src/ast/fwd.hpp
+++ b/src/ast/fwd.hpp
@@ -20,6 +20,12 @@
#include "../sanity.hpp"
+#include "../compat/fwd.hpp" // rank 2
+#include "../io/fwd.hpp" // rank 4
+#include "../net/fwd.hpp" // rank 5
+#include "../mmo/fwd.hpp" // rank 6
+#include "../high/fwd.hpp" // rank 9
+// ast/fwd.hpp is rank 10
namespace tmwa
{
diff --git a/src/ast/npc.cpp b/src/ast/npc.cpp
index 362943c..ca518d8 100644
--- a/src/ast/npc.cpp
+++ b/src/ast/npc.cpp
@@ -18,11 +18,14 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
+#include "../compat/memory.hpp"
+
#include "../io/cxxstdio.hpp"
+#include "../io/extract.hpp"
-#include "../mmo/extract.hpp"
+#include "../mmo/extract_enums.hpp"
-#include "../map/clif.hpp"
+#include "../high/extract_mmo.hpp"
#include "../poison.hpp"
diff --git a/src/ast/npc.hpp b/src/ast/npc.hpp
index e39a704..648b40b 100644
--- a/src/ast/npc.hpp
+++ b/src/ast/npc.hpp
@@ -20,12 +20,15 @@
#include "fwd.hpp"
+#include <memory>
+
#include "../compat/result.hpp"
+#include "../mmo/clif.t.hpp"
#include "../mmo/ids.hpp"
#include "../mmo/strs.hpp"
-#include "../map/map.hpp"
+#include "../net/timer.t.hpp"
#include "script.hpp"