2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/Stats/Stats.h $
15 * module for running the stats screen
18 * Revision 1.2 2002/06/09 04:41:15 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 10:54a Dave
28 * 1 10/07/98 10:51a Dave
30 * 13 5/18/98 5:25p Chad
31 * Removed old-ass stats display code.
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.
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
43 * 10 10/23/97 7:44p Hoffoss
44 * Added 2 defines to replace hard-coded values in the code.
46 * 9 10/08/97 4:47p Dave
47 * Fixed bugs turned up in testing. Added some brief comments.
49 * 8 9/30/97 8:48p Lawrance
50 * generalize some functions for displaying stats info
52 * 7 9/09/97 4:31p Dave
53 * Put in multiplayer post-game stats stuff.
55 * 6 8/15/97 2:20p Allender
56 * fix stats code to properly get connected players
58 * 5 8/15/97 9:28a Dave
59 * Fixed minor bug in multiplayer stats init.
61 * 4 8/14/97 5:20p Dave
62 * Made initialization/clearing of players stats more thorough.
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)
68 * 2 7/24/97 2:31p Dave
69 * Added basic screen, no interaction yet.
71 * 1 7/24/97 1:50p Dave
76 #ifndef _FS_STATISTICS_STATE_HEADER
77 #define _FS_STATISTICS_STATE_HEADER
79 #define MISSION_STATS 0
80 #define ALL_TIME_STATS 1
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
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);