Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions | Variables
scoreboard.cpp File Reference
#include <limits.h>
#include <string.h>
#include <algorithm>
#include <enet/enet.h>
#include "inexor/client/gamemode/gamemode_client.hpp"
#include "inexor/client/network.hpp"
#include "inexor/fpsgame/client.hpp"
#include "inexor/fpsgame/fps.hpp"
#include "inexor/fpsgame/fpsent.hpp"
#include "inexor/fpsgame/render.hpp"
#include "inexor/fpsgame/scoreboard.hpp"
#include "inexor/fpsgame/teaminfo.hpp"
#include "inexor/gamemode/gamemode.hpp"
#include "inexor/network/SharedVar.hpp"
#include "inexor/network/legacy/administration.hpp"
#include "inexor/shared/command.hpp"
#include "inexor/shared/cube_hash.hpp"
#include "inexor/shared/cube_loops.hpp"
#include "inexor/shared/cube_tools.hpp"
#include "inexor/shared/cube_types.hpp"
#include "inexor/shared/cube_vector.hpp"
#include "inexor/shared/ents.hpp"
#include "inexor/shared/geom.hpp"
#include "inexor/shared/tools.hpp"
#include "inexor/ui/legacy/3dgui.hpp"
#include "inexor/ui/legacy/menus.hpp"
#include "inexor/util/legacy_time.hpp"

Classes

struct  game::scoreboardgui
 

Namespaces

 game
 implementation of basic game functionsand cubescript bindings
 

Macros

#define loopscoregroup(o, b)
 

Functions

 game::VARP (scoreboard2d, 0, 1, 1)
 
 game::VARP (showservinfo, 0, 1, 1)
 
 game::VARP (showclientnum, 0, 0, 1)
 
 game::VARP (showpj, 0, 0, 1)
 
 game::VARP (showping, 0, 1, 1)
 
 game::VARP (showspectators, 0, 1, 1)
 
 game::VARP (showflags, 0, 0, 1)
 
 game::VARP (showfrags, 0, 1, 1)
 
 game::VARP (showaccuracy, 0, 1, 1)
 
 game::VARP (highlightscore, 0, 1, 1)
 
 game::VARP (showconnecting, 0, 0, 1)
 
void game::clearteaminfo ()
 
void game::setteaminfo (const char *team, int frags)
 
static bool game::playersort (const fpsent *a, const fpsent *b)
 
void game::getbestplayers (vector< fpsent * > &best)
 
void game::getbestteams (vector< const char * > &best)
 
static bool game::scoregroupcmp (const scoregroup *x, const scoregroup *y)
 
static int game::groupplayers ()
 
void game::renderscoreboard (g3d_gui &g, bool firstpass)
 
void game::g3d_gamemenus ()
 
 game::VARFN (scoreboard, showscoreboard, 0, 0, 1, scoreboard.show(showscoreboard!=0))
 
void game::showscores (bool on)
 
 game::ICOMMAND (showscores,"D",(int *down), showscores(*down!=0))
 

Variables

static hashset< teaminfogame::teaminfos
 
static vector< scoregroup * > game::groups
 
static vector< fpsent * > game::spectators
 
game::scoreboardgui game::scoreboard
 

Macro Definition Documentation

#define loopscoregroup (   o,
 
)
Value:
loopv(sg.players) \
{ \
fpsent *o = sg.players[i]; \
b; \
}
#define loopv(v)
Definition: cube_loops.hpp:21

Referenced by game::renderscoreboard().