Home
last modified time | relevance | path

Searched refs:vardc (Results 1 – 3 of 3) sorted by relevance

/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/
H A Dplayer4.c589 short vard4, vard8, vardc, vare0; in processinput() local
593 vardc = -10; in processinput()
595 vardc = 10; in processinput()
596 if (vardc < 0) in processinput()
603 p->posxv += (vard4>>6)*(sintable[(vardc*-51+vard8+512)&2047]<<4); in processinput()
604 p->posyv += (vard4>>6)*(sintable[(vardc*-51+vard8)&2047]<<4); in processinput()
609 p->posxv += (vard4>>7)*(sintable[(vardc*-51+vard8+512)&2047]<<4); in processinput()
610 p->posyv += (vard4>>7)*(sintable[(vardc*-51+vard8)&2047]<<4); in processinput()
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dnet.cpp608 short vard4, vard8, vardc, vare0; in Net_DoPrediction() local
612 vardc = -10; in Net_DoPrediction()
614 vardc = 10; in Net_DoPrediction()
615 if (vardc < 0) in Net_DoPrediction()
622 myvel.x += (vard4>>6)*(sintable[(vardc*-51+vard8+512)&2047]<<4); in Net_DoPrediction()
623 myvel.y += (vard4>>6)*(sintable[(vardc*-51+vard8)&2047]<<4); in Net_DoPrediction()
628 myvel.x += (vard4>>7)*(sintable[(vardc*-51+vard8+512)&2047]<<4); in Net_DoPrediction()
629 myvel.y += (vard4>>7)*(sintable[(vardc*-51+vard8)&2047]<<4); in Net_DoPrediction()
H A Dplayer.cpp7948 short vard4, vard8, vardc, vare0; in P_ProcessInput() local
7952 vardc = -10; in P_ProcessInput()
7954 vardc = 10; in P_ProcessInput()
7955 if (vardc < 0) in P_ProcessInput()
7962 pPlayer->vel.x += (vard4>>6)*(sintable[(vardc*-51+vard8+512)&2047]<<4); in P_ProcessInput()
7963 pPlayer->vel.y += (vard4>>6)*(sintable[(vardc*-51+vard8)&2047]<<4); in P_ProcessInput()
7968 pPlayer->vel.x += (vard4>>7)*(sintable[(vardc*-51+vard8+512)&2047]<<4); in P_ProcessInput()
7969 pPlayer->vel.y += (vard4>>7)*(sintable[(vardc*-51+vard8)&2047]<<4); in P_ProcessInput()