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