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