commit ce6655f784139804ea1c10a3075b958b706b780d
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Oct 11 12:01:13 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Tue Oct 11 12:01:13 2022 +0300
heretic: Include am_map.h in files which are going to need it
Needed by future commits
---
src/heretic/d_main.c | 1 +
src/heretic/f_finale.c | 1 +
src/heretic/in_lude.c | 2 ++
src/heretic/mn_menu.c | 1 +
src/heretic/p_inter.c | 2 ++
src/heretic/sb_bar.c | 1 +
6 files changed, 8 insertions(+)
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c
index 741cfa26..fda1ecad 100644
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -44,6 +44,7 @@
#include "s_sound.h"
#include "w_main.h"
#include "v_video.h"
+#include "am_map.h"
#include "heretic_icon.c"
diff --git a/src/heretic/f_finale.c b/src/heretic/f_finale.c
index b378f7ff..f396d1be 100644
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -23,6 +23,7 @@
#include "i_video.h"
#include "s_sound.h"
#include "v_video.h"
+#include "am_map.h"
static int finalestage; // 0 = text, 1 = art screen
static int finalecount;
diff --git a/src/heretic/in_lude.c b/src/heretic/in_lude.c
index fd0f9edd..2d5d4dde 100644
--- a/src/heretic/in_lude.c
+++ b/src/heretic/in_lude.c
@@ -29,6 +29,8 @@
#include "i_system.h"
#include "i_video.h"
#include "v_video.h"
+#include "am_map.h"
+
typedef enum
{
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c
index 24245cb1..4066cd28 100644
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -31,6 +31,7 @@
#include "r_local.h"
#include "s_sound.h"
#include "v_video.h"
+#include "am_map.h"
// Macros
diff --git a/src/heretic/p_inter.c b/src/heretic/p_inter.c
index e3270913..186da5c7 100644
--- a/src/heretic/p_inter.c
+++ b/src/heretic/p_inter.c
@@ -23,6 +23,8 @@
#include "m_random.h"
#include "p_local.h"
#include "s_sound.h"
+#include "am_map.h"
+
#define BONUSADD 6
diff --git a/src/heretic/sb_bar.c b/src/heretic/sb_bar.c
index e200f13c..68630029 100644
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -26,6 +26,7 @@
#include "p_local.h"
#include "s_sound.h"
#include "v_video.h"
+#include "am_map.h"
// Types