mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Remove g_hiscore since it's not used anymore
This commit is contained in:
parent
b023b16561
commit
18ccc3db27
5 changed files with 0 additions and 18 deletions
|
|
@ -697,7 +697,6 @@ extern UINT8 gamespeed;
|
||||||
extern boolean franticitems;
|
extern boolean franticitems;
|
||||||
extern boolean encoremode, prevencoremode;
|
extern boolean encoremode, prevencoremode;
|
||||||
|
|
||||||
extern UINT32 g_hiscore;
|
|
||||||
extern tic_t wantedcalcdelay;
|
extern tic_t wantedcalcdelay;
|
||||||
extern tic_t itemCooldowns[NUMKARTITEMS - 1];
|
extern tic_t itemCooldowns[NUMKARTITEMS - 1];
|
||||||
extern tic_t mapreset;
|
extern tic_t mapreset;
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,6 @@ SINT8 votes[MAXPLAYERS]; // Each player's vote
|
||||||
SINT8 pickedvote; // What vote the host rolls
|
SINT8 pickedvote; // What vote the host rolls
|
||||||
|
|
||||||
// Server-sided, synched variables
|
// Server-sided, synched variables
|
||||||
UINT32 g_hiscore; // Highest score (points) achieved by anyone in game
|
|
||||||
tic_t wantedcalcdelay; // Time before it recalculates WANTED
|
tic_t wantedcalcdelay; // Time before it recalculates WANTED
|
||||||
tic_t itemCooldowns[NUMKARTITEMS - 1]; // Cooldowns to prevent item spawning
|
tic_t itemCooldowns[NUMKARTITEMS - 1]; // Cooldowns to prevent item spawning
|
||||||
tic_t mapreset; // Map reset delay when enough players have joined an empty game
|
tic_t mapreset; // Map reset delay when enough players have joined an empty game
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,6 @@ void K_CheckBumpers(void)
|
||||||
{
|
{
|
||||||
UINT8 i;
|
UINT8 i;
|
||||||
UINT8 numingame = 0;
|
UINT8 numingame = 0;
|
||||||
UINT32 toproundscore = 0;
|
|
||||||
UINT8 nobumpers = 0;
|
UINT8 nobumpers = 0;
|
||||||
|
|
||||||
if (!(gametyperules & GTR_BUMPERS))
|
if (!(gametyperules & GTR_BUMPERS))
|
||||||
|
|
@ -110,11 +109,6 @@ void K_CheckBumpers(void)
|
||||||
|
|
||||||
numingame++;
|
numingame++;
|
||||||
|
|
||||||
if (players[i].roundscore > toproundscore)
|
|
||||||
{
|
|
||||||
toproundscore = players[i].roundscore;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (players[i].bumpers <= 0) // if you don't have any bumpers, you're probably not a winner
|
if (players[i].bumpers <= 0) // if you don't have any bumpers, you're probably not a winner
|
||||||
{
|
{
|
||||||
nobumpers++;
|
nobumpers++;
|
||||||
|
|
@ -137,10 +131,6 @@ void K_CheckBumpers(void)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
g_hiscore = toproundscore;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (numingame <= 1)
|
if (numingame <= 1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4983,8 +4983,6 @@ static void P_NetArchiveMisc(savebuffer_t *save, boolean resending)
|
||||||
WRITESINT8(save->p, speedscramble);
|
WRITESINT8(save->p, speedscramble);
|
||||||
WRITESINT8(save->p, encorescramble);
|
WRITESINT8(save->p, encorescramble);
|
||||||
|
|
||||||
WRITEUINT32(save->p, g_hiscore);
|
|
||||||
|
|
||||||
// battleovertime_t
|
// battleovertime_t
|
||||||
WRITEUINT16(save->p, battleovertime.enabled);
|
WRITEUINT16(save->p, battleovertime.enabled);
|
||||||
WRITEFIXED(save->p, battleovertime.radius);
|
WRITEFIXED(save->p, battleovertime.radius);
|
||||||
|
|
@ -5154,8 +5152,6 @@ static inline boolean P_NetUnArchiveMisc(savebuffer_t *save, boolean reloading)
|
||||||
speedscramble = READSINT8(save->p);
|
speedscramble = READSINT8(save->p);
|
||||||
encorescramble = READSINT8(save->p);
|
encorescramble = READSINT8(save->p);
|
||||||
|
|
||||||
g_hiscore = READUINT32(save->p);
|
|
||||||
|
|
||||||
// battleovertime_t
|
// battleovertime_t
|
||||||
battleovertime.enabled = READUINT16(save->p);
|
battleovertime.enabled = READUINT16(save->p);
|
||||||
battleovertime.radius = READFIXED(save->p);
|
battleovertime.radius = READFIXED(save->p);
|
||||||
|
|
|
||||||
|
|
@ -7109,8 +7109,6 @@ static void P_InitLevelSettings(void)
|
||||||
franticitems = (boolean)cv_kartfrantic.value;
|
franticitems = (boolean)cv_kartfrantic.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_hiscore = 0;
|
|
||||||
|
|
||||||
memset(&battleovertime, 0, sizeof(struct battleovertime));
|
memset(&battleovertime, 0, sizeof(struct battleovertime));
|
||||||
speedscramble = encorescramble = -1;
|
speedscramble = encorescramble = -1;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue