shithub: choc

Download patch

ref: bda24e56c062c08a1d0f885afd519e915c177f2a
parent: 77c096f2db59ad52936ea7c7f16a26615068cdc6
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:44:30 EDT 2022

doom: Move hu_font extern declaration to hu_stuff.h

--- a/src/doom/f_finale.c
+++ b/src/doom/f_finale.c
@@ -222,7 +222,6 @@
 //
 
 #include "hu_stuff.h"
-extern	patch_t *hu_font[HU_FONTSIZE];
 
 
 void F_TextWrite (void)
--- a/src/doom/hu_stuff.h
+++ b/src/doom/hu_stuff.h
@@ -56,5 +56,8 @@
 
 extern char *chat_macros[10];
 
+extern patch_t *hu_font[HU_FONTSIZE];
+
+
 #endif
 
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -61,7 +61,6 @@
 #include "m_menu.h"
 
 
-extern patch_t*		hu_font[HU_FONTSIZE];
 extern boolean		message_dontfuckwithme;
 
 extern boolean		chat_on;		// in heads-up code