commit c1b1885e626239fd931ae15b71042249d4147927
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 16:58:07 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Sat Oct 29 17:45:22 2022 +0300
heretic: Move screenblocks extern declaration to r_local.h
---
src/heretic/d_main.c | 1 -
src/heretic/mn_menu.c | 1 -
src/heretic/r_local.h | 2 ++
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c
index f6157e10..9e81f49e 100644
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -651,7 +651,6 @@ void InitThermo(int max)
void D_BindVariables(void)
{
- extern int screenblocks;
int i;
M_ApplyPlatformDefaults();
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c
index 2dcfa6d4..e5237688 100644
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -120,7 +120,6 @@ void MN_LoadSlotText(void);
// External Data
extern int detailLevel;
-extern int screenblocks;
// Public Data
diff --git a/src/heretic/r_local.h b/src/heretic/r_local.h
index bb99ca4f..ac1cc610 100644
--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -294,6 +294,8 @@ extern fixed_t viewcos, viewsin;
extern int detailshift; // 0 = high, 1 = low
+extern int screenblocks;
+
extern void (*colfunc) (void);
extern void (*basecolfunc) (void);
extern void (*tlcolfunc) (void);