FS2_Open
Open source remastering of the Freespace 2 engine
playermenu.h
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef _PLAYER_SELECT_MENU_HEADER_FILE
13 #define _PLAYER_SELECT_MENU_HEADER_FILE
14 
15 // general defines
16 #define PLAYER_SELECT_MODE_SINGLE 0 // looking through single player pilots
17 #define PLAYER_SELECT_MODE_MULTI 1 // looking through multi player pilots
18 
19 // flag indicating if this is the absolute first pilot created and selected. Used to determine
20 // if the main hall should display the help overlay screen
22 
23 // functions for selecting single/multiplayer pilots at the very beginning of FreeSpace
24 void player_select_init();
25 void player_select_do();
26 void player_select_close();
27 
28 // function to check whether we found a "last pilot". loads this pilot in if possible and returns true, or false otherwise
30 
31 // tooltips
32 void player_tips_init();
33 void player_tips_close();
34 void player_tips_popup();
35 void player_tips_close();
36 
37 // quick check to make sure we always load default campaign savefile values when loading from the pilot
38 // select screen but let us not overwrite current values with defaults when we aren't - taylor
40 
41 // check the pilots language
42 bool valid_pilot_lang(char *callsign);
43 
44 #endif
int Player_select_screen_active
Definition: playermenu.cpp:164
int player_select_get_last_pilot()
Definition: playermenu.cpp:841
void player_select_do()
Definition: playermenu.cpp:347
void player_tips_close()
bool valid_pilot_lang(char *callsign)
Definition: playermenu.cpp:212
void player_select_close()
Definition: playermenu.cpp:448
void player_tips_init()
int Player_select_very_first_pilot
Definition: playermenu.cpp:143
void player_tips_popup()
void player_select_init()
Definition: playermenu.cpp:243