]> icculus.org git repositories - taylor/freespace2.git/blob - include/playermenu.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / playermenu.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/MenuUI/PlayerMenu.h $
11  * $Revision$Date: 2002/06/09 04:41:14 $
12  * $Author$
13  *
14  * $Log$
15  * Revision 1.3  2003/06/11 18:30:32  taylor
16  * plug memory leaks
17  *
18  * Revision 1.2  2002/06/09 04:41:14  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     8/02/99 9:13p Dave
26  * Added popup tips.
27  * 
28  * 2     10/07/98 10:53a Dave
29  * Initial checkin.
30  * 
31  * 1     10/07/98 10:49a Dave
32  * 
33  * 12    2/12/98 4:40p Dave
34  * Seperated multiplayer kick functionality into its own module. Tweaked
35  * some main hall values. Added default help overlay when adding new
36  * pilots.
37  * 
38  * 11    1/26/98 5:23p Andsager
39  * Fixed a compile bug caused by Dave B.
40  * 
41  * 10    1/26/98 4:44p Dave
42  * Changed how multiplayer messaging, endgame, and pausing are handled.
43  * Tidied up player select dialog thingie.
44  * 
45  * 9     11/12/97 4:40p Dave
46  * Put in multiplayer campaign support parsing, loading and saving. Made
47  * command-line variables better named. Changed some things on the initial
48  * pilot select screen.
49  * 
50  * 8     11/11/97 4:57p Dave
51  * Put in support for single vs. multiplayer pilots. Began work on
52  * multiplayer campaign saving. Put in initial player select screen
53  *
54  * $NoKeywords: $
55  *
56  */
57
58 #ifndef _PLAYER_SELECT_MENU_HEADER_FILE
59 #define _PLAYER_SELECT_MENU_HEADER_FILE
60
61 // general defines
62 #define PLAYER_SELECT_MODE_SINGLE       0                                                       // looking through single player pilots
63 #define PLAYER_SELECT_MODE_MULTI    1                                                   // looking through multi player pilots
64
65 // flag indicating if this is the absolute first pilot created and selected. Used to determine
66 // if the main hall should display the help overlay screen
67 extern int Player_select_very_first_pilot;                      
68
69 // functions for selecting single/multiplayer pilots at the very beginning of Freespace
70 void player_select_init();
71 void player_select_do();
72 void player_select_close();
73
74 // function to check whether we found a "last pilot". loads this pilot in if possible and returns true, or false otherwise
75 int player_select_get_last_pilot();
76
77 // tooltips
78 void player_tips_init();
79 void player_tips_close();
80 void player_tips_popup();
81
82 #endif
83