mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 13:01:56 +00:00
Use the new sprite system
This commit is contained in:
parent
79879bbd7b
commit
ec9d47cb34
1 changed files with 2 additions and 2 deletions
|
|
@ -230,7 +230,7 @@ char *GetPlayerFacePic(INT32 skinnum);
|
||||||
// Future: [[ ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@ ]]
|
// Future: [[ ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@ ]]
|
||||||
FUNCMATH FUNCINLINE static ATTRINLINE char R_Frame2Char(UINT8 frame)
|
FUNCMATH FUNCINLINE static ATTRINLINE char R_Frame2Char(UINT8 frame)
|
||||||
{
|
{
|
||||||
#if 1 // 2.1 compat
|
#if 0 // 2.1 compat
|
||||||
return 'A' + frame;
|
return 'A' + frame;
|
||||||
#else
|
#else
|
||||||
if (frame < 26) return 'A' + frame;
|
if (frame < 26) return 'A' + frame;
|
||||||
|
|
@ -244,7 +244,7 @@ FUNCMATH FUNCINLINE static ATTRINLINE char R_Frame2Char(UINT8 frame)
|
||||||
|
|
||||||
FUNCMATH FUNCINLINE static ATTRINLINE UINT8 R_Char2Frame(char cn)
|
FUNCMATH FUNCINLINE static ATTRINLINE UINT8 R_Char2Frame(char cn)
|
||||||
{
|
{
|
||||||
#if 1 // 2.1 compat
|
#if 0 // 2.1 compat
|
||||||
return cn - 'A';
|
return cn - 'A';
|
||||||
#else
|
#else
|
||||||
if (cn >= 'A' && cn <= 'Z') return cn - 'A';
|
if (cn >= 'A' && cn <= 'Z') return cn - 'A';
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue