mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make position number scale vary
- Before: always x2 - With "normal screen" (1P, 3P, 4P): x1.75 - With "wide splitscreen" (2P): x2.5
This commit is contained in:
parent
651b75e802
commit
d0a3e4704d
1 changed files with 3 additions and 2 deletions
|
|
@ -1617,8 +1617,9 @@ static void K_DrawKartPositionNum(INT32 num)
|
|||
|
||||
if (stplyr->positiondelay || stplyr->exiting)
|
||||
{
|
||||
UINT8 delay = (stplyr->exiting) ? POS_DELAY_TIME : stplyr->positiondelay;
|
||||
scale += min((scale * (delay * delay)) / (POS_DELAY_TIME * POS_DELAY_TIME), scale);
|
||||
const UINT8 delay = (stplyr->exiting) ? POS_DELAY_TIME : stplyr->positiondelay;
|
||||
const fixed_t add = (scale * 3) >> ((r_splitscreen == 1) ? 1 : 2);
|
||||
scale += min((add * (delay * delay)) / (POS_DELAY_TIME * POS_DELAY_TIME), add);
|
||||
}
|
||||
|
||||
// pain and suffering defined below
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue