]> icculus.org git repositories - taylor/freespace2.git/blob - include/stats.h
Initial revision
[taylor/freespace2.git] / include / stats.h
1 /*
2  * $Logfile: /Freespace2/code/Stats/Stats.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * module for running the stats screen
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:54a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:51a Dave
18  * 
19  * 13    5/18/98 5:25p Chad
20  * Removed old-ass stats display code.
21  * 
22  * 12    1/06/98 5:08p Dave
23  * Put in stats display change to show alltime+mission stats during
24  * debriefing. Fixed a object update sequencing bug.
25  * 
26  * 11    10/24/97 6:19p Dave
27  * More standalone testing/fixing. Added reliable endgame sequencing.
28  * Added reliable ingame joining. Added reliable stats transfer (endgame).
29  * Added support for dropping players in debriefing. Removed a lot of old
30  * unused code.
31  * 
32  * 10    10/23/97 7:44p Hoffoss
33  * Added 2 defines to replace hard-coded values in the code.
34  * 
35  * 9     10/08/97 4:47p Dave
36  * Fixed bugs turned up in testing. Added some brief comments.
37  * 
38  * 8     9/30/97 8:48p Lawrance
39  * generalize some functions for displaying stats info
40  * 
41  * 7     9/09/97 4:31p Dave
42  * Put in multiplayer post-game stats stuff.
43  * 
44  * 6     8/15/97 2:20p Allender
45  * fix stats code to properly get connected players
46  * 
47  * 5     8/15/97 9:28a Dave
48  * Fixed minor bug in multiplayer stats init.
49  * 
50  * 4     8/14/97 5:20p Dave
51  * Made initialization/clearing of players stats more thorough.
52  * 
53  * 3     7/25/97 4:33p Dave
54  * Spiffed up statistics screen considerably. Currently reports all
55  * statistics in the game (except mission/campaign related scores)
56  * 
57  * 2     7/24/97 2:31p Dave
58  * Added basic screen, no interaction yet.
59  * 
60  * 1     7/24/97 1:50p Dave
61  * 
62  * $NoKeywords: $
63  */
64
65 #ifndef _FS_STATISTICS_STATE_HEADER
66 #define _FS_STATISTICS_STATE_HEADER
67
68 #define MISSION_STATS   0
69 #define ALL_TIME_STATS  1
70
71 #include "scoring.h"
72
73 void show_stats_init();
74 void show_stats_close();
75 void set_player_stats(int pid);
76 void init_multiplayer_stats( void );  // initializes all mission specific stats to be 0
77
78 void show_stats_numbers(int stage, int sx, int sy, int dy=10,int add_mission = 0);
79 void show_stats_label(int stage, int sx, int sy, int dy=10);
80
81 #endif
82