shithub: choc

Download patch

ref: b482284d4272ec4ae9beb56a5601b24febef5863
parent: 62a0e90f753c3e5593668ade7a93680331f1738c
author: Turo Lamminen <[email protected]>
date: Tue Nov 1 16:06:45 EDT 2022

hexen: Replace some prototypes in info.c with including p_local.h

This avoids redundant prototypes

--- a/src/hexen/info.c
+++ b/src/hexen/info.c
@@ -15,6 +15,8 @@
 //
 #include "h2def.h"
 #include "i_swap.h"
+#include "p_local.h"
+
 // generated by stateco
 
 const char *sprnames[] = {
@@ -54,7 +56,6 @@
 void A_FreeTargMobj(mobj_t *actor);
 void A_FlameCheck(mobj_t *actor);
 void A_HideThing(mobj_t *actor);
-void A_UnHideThing(mobj_t *actor);
 void A_RestoreSpecialThing1(mobj_t *thing);
 void A_RestoreSpecialThing2(mobj_t *thing);
 void A_RestoreArtifact(mobj_t *arti);
@@ -75,7 +76,6 @@
 void A_Quake(mobj_t *actor);
 void A_ContMobjSound(mobj_t *actor);
 void A_Scream(mobj_t *actor);
-void A_Explode(mobj_t *actor);
 void A_PoisonBagInit(mobj_t *actor);
 void A_PoisonBagDamage(mobj_t *actor);
 void A_PoisonBagCheck(mobj_t *actor);
@@ -97,7 +97,6 @@
 void A_SoAExplode(mobj_t *actor);
 void A_BellReset1(mobj_t *actor);
 void A_BellReset2(mobj_t *actor);
-void A_NoBlocking(mobj_t *actor);
 void A_Light0(player_t *player, pspdef_t *psp);
 void A_WeaponReady(player_t *player, pspdef_t *psp);
 void A_Lower(player_t *player, pspdef_t *psp);