shithub: choc

Download patch

ref: ce6655f784139804ea1c10a3075b958b706b780d
parent: 0ada6269a40b7360323e82014e6a921bc2b52191
author: Turo Lamminen <turol@iki.fi>
date: Tue Oct 11 08:01:13 EDT 2022

heretic: Include am_map.h in files which are going to need it

Needed by future commits

--- 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"
 
--- 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;
--- 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
 {
--- 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
 
--- 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
 
--- 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