mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
SW: Mark function parameters as unused in cases we can't easily change
the functions' signatures (often due to being used as callbacks/hooks) git-svn-id: https://svn.eduke32.com/eduke32@8696 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/sw/src/jnstub.cpp # source/sw/src/menus.cpp # source/sw/src/panel.cpp # source/sw/src/text.cpp
This commit is contained in:
parent
3e8dc4e509
commit
4842f18f1b
3 changed files with 8 additions and 6 deletions
|
@ -1876,21 +1876,21 @@ void gStateControl(STATEp *State, int *tics)
|
||||||
(*(*State)->Animator)(0);
|
(*(*State)->Animator)(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int BonusPunchSound(short SpriteNum)
|
int BonusPunchSound(short UNUSED(SpriteNum))
|
||||||
{
|
{
|
||||||
PLAYERp pp = Player + myconnectindex;
|
PLAYERp pp = Player + myconnectindex;
|
||||||
PlaySound(DIGI_PLAYERYELL3, pp, v3df_none);
|
PlaySound(DIGI_PLAYERYELL3, pp, v3df_none);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int BonusKickSound(short SpriteNum)
|
int BonusKickSound(short UNUSED(SpriteNum))
|
||||||
{
|
{
|
||||||
PLAYERp pp = Player + myconnectindex;
|
PLAYERp pp = Player + myconnectindex;
|
||||||
PlaySound(DIGI_PLAYERYELL2, pp, v3df_none);
|
PlaySound(DIGI_PLAYERYELL2, pp, v3df_none);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int BonusGrabSound(short SpriteNum)
|
int BonusGrabSound(short UNUSED(SpriteNum))
|
||||||
{
|
{
|
||||||
PLAYERp pp = Player + myconnectindex;
|
PLAYERp pp = Player + myconnectindex;
|
||||||
PlaySound(DIGI_BONUS_GRAB, pp, v3df_none);
|
PlaySound(DIGI_BONUS_GRAB, pp, v3df_none);
|
||||||
|
|
|
@ -120,12 +120,13 @@ int ChangeWeapon(PLAYERp);
|
||||||
|
|
||||||
ANIMATOR InitFire;
|
ANIMATOR InitFire;
|
||||||
|
|
||||||
int NullAnimator(short SpriteNum)
|
int
|
||||||
|
NullAnimator(short UNUSED(SpriteNum))
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void pNullAnimator(PANEL_SPRITEp psp)
|
void pNullAnimator(PANEL_SPRITEp UNUSED(psp))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -275,7 +275,8 @@ DisplayMiniBarNumber(short xs, short ys, int number)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayMiniBarSmString(PLAYERp pp, short xs, short ys, short pal, const char *buffer)
|
void
|
||||||
|
DisplayMiniBarSmString(PLAYERp UNUSED(pp), short xs, short ys, short pal, const char *buffer)
|
||||||
{
|
{
|
||||||
short size=4,x;
|
short size=4,x;
|
||||||
const char *ptr;
|
const char *ptr;
|
||||||
|
|
Loading…
Reference in a new issue