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