FS2_Open
Open source remastering of the Freespace 2 engine
stats.cpp File Reference
#include "globalincs/systemvars.h"
#include "hud/hud.h"
#include "network/multi.h"
#include "playerman/player.h"
#include "stats/stats.h"

Go to the source code of this file.

Macros

#define MISSION_STATS_START_Y   80
 
#define ALLTIME_STATS_START_Y   270
 
#define MULTIPLAYER_LIST_START   20
 

Functions

void show_stats_init ()
 
void show_stats_label (int stage, int sx, int sy, int dy)
 
void stats_underline_text (int sx, int sy, char *text)
 
void show_stats_numbers (int stage, int sx, int sy, int dy, int add_mission)
 
int find_netplayer_n (int n)
 
void show_stats_close ()
 
void init_multiplayer_stats ()
 
void set_player_stats (int pid)
 

Variables

playerActive_player
 

Macro Definition Documentation

#define ALLTIME_STATS_START_Y   270

Definition at line 26 of file stats.cpp.

#define MISSION_STATS_START_Y   80

Definition at line 25 of file stats.cpp.

#define MULTIPLAYER_LIST_START   20

Definition at line 27 of file stats.cpp.

Function Documentation

int find_netplayer_n ( int  n)

Definition at line 285 of file stats.cpp.

void init_multiplayer_stats ( void  )

Definition at line 308 of file stats.cpp.

void set_player_stats ( int  pid)

Definition at line 318 of file stats.cpp.

void show_stats_close ( )

Definition at line 302 of file stats.cpp.

void show_stats_init ( )

Definition at line 32 of file stats.cpp.

void show_stats_label ( int  stage,
int  sx,
int  sy,
int  dy 
)

Definition at line 42 of file stats.cpp.

void show_stats_numbers ( int  stage,
int  sx,
int  sy,
int  dy,
int  add_mission 
)

Definition at line 131 of file stats.cpp.

void stats_underline_text ( int  sx,
int  sy,
char *  text 
)

Definition at line 122 of file stats.cpp.

Variable Documentation

player* Active_player

Definition at line 30 of file stats.cpp.