ref: 8b889145135d10b38de9ddb7b411532407c658cc
parent: d77ef6d7064ccc1f06984c5f231d16dc68e22567
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 15:00:48 EDT 2022
hexen: Move FloatBobOffsets extern declaration to p_local.h
--- 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] = {
--- 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];
//----------------------------------------------------------------------------
--- 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];
//==================================================================
//==================================================================
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -136,6 +136,9 @@
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);
--- a/src/hexen/p_pspr.c
+++ b/src/hexen/p_pspr.c
@@ -42,7 +42,6 @@
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
-extern fixed_t FloatBobOffsets[64];
// PUBLIC DATA DEFINITIONS -------------------------------------------------