mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Remove 'cl_angleinterpolation' cvar because it had no effect for a while.
Also remove the two instances of commented out code, but not the respective CON structure access code. git-svn-id: https://svn.eduke32.com/eduke32@3702 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b6be776079
commit
086ef3f901
3 changed files with 0 additions and 26 deletions
|
@ -6844,16 +6844,6 @@ PALONLY:
|
|||
|
||||
if (G_HaveActor(s->picnum))
|
||||
{
|
||||
/*
|
||||
if (ud.angleinterpolation)
|
||||
{
|
||||
if (sprpos[i].ang != sprpos[i].oldang)
|
||||
t->ang = (sprpos[i].oldang + (mulscale16((int32_t)(sprpos[i].angdif),smoothratio) * sprpos[i].angdir)) & 2047;
|
||||
else
|
||||
t->ang = sprpos[i].ang;
|
||||
}
|
||||
*/
|
||||
|
||||
#ifndef LUNATIC
|
||||
if ((unsigned)t_data4 + 2 >= (unsigned)g_scriptSize)
|
||||
goto skip;
|
||||
|
|
|
@ -5313,21 +5313,6 @@ void A_Execute(int32_t iActor,int32_t iPlayer,int32_t lDist)
|
|||
|
||||
VM_Move();
|
||||
|
||||
/* if (ud.angleinterpolation)
|
||||
{
|
||||
temp = (vm.g_sp->ang & 2047) - sprpos[vm.g_i].ang;
|
||||
sprpos[vm.g_i].oldang = sprpos[vm.g_i].ang;
|
||||
if (temp)
|
||||
{
|
||||
temp2 = temp/klabs(temp);
|
||||
if (klabs(temp) > 1024) temp2 = -(temp2);
|
||||
sprpos[vm.g_i].angdir = temp2;
|
||||
sprpos[vm.g_i].angdif = min(ud.angleinterpolation,klabs(temp));
|
||||
sprpos[vm.g_i].ang += sprpos[vm.g_i].angdif * sprpos[vm.g_i].angdir;
|
||||
sprpos[vm.g_i].ang &= 2047;
|
||||
}
|
||||
}
|
||||
*/
|
||||
if (vm.g_sp->statnum == STAT_STANDABLE)
|
||||
switch (DYNAMICTILEMAP(vm.g_sp->picnum))
|
||||
{
|
||||
|
|
|
@ -1435,7 +1435,6 @@ int32_t registerosdcommands(void)
|
|||
|
||||
{ "cl_weaponsway", "cl_weaponsway: enable/disable player weapon swaying", (void *)&ud.weaponsway, CVAR_BOOL, 0, 1 },
|
||||
{ "cl_weaponswitch", "cl_weaponswitch: enable/disable auto weapon switching", (void *)&ud.weaponswitch, CVAR_INT|CVAR_MULTI, 0, 7 },
|
||||
{ "cl_angleinterpolation", "cl_angleinterpolation: enable/disable angle interpolation", (void *)&ud.angleinterpolation, CVAR_INT, 0, 256 },
|
||||
|
||||
{ "color", "color: changes player palette", (void *)&ud.color, CVAR_INT|CVAR_MULTI, 0, g_numRealPalettes },
|
||||
|
||||
|
|
Loading…
Reference in a new issue