mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Promote driftboost vars to UINT16
This commit is contained in:
parent
becf2a4226
commit
8c46258ba9
2 changed files with 6 additions and 6 deletions
|
|
@ -690,8 +690,8 @@ struct player_t
|
|||
|
||||
SINT8 drift; // (-5 to 5) - Drifting Left or Right, plus a bigger counter = sharper turn
|
||||
fixed_t driftcharge; // Charge your drift so you can release a burst of speed
|
||||
UINT8 driftboost; // (0 to 125) - Boost you get from drifting
|
||||
UINT8 strongdriftboost; // (0 to 125) - While active, boost from drifting gives a stronger speed increase
|
||||
UINT16 driftboost; // (0 to 125 baseline) - Boost you get from drifting
|
||||
UINT16 strongdriftboost; // (0 to 125) - While active, boost from drifting gives a stronger speed increase
|
||||
|
||||
UINT16 gateBoost; // Juicebox Manta Ring boosts
|
||||
UINT8 gateSound; // Sound effect combo
|
||||
|
|
|
|||
|
|
@ -437,8 +437,8 @@ static void P_NetArchivePlayers(savebuffer_t *save)
|
|||
|
||||
WRITESINT8(save->p, players[i].drift);
|
||||
WRITEFIXED(save->p, players[i].driftcharge);
|
||||
WRITEUINT8(save->p, players[i].driftboost);
|
||||
WRITEUINT8(save->p, players[i].strongdriftboost);
|
||||
WRITEUINT16(save->p, players[i].driftboost);
|
||||
WRITEUINT16(save->p, players[i].strongdriftboost);
|
||||
|
||||
WRITEUINT16(save->p, players[i].gateBoost);
|
||||
WRITEUINT8(save->p, players[i].gateSound);
|
||||
|
|
@ -1025,8 +1025,8 @@ static void P_NetUnArchivePlayers(savebuffer_t *save)
|
|||
|
||||
players[i].drift = READSINT8(save->p);
|
||||
players[i].driftcharge = READFIXED(save->p);
|
||||
players[i].driftboost = READUINT8(save->p);
|
||||
players[i].strongdriftboost = READUINT8(save->p);
|
||||
players[i].driftboost = READUINT16(save->p);
|
||||
players[i].strongdriftboost = READUINT16(save->p);
|
||||
|
||||
players[i].gateBoost = READUINT16(save->p);
|
||||
players[i].gateSound = READUINT8(save->p);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue