case "scoreboard_columns_set":
{
- Cmd_HUD_SetFields(argc);
+ Cmd_Scoreboard_SetFields(argc);
return;
}
case "scoreboard_columns_help":
{
- Cmd_HUD_Help();
+ Cmd_Scoreboard_Help();
return;
}
#pragma once
-void Cmd_HUD_SetFields(int);
-void Cmd_HUD_Help();
+void Cmd_Scoreboard_SetFields(int);
+void Cmd_Scoreboard_Help();
// used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
void LocalCommand_macro_write_aliases(int fh);
// Score (#7)
-void HUD_UpdatePlayerTeams();
+void Scoreboard_UpdatePlayerTeams();
void HUD_Score_Rankings(vector pos, vector mySize, entity me)
{
float score;
return;
}
- if (!scoreboard_fade_alpha) // the scoreboard too calls HUD_UpdatePlayerTeams
- HUD_UpdatePlayerTeams();
+ if (!scoreboard_fade_alpha) // the scoreboard too calls Scoreboard_UpdatePlayerTeams
+ Scoreboard_UpdatePlayerTeams();
if (team_count)
{
// show team scores in the first line
if(ts_secondary == -1)
ts_secondary = ts_primary;
- Cmd_HUD_SetFields(0);
+ Cmd_Scoreboard_SetFields(0);
}
float SetTeam(entity pl, float Team);
//float lastpnum;
-void HUD_UpdatePlayerTeams()
+void Scoreboard_UpdatePlayerTeams()
{
float Team;
entity pl, tmp;
}
}
-void Cmd_HUD_Help()
+void Cmd_Scoreboard_Help()
{
LOG_INFO(_("You can modify the scoreboard using the ^2scoreboard_columns_set command.\n"));
LOG_INFO(_("^3|---------------------------------------------------------------|\n"));
" +ka/pickups +ka/bckills +ka/bctime +ft/revivals" \
" -lms,rc,cts,inv,nb/score"
-void Cmd_HUD_SetFields(int argc)
+void Cmd_Scoreboard_SetFields(int argc)
{
TC(int, argc);
int i, j, slash;
if(!autocvar__hud_configure)
panel_pos.y = max((autocvar_con_notify * autocvar_con_notifysize), panel_pos.y);
- HUD_UpdatePlayerTeams();
+ Scoreboard_UpdatePlayerTeams();
vector pos, tmp;
entity pl, tm;
float scoreboard_active;
float scoreboard_fade_alpha;
-void Cmd_HUD_SetFields(float argc);
+void Cmd_Scoreboard_SetFields(float argc);
void HUD_DrawScoreboard();
void HUD_InitScores();
void HUD_UpdatePlayerPos(entity pl);
for(int i = 0; i < MAX_SBT_FIELDS; ++i)
sbt_field_title[i] = strzone("(null)");
- Cmd_HUD_SetFields(0);
+ Cmd_Scoreboard_SetFields(0);
postinit = false;
e.ping_movementloss = 0;
//e.gotscores = 0; // we might already have the scores...
int t = entcs_GetScoreTeam(i);
- if (t) SetTeam(e, t); // will not hurt; later updates come with HUD_UpdatePlayerTeams
+ if (t) SetTeam(e, t); // will not hurt; later updates come with Scoreboard_UpdatePlayerTeams
RegisterPlayer(e);
HUD_UpdatePlayerPos(e);
}