commit 8b889145135d10b38de9ddb7b411532407c658cc
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 19:00:48 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:14 2022 +0300
hexen: Move FloatBobOffsets extern declaration to p_local.h
---
src/hexen/a_action.c | 1 -
src/hexen/p_enemy.c | 1 -
src/hexen/p_floor.c | 1 -
src/hexen/p_local.h | 3 +++
src/hexen/p_pspr.c | 1 -
5 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/hexen/a_action.c b/src/hexen/a_action.c
index bb007953..be9b1e6d 100644
--- a/src/hexen/a_action.c
+++ b/src/hexen/a_action.c
@@ -33,7 +33,6 @@
// PRIVATE FUNCTION PROTOTYPES ---------------------------------------------
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
-extern fixed_t FloatBobOffsets[64];
// PUBLIC DATA DEFINITIONS -------------------------------------------------
int orbitTableX[256] = {
diff --git a/src/hexen/p_enemy.c b/src/hexen/p_enemy.c
index f7b59ea0..37736ca1 100644
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -26,7 +26,6 @@
// Types
// Private Data
// External Data
-extern fixed_t FloatBobOffsets[64];
//----------------------------------------------------------------------------
diff --git a/src/hexen/p_floor.c b/src/hexen/p_floor.c
index f810d7ea..7b3e82f8 100644
--- a/src/hexen/p_floor.c
+++ b/src/hexen/p_floor.c
@@ -19,7 +19,6 @@
#include "i_system.h"
#include "p_local.h"
-extern fixed_t FloatBobOffsets[64];
//==================================================================
//==================================================================
diff --git a/src/hexen/p_local.h b/src/hexen/p_local.h
index 6081416b..379b3d20 100644
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -136,6 +136,9 @@ enum
extern mobjtype_t PuffType;
extern mobj_t *MissileMobj;
+extern fixed_t FloatBobOffsets[64];
+
+
mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type);
void P_RemoveMobj(mobj_t * th);
boolean P_SetMobjState(mobj_t * mobj, statenum_t state);
diff --git a/src/hexen/p_pspr.c b/src/hexen/p_pspr.c
index 54c012e9..30eb9da1 100644
--- a/src/hexen/p_pspr.c
+++ b/src/hexen/p_pspr.c
@@ -42,7 +42,6 @@ extern void A_UnHideThing(mobj_t * actor);
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
-extern fixed_t FloatBobOffsets[64];
// PUBLIC DATA DEFINITIONS -------------------------------------------------