slight cleanup director
This commit is contained in:
1 parent
10a306110b
commit
213b3124fa
4 files changed
+2
-6
No files matched your search
@@ -435,8 +435,6 @@ FUNCMATH INT32 G_TicsToSeconds(tic_t tics);
|
||||
FUNCMATH INT32 G_TicsToCentiseconds(tic_t tics);
|
||||
FUNCMATH INT32 G_TicsToMilliseconds(tic_t tics);
|
||||
|
||||
boolean K_DirectorIsPlayerAlone(void); // idk where else to put this lol
|
||||
|
||||
// Don't split up TOL handling
|
||||
INT16 G_TOLFlag(INT32 pgametype);
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ struct directorinfo
|
||||
INT32 boredom[MAXPLAYERS]; // how long has a given position had no credible attackers?
|
||||
} directorinfo;
|
||||
|
||||
boolean K_DirectorIsPlayerAlone(void)
|
||||
static boolean K_DirectorIsPlayerAlone(void)
|
||||
{
|
||||
UINT8 pingame = 0;
|
||||
|
||||
|
||||
+1
-1
@@ -679,7 +679,7 @@ static void ST_overlayDrawer(void)
|
||||
if (!hu_showscores) // hide the following if TAB is held
|
||||
{
|
||||
// TODO: splitscreen support!
|
||||
if (cv_showdirectorhud.value && !splitscreen && !P_IsLocalPlayer(stplyr) && K_DirectorIsAvailable() && !K_DirectorIsPlayerAlone())
|
||||
if (cv_showdirectorhud.value && !splitscreen && !P_IsLocalPlayer(stplyr) && K_DirectorIsAvailable())
|
||||
{
|
||||
char directortext[20] = {0};
|
||||
|
||||
|
||||
@@ -146,6 +146,4 @@ extern UINT16 objectsdrawn;
|
||||
extern consvar_t cv_lessflicker;
|
||||
extern consvar_t cv_stagetitle;
|
||||
|
||||
extern boolean directortextactive;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user