- Blood: Remove the extern for weaponQAV[] and move kQAVEnd enum into new enum from 9e84dd1ef6051f4e54d99dcfc6e3468560175e16

This commit is contained in:
Mitchell Richters 2021-08-04 19:54:28 +10:00
parent 84496029a9
commit 968708a649
3 changed files with 3 additions and 5 deletions

View file

@ -41,9 +41,7 @@ void DrawMirrors(int x, int y, int z, fixed_t a, fixed_t horiz, int smooth, int
int qanimateoffs(int a1, int a2);
void HookReplaceFunctions();
struct QAV;
struct PLAYER;
extern QAV* weaponQAV[];
void WeaponInit(void);
void WeaponDraw(PLAYER *pPlayer, int a2, double a3, double a4, int a5);

View file

@ -177,6 +177,8 @@ enum
kQAV2NAPFIRE = 122,
kQAV2NAPFIR2 = 123,
kQAV2NAPDOWN = 124,
kQAVEnd = 125,
};
// by NoOne: add sound flags

View file

@ -33,8 +33,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_BLD_NS
enum { kQAVEnd = 125 };
void FirePitchfork(int, PLAYER *pPlayer);
void FireSpray(int, PLAYER *pPlayer);
void ThrowCan(int, PLAYER *pPlayer);
@ -142,7 +140,7 @@ enum
nClientAltFireNapalm,
};
QAV *weaponQAV[kQAVEnd];
static QAV *weaponQAV[kQAVEnd];
static bool sub_4B1A4(PLAYER *pPlayer)
{