mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
SW: Remove a bunch of unused function parameters
git-svn-id: https://svn.eduke32.com/eduke32@8694 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/sw/src/brooms.cpp # source/sw/src/draw.cpp # source/sw/src/game.cpp # source/sw/src/inv.cpp # source/sw/src/save.cpp # source/sw/src/spike.cpp # source/sw/src/text.cpp # source/sw/src/weapon.cpp
This commit is contained in:
parent
f9155048fc
commit
3e8dc4e509
20 changed files with 94 additions and 90 deletions
|
@ -181,7 +181,7 @@ void DoPlayerOperateTurret(PLAYERp pp);
|
|||
void DoPlayerBeginDive(PLAYERp pp);
|
||||
void DoPlayerDive(PLAYERp pp);
|
||||
void DoPlayerTeleportPause(PLAYERp pp);
|
||||
SWBOOL PlayerFlyKey(PLAYERp pp);
|
||||
SWBOOL PlayerFlyKey(void);
|
||||
void OperateSectorObject(SECTOR_OBJECTp sop, short newang, int newx, int newy);
|
||||
void CheckFootPrints(PLAYERp pp);
|
||||
SWBOOL DoPlayerTestCrawl(PLAYERp pp);
|
||||
|
@ -3505,7 +3505,7 @@ DoPlayerJump(PLAYERp pp)
|
|||
}
|
||||
}
|
||||
|
||||
if (PlayerFlyKey(pp))
|
||||
if (PlayerFlyKey())
|
||||
{
|
||||
DoPlayerBeginFly(pp);
|
||||
return;
|
||||
|
@ -3747,7 +3747,7 @@ DoPlayerFall(PLAYERp pp)
|
|||
}
|
||||
}
|
||||
|
||||
if (PlayerFlyKey(pp))
|
||||
if (PlayerFlyKey())
|
||||
{
|
||||
DoPlayerBeginFly(pp);
|
||||
return;
|
||||
|
@ -4044,7 +4044,7 @@ DoPlayerWadeSuperJump(PLAYERp pp)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
SWBOOL PlayerFlyKey(PLAYERp pp)
|
||||
SWBOOL PlayerFlyKey(void)
|
||||
{
|
||||
SWBOOL key;
|
||||
|
||||
|
@ -4404,7 +4404,7 @@ DoPlayerFly(PLAYERp pp)
|
|||
pp->z_speed = 0;
|
||||
}
|
||||
|
||||
if (PlayerFlyKey(pp))
|
||||
if (PlayerFlyKey())
|
||||
{
|
||||
RESET(pp->Flags, PF_FLYING);
|
||||
pp->bob_amt = 0;
|
||||
|
@ -5553,7 +5553,7 @@ DoPlayerWade(PLAYERp pp)
|
|||
FLAG_KEY_RESET(pp, SK_JUMP);
|
||||
}
|
||||
|
||||
if (PlayerFlyKey(pp))
|
||||
if (PlayerFlyKey())
|
||||
{
|
||||
//pp->InventoryTics[INVENTORY_FLY] = -99;
|
||||
DoPlayerBeginFly(pp);
|
||||
|
@ -5709,7 +5709,7 @@ void FindMainSector(SECTOR_OBJECTp sop)
|
|||
int sx = sop->xmid;
|
||||
int sy = sop->ymid;
|
||||
|
||||
PlaceSectorObject(sop, sop->ang, MAXSO, MAXSO);
|
||||
PlaceSectorObject(sop, MAXSO, MAXSO);
|
||||
|
||||
// set it to something valid
|
||||
sop->op_main_sector = 0;
|
||||
|
@ -5724,7 +5724,7 @@ void FindMainSector(SECTOR_OBJECTp sop)
|
|||
////DSPRINTF(ds,"main sector %d, zmid %d",sop->op_main_sector, sop->zmid);
|
||||
//MONO_PRINT(ds);
|
||||
|
||||
PlaceSectorObject(sop, sop->ang, sx, sy);
|
||||
PlaceSectorObject(sop, sx, sy);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -7273,7 +7273,7 @@ DoPlayerRun(PLAYERp pp)
|
|||
FLAG_KEY_RESET(pp, SK_CRAWL_LOCK);
|
||||
}
|
||||
|
||||
if (PlayerFlyKey(pp))
|
||||
if (PlayerFlyKey())
|
||||
{
|
||||
//pp->InventoryTics[INVENTORY_FLY] = -99;
|
||||
DoPlayerBeginFly(pp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue