mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 04:51:43 +00:00
parent
a7e8a4d5ee
commit
290383364f
1 changed files with 3 additions and 7 deletions
|
|
@ -80,19 +80,17 @@ int snprintf(char *str, size_t n, const char *fmt, ...);
|
|||
#include "discord.h"
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
static fixed_t M_TimeFrac(tic_t tics, tic_t duration)
|
||||
static ATTRUNUSED fixed_t M_TimeFrac(tic_t tics, tic_t duration)
|
||||
{
|
||||
return tics < duration ? (tics * FRACUNIT + rendertimefrac) / duration : FRACUNIT;
|
||||
}
|
||||
|
||||
static fixed_t M_ReverseTimeFrac(tic_t tics, tic_t duration)
|
||||
static ATTRUNUSED fixed_t M_ReverseTimeFrac(tic_t tics, tic_t duration)
|
||||
{
|
||||
return FRACUNIT - M_TimeFrac(duration - tics, duration);
|
||||
}
|
||||
|
||||
static fixed_t M_DueFrac(tic_t start, tic_t duration)
|
||||
static ATTRUNUSED fixed_t M_DueFrac(tic_t start, tic_t duration)
|
||||
{
|
||||
tic_t t = I_GetTime();
|
||||
tic_t n = t - start;
|
||||
|
|
@ -105,8 +103,6 @@ static fixed_t M_DueFrac(tic_t start, tic_t duration)
|
|||
M_ReverseTimeFrac(menutransition.tics, menutransition.endmenu->transitionTics) :\
|
||||
M_TimeFrac(menutransition.tics, menutransition.startmenu->transitionTics), 0, N) : 0)
|
||||
|
||||
#endif //#if 0
|
||||
|
||||
#define SKULLXOFF -32
|
||||
#define LINEHEIGHT 16
|
||||
#define STRINGHEIGHT 8
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue