mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Interpolate the Phantom Ruby floating animation.
A recommit and not a cherry-pick because the other current uses won't be relevant in new-menus.
This commit is contained in:
parent
f17f6b7525
commit
1a814885da
1 changed files with 2 additions and 1 deletions
|
|
@ -1095,8 +1095,9 @@ void Y_VoteDrawer(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
{
|
{
|
||||||
angle_t rubyfloattime = (ANGLE_MAX/NEWTICRATE)*(votetic % NEWTICRATE);
|
static angle_t rubyfloattime = 0;
|
||||||
rubyheight = FINESINE(rubyfloattime>>ANGLETOFINESHIFT);
|
rubyheight = FINESINE(rubyfloattime>>ANGLETOFINESHIFT);
|
||||||
|
rubyfloattime += FixedMul(ANGLE_MAX/NEWTICRATE, renderdeltatics);
|
||||||
}
|
}
|
||||||
|
|
||||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue