mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
sw/src/weapon.cpp: Comment out unused MissileSeek and ComboMissileSeek
params, but leave them for documentation. Note that currently, the only use of ComboMissileSeek is in the saveable_weapon_code array. git-svn-id: https://svn.eduke32.com/eduke32@8698 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cf093e9ea6
commit
68f249873c
1 changed files with 7 additions and 7 deletions
|
@ -8281,7 +8281,7 @@ int PickEnemyTarget(SPRITEp sp, short aware_range)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
MissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range, int16_t dang_shift, int16_t turn_limit, int16_t z_limit)
|
MissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range/*, int16_t dang_shift, int16_t turn_limit, int16_t z_limit*/)
|
||||||
{
|
{
|
||||||
SPRITEp sp = &sprite[Weapon];
|
SPRITEp sp = &sprite[Weapon];
|
||||||
USERp u = User[Weapon];
|
USERp u = User[Weapon];
|
||||||
|
@ -8364,7 +8364,7 @@ MissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range, int16_t dan
|
||||||
|
|
||||||
// combination of vector manipulation
|
// combination of vector manipulation
|
||||||
int
|
int
|
||||||
ComboMissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range, int16_t dang_shift, int16_t turn_limit, int16_t z_limit)
|
ComboMissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range/*, int16_t dang_shift, int16_t turn_limit, int16_t z_limit*/)
|
||||||
{
|
{
|
||||||
SPRITEp sp = &sprite[Weapon];
|
SPRITEp sp = &sprite[Weapon];
|
||||||
USERp u = User[Weapon];
|
USERp u = User[Weapon];
|
||||||
|
@ -8700,8 +8700,8 @@ DoPlasma(int16_t Weapon)
|
||||||
oy = sp->y;
|
oy = sp->y;
|
||||||
oz = sp->z;
|
oz = sp->z;
|
||||||
|
|
||||||
//MissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range, int16_t dang_shift, int16_t turn_limit, int16_t z_limit)
|
//MissileSeek(int16_t Weapon, int16_t delay_tics, int16_t aware_range/*, int16_t dang_shift, int16_t turn_limit, int16_t z_limit*/)
|
||||||
//MissileSeek(Weapon, 20, 1024, 6, 80, 6);
|
//MissileSeek(Weapon, 20, 1024/*, 6, 80, 6*/);
|
||||||
DoBlurExtend(Weapon, 0, 4);
|
DoBlurExtend(Weapon, 0, 4);
|
||||||
|
|
||||||
dax = MOVEx(sp->xvel, sp->ang);
|
dax = MOVEx(sp->xvel, sp->ang);
|
||||||
|
@ -10194,7 +10194,7 @@ DoRocket(int16_t Weapon)
|
||||||
|
|
||||||
if (TEST(u->Flags, SPR_FIND_PLAYER))
|
if (TEST(u->Flags, SPR_FIND_PLAYER))
|
||||||
{
|
{
|
||||||
//MissileSeek(Weapon, 10, 768, 3, 48, 6);
|
//MissileSeek(Weapon, 10, 768/*, 3, 48, 6*/);
|
||||||
VectorMissileSeek(Weapon, 30, 16, 128, 768);
|
VectorMissileSeek(Weapon, 30, 16, 128, 768);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10486,7 +10486,7 @@ DoBoltSeeker(int16_t Weapon)
|
||||||
USERp u = User[Weapon];
|
USERp u = User[Weapon];
|
||||||
int32_t dax, day, daz;
|
int32_t dax, day, daz;
|
||||||
|
|
||||||
MissileSeek(Weapon, 30, 768, 4, 48, 6);
|
MissileSeek(Weapon, 30, 768/*, 4, 48, 6*/);
|
||||||
DoBlurExtend(Weapon, 0, 4);
|
DoBlurExtend(Weapon, 0, 4);
|
||||||
|
|
||||||
dax = MOVEx(sp->xvel, sp->ang);
|
dax = MOVEx(sp->xvel, sp->ang);
|
||||||
|
@ -10537,7 +10537,7 @@ DoElectro(int16_t Weapon)
|
||||||
|
|
||||||
// only seek on Electro's after a hit on an actor
|
// only seek on Electro's after a hit on an actor
|
||||||
if (u->Counter > 0)
|
if (u->Counter > 0)
|
||||||
MissileSeek(Weapon, 30, 512, 3, 52, 2);
|
MissileSeek(Weapon, 30, 512/*, 3, 52, 2*/);
|
||||||
|
|
||||||
dax = MOVEx(sp->xvel, sp->ang);
|
dax = MOVEx(sp->xvel, sp->ang);
|
||||||
day = MOVEy(sp->xvel, sp->ang);
|
day = MOVEy(sp->xvel, sp->ang);
|
||||||
|
|
Loading…
Reference in a new issue