FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
21
extern
int
Player_select_very_first_pilot
;
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
29
int
player_select_get_last_pilot
();
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
39
extern
int
Player_select_screen_active
;
40
41
// check the pilots language
42
bool
valid_pilot_lang
(
char
*callsign);
43
44
#endif
Player_select_screen_active
int Player_select_screen_active
Definition:
playermenu.cpp:164
player_select_get_last_pilot
int player_select_get_last_pilot()
Definition:
playermenu.cpp:841
player_select_do
void player_select_do()
Definition:
playermenu.cpp:347
player_tips_close
void player_tips_close()
Definition:
playermenu.cpp:1320
valid_pilot_lang
bool valid_pilot_lang(char *callsign)
Definition:
playermenu.cpp:212
player_select_close
void player_select_close()
Definition:
playermenu.cpp:448
player_tips_init
void player_tips_init()
Definition:
playermenu.cpp:1294
Player_select_very_first_pilot
int Player_select_very_first_pilot
Definition:
playermenu.cpp:143
player_tips_popup
void player_tips_popup()
Definition:
playermenu.cpp:1332
player_select_init
void player_select_init()
Definition:
playermenu.cpp:243
code
menuui
playermenu.h
Generated on Sun May 1 2016 16:22:47 for FS2_Open by
1.8.10