mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
appease linker wrt internal functions
This commit is contained in:
parent
8c28b094a1
commit
95598dad55
1 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ void K_InitDirector(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fixed_t K_GetFinishGap(INT32 leader, INT32 follower)
|
static fixed_t K_GetFinishGap(INT32 leader, INT32 follower)
|
||||||
{
|
{
|
||||||
fixed_t dista = players[follower].distancetofinish;
|
fixed_t dista = players[follower].distancetofinish;
|
||||||
fixed_t distb = players[leader].distancetofinish;
|
fixed_t distb = players[leader].distancetofinish;
|
||||||
|
|
@ -104,7 +104,7 @@ void K_UpdateDirectorPositions(void)
|
||||||
directorinfo.maxdist = P_ScaleFromMap(players[directorinfo.sortedplayers[0]].distancetofinish, FRACUNIT);
|
directorinfo.maxdist = P_ScaleFromMap(players[directorinfo.sortedplayers[0]].distancetofinish, FRACUNIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean K_CanSwitchDirector(void)
|
static boolean K_CanSwitchDirector(void)
|
||||||
{
|
{
|
||||||
INT32 *displayplayerp = &displayplayers[0];
|
INT32 *displayplayerp = &displayplayers[0];
|
||||||
|
|
||||||
|
|
@ -121,7 +121,7 @@ boolean K_CanSwitchDirector(void)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void K_DirectorSwitch(INT32 player, boolean force)
|
static void K_DirectorSwitch(INT32 player, boolean force)
|
||||||
{
|
{
|
||||||
if (P_IsDisplayPlayer(&players[player]))
|
if (P_IsDisplayPlayer(&players[player]))
|
||||||
{
|
{
|
||||||
|
|
@ -142,7 +142,7 @@ void K_DirectorSwitch(INT32 player, boolean force)
|
||||||
directorinfo.cooldown = SWITCHTIME;
|
directorinfo.cooldown = SWITCHTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
void K_DirectorForceSwitch(INT32 player, INT32 time)
|
static void K_DirectorForceSwitch(INT32 player, INT32 time)
|
||||||
{
|
{
|
||||||
if (players[player].exiting)
|
if (players[player].exiting)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue