mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
- Blood: Remove the extern for weaponQAV[]
and move kQAVEnd
enum into new enum from 9e84dd1ef6051f4e54d99dcfc6e3468560175e16
This commit is contained in:
parent
84496029a9
commit
968708a649
3 changed files with 3 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -177,6 +177,8 @@ enum
|
|||
kQAV2NAPFIRE = 122,
|
||||
kQAV2NAPFIR2 = 123,
|
||||
kQAV2NAPDOWN = 124,
|
||||
|
||||
kQAVEnd = 125,
|
||||
};
|
||||
|
||||
// by NoOne: add sound flags
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue