FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <pilotfile.h>
Public Member Functions | |
pilotfile () | |
~pilotfile () | |
bool | load_player (const char *callsign, player *_p=NULL) |
bool | load_savefile (const char *campaign) |
bool | save_player (player *_p=NULL) |
bool | save_savefile () |
void | update_stats (scoring_struct *stats, bool training=false) |
void | update_stats_backout (scoring_struct *stats, bool training=false) |
void | reset_stats () |
bool | verify (const char *fname, int *rank=NULL, char *valid_language=NULL) |
bool | is_invalid () |
Definition at line 33 of file pilotfile.h.
pilotfile::pilotfile | ( | ) |
Definition at line 10 of file pilotfile.cpp.
pilotfile::~pilotfile | ( | ) |
Definition at line 23 of file pilotfile.cpp.
|
inline |
Definition at line 53 of file pilotfile.h.
bool pilotfile::load_player | ( | const char * | callsign, |
player * | _p = NULL |
||
) |
void pilotfile::reset_stats | ( | ) |
Reset stats stored in the .plr file; all_time_stats & multi_stats
Definition at line 302 of file pilotfile.cpp.
void pilotfile::update_stats | ( | scoring_struct * | stats, |
bool | training = false |
||
) |
Definition at line 66 of file pilotfile.cpp.
void pilotfile::update_stats_backout | ( | scoring_struct * | stats, |
bool | training = false |
||
) |
Definition at line 185 of file pilotfile.cpp.
bool pilotfile::verify | ( | const char * | fname, |
int * | rank = NULL , |
||
char * | valid_language = NULL |
||
) |