]> icculus.org git repositories - taylor/freespace2.git/blob - include/missiondebrief.h
proper padding of PXO stats struct for FS2 demo
[taylor/freespace2.git] / include / missiondebrief.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/MissionUI/MissionDebrief.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Header file for running the debriefing
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:13  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  * 3     12/17/98 4:50p Andsager
26  * Added debrief_assemble_optional_mission_popup_text() for single and
27  * multiplayer
28  * 
29  * 2     10/07/98 10:53a Dave
30  * Initial checkin.
31  * 
32  * 1     10/07/98 10:49a Dave
33  * 
34  * 7     5/13/98 5:14p Allender
35  * red alert support to go back to previous mission
36  * 
37  * 6     4/27/98 9:08p Allender
38  * fix the debriefing stage problems when clients get to screen long after
39  * server
40  * 
41  * 5     4/25/98 11:24a Allender
42  * finsihed multiplayer debriefing stuff.  Work on object updates.
43  * External view shoudl work in multiplayer correctly
44  * 
45  * 4     4/09/98 4:32p Hoffoss
46  * Fixed several bugs in debriefing.
47  * 
48  * 3     12/30/97 6:42p Hoffoss
49  * New debriefing screen implemented.
50  * 
51  * 2     10/24/97 6:19p Dave
52  * More standalone testing/fixing. Added reliable endgame sequencing.
53  * Added reliable ingame joining. Added reliable stats transfer (endgame).
54  * Added support for dropping players in debriefing. Removed a lot of old
55  * unused code.
56  * 
57  * 1     9/30/97 10:16a Lawrance
58  * move files from Mission lib to MissionUI lib
59  * 
60  * 3     8/31/97 6:38p Lawrance
61  * pass in frametime to do_frame loop
62  * 
63  * 2     6/13/97 2:30p Lawrance
64  * Added debriefings
65  * 
66  * 1     6/13/97 10:42a Lawrance
67  *
68  * $NoKeywords: $
69  */
70
71 #ifndef __MISSIONDEBRIEF_H__
72 #define __MISSIONDEBRIEF_H__
73
74 extern int Debrief_multi_stages_loaded;
75
76 void debrief_init();
77 void debrief_do_frame(float frametime);
78 void debrief_close();
79
80 // useful so that the server can reset the list and ship slots if a player drops
81 void debrief_rebuild_player_list();
82 void debrief_handle_player_drop();
83
84 void debrief_disable_accept();
85 void debrief_assemble_optional_mission_popup_text(char *buffer, const int buf_len, char *mission_loop_desc);
86
87
88 // multiplayer call to set up the client side debriefings
89 void debrief_multi_server_stuff();
90 void debrief_set_multi_clients( int stage_count, int active_stages[] );
91
92 #endif /* __MISSIONDEBRIEF_H__ */
93