| FS2_Open
    Open source remastering of the Freespace 2 engine | 
#include <limits.h>#include <ctype.h>#include "cfile/cfile.h"#include "cmdline/cmdline.h"#include "debugconsole/console.h"#include "freespace2/freespace.h"#include "gamesequence/gamesequence.h"#include "gamesnd/gamesnd.h"#include "globalincs/alphacolors.h"#include "io/key.h"#include "localization/localize.h"#include "menuui/mainhallmenu.h"#include "menuui/playermenu.h"#include "mission/missioncampaign.h"#include "network/multi.h"#include "osapi/osregistry.h"#include "parse/parselo.h"#include "pilotfile/pilotfile.h"#include "playerman/managepilot.h"#include "playerman/player.h"#include "popup/popup.h"#include "ui/ui.h"Go to the source code of this file.
| Classes | |
| struct | barracks_buttons | 
| Macros | |
| #define | NUM_PLAYER_SELECT_BUTTONS 8 | 
| #define | CREATE_PILOT_BUTTON 0 | 
| #define | CLONE_BUTTON 1 | 
| #define | DELETE_BUTTON 2 | 
| #define | SCROLL_LIST_UP_BUTTON 3 | 
| #define | SCROLL_LIST_DOWN_BUTTON 4 | 
| #define | ACCEPT_BUTTON 5 | 
| #define | SINGLE_BUTTON 6 | 
| #define | MULTI_BUTTON 7 | 
| #define | PLAYER_SELECT_MAIN_HALL_OVERLAY NOX("MainHall1") | 
| #define | PLAYER_SELECT_NUM_TEXT 1 | 
| #define | MAX_PLAYER_TIPS 40 | 
| #define ACCEPT_BUTTON 5 | 
Definition at line 51 of file playermenu.cpp.
| #define CLONE_BUTTON 1 | 
Definition at line 47 of file playermenu.cpp.
| #define CREATE_PILOT_BUTTON 0 | 
Definition at line 46 of file playermenu.cpp.
| #define DELETE_BUTTON 2 | 
Definition at line 48 of file playermenu.cpp.
| #define MAX_PLAYER_TIPS 40 | 
Definition at line 1287 of file playermenu.cpp.
| #define MULTI_BUTTON 7 | 
Definition at line 53 of file playermenu.cpp.
| #define NUM_PLAYER_SELECT_BUTTONS 8 | 
Definition at line 44 of file playermenu.cpp.
| #define PLAYER_SELECT_MAIN_HALL_OVERLAY NOX("MainHall1") | 
Definition at line 75 of file playermenu.cpp.
| #define PLAYER_SELECT_NUM_TEXT 1 | 
Definition at line 121 of file playermenu.cpp.
| #define SCROLL_LIST_DOWN_BUTTON 4 | 
Definition at line 50 of file playermenu.cpp.
| #define SCROLL_LIST_UP_BUTTON 3 | 
Definition at line 49 of file playermenu.cpp.
| #define SINGLE_BUTTON 6 | 
Definition at line 52 of file playermenu.cpp.
| dc_printf | ( | "Player is now on the Bastion... hopefully\n" | ) | 
| int delete_pilot_file | ( | char * | pilot_name | ) | 
Definition at line 54 of file managepilot.cpp.
| if | ( | gameseq_get_state()! | = GS_STATE_INITIAL_PLAYER_SELECT | ) | 
Definition at line 1254 of file playermenu.cpp.
| if | ( | dc_optional_string_either("help","--help") | ) | 
Definition at line 1259 of file playermenu.cpp.
| if | ( | dc_optional_string_either("status","--status")||dc_optional_string_either("?","--?") | ) | 
Definition at line 1265 of file playermenu.cpp.
| if | ( | dc_maybe_stuff_int & | idx | ) | 
Definition at line 1270 of file playermenu.cpp.
Definition at line 542 of file playermenu.cpp.
| void player_select_cancel_create | ( | ) | 
Definition at line 1218 of file playermenu.cpp.
| void player_select_close | ( | ) | 
Definition at line 448 of file playermenu.cpp.
| void player_select_commit | ( | ) | 
Definition at line 1206 of file playermenu.cpp.
| int player_select_create_new_pilot | ( | ) | 
Definition at line 705 of file playermenu.cpp.
| void player_select_delete_pilot | ( | ) | 
Definition at line 748 of file playermenu.cpp.
| void player_select_display_all_text | ( | ) | 
Definition at line 1144 of file playermenu.cpp.
| void player_select_display_copyright | ( | ) | 
Definition at line 1120 of file playermenu.cpp.
| void player_select_do | ( | ) | 
Definition at line 347 of file playermenu.cpp.
| void player_select_draw_list | ( | ) | 
Definition at line 927 of file playermenu.cpp.
| void player_select_eval_very_first_pilot | ( | ) | 
Definition at line 1186 of file playermenu.cpp.
| int player_select_get_last_pilot | ( | ) | 
Definition at line 841 of file playermenu.cpp.
| int player_select_get_last_pilot_info | ( | ) | 
Definition at line 815 of file playermenu.cpp.
| void player_select_init | ( | ) | 
Definition at line 243 of file playermenu.cpp.
Definition at line 881 of file playermenu.cpp.
| int player_select_pilot_file_filter | ( | const char * | filename | ) | 
Definition at line 1167 of file playermenu.cpp.
Definition at line 1009 of file playermenu.cpp.
Definition at line 955 of file playermenu.cpp.
| void player_select_scroll_list_down | ( | ) | 
Definition at line 799 of file playermenu.cpp.
| void player_select_scroll_list_up | ( | ) | 
Definition at line 779 of file playermenu.cpp.
| void player_select_set_bottom_text | ( | const char * | txt | ) | 
Definition at line 1172 of file playermenu.cpp.
Definition at line 229 of file playermenu.cpp.
Definition at line 517 of file playermenu.cpp.
| void player_select_set_middle_text | ( | const char * | txt | ) | 
Definition at line 1179 of file playermenu.cpp.
| void player_tips_close | ( | ) | 
Definition at line 1320 of file playermenu.cpp.
| void player_tips_init | ( | ) | 
Definition at line 1294 of file playermenu.cpp.
| void player_tips_popup | ( | ) | 
Definition at line 1332 of file playermenu.cpp.
| bool valid_pilot_lang | ( | char * | callsign | ) | 
Definition at line 212 of file playermenu.cpp.
| int Choose_list_coords[GR_NUM_RESOLUTIONS][4] | 
Definition at line 56 of file playermenu.cpp.
| else | 
Definition at line 1280 of file playermenu.cpp.
| int Main_hall_bitmap | 
Definition at line 81 of file mainhallmenu.cpp.
| int Max_lines | 
Definition at line 41 of file playermenu.cpp.
| int Num_player_tips | 
Definition at line 1290 of file playermenu.cpp.
| char* Pilots[MAX_PILOTS] | 
Definition at line 155 of file playermenu.cpp.
| char Pilots_arr[MAX_PILOTS][MAX_FILENAME_LEN] | 
Definition at line 154 of file playermenu.cpp.
| int Player_select_autoaccept = 0 | 
Definition at line 138 of file playermenu.cpp.
| int Player_select_background_bitmap | 
Definition at line 136 of file playermenu.cpp.
| char* Player_select_background_bitmap_name[GR_NUM_RESOLUTIONS] | 
Definition at line 65 of file playermenu.cpp.
| char* Player_select_background_mask_bitmap[GR_NUM_RESOLUTIONS] | 
Definition at line 69 of file playermenu.cpp.
| char Player_select_bottom_text[150] = "" | 
Definition at line 178 of file playermenu.cpp.
| int Player_select_clone_flag | 
Definition at line 156 of file playermenu.cpp.
| SCP_string Player_select_force_main_hall = "" | 
Definition at line 160 of file playermenu.cpp.
| int Player_select_initial_count = 0 | 
Definition at line 144 of file playermenu.cpp.
| UI_INPUTBOX Player_select_input_box | 
Definition at line 133 of file playermenu.cpp.
| int Player_select_input_mode | 
Definition at line 153 of file playermenu.cpp.
| int Player_select_last_is_multi | 
Definition at line 158 of file playermenu.cpp.
| char Player_select_last_pilot[CALLSIGN_LEN+10] | 
Definition at line 157 of file playermenu.cpp.
| UI_BUTTON Player_select_list_region | 
Definition at line 132 of file playermenu.cpp.
| int Player_select_list_start | 
Definition at line 151 of file playermenu.cpp.
| char Player_select_middle_text[150] = "" | 
Definition at line 179 of file playermenu.cpp.
| int Player_select_mode | 
Definition at line 149 of file playermenu.cpp.
| int Player_select_num_pilots | 
Definition at line 150 of file playermenu.cpp.
| int Player_select_pilot | 
Definition at line 152 of file playermenu.cpp.
| int Player_select_screen_active = 0 | 
Definition at line 164 of file playermenu.cpp.
| UI_XSTR Player_select_text[GR_NUM_RESOLUTIONS][PLAYER_SELECT_NUM_TEXT] | 
Definition at line 122 of file playermenu.cpp.
| int Player_select_very_first_pilot = 0 | 
Definition at line 143 of file playermenu.cpp.
| char Player_select_very_first_pilot_callsign[CALLSIGN_LEN+2] | 
Definition at line 145 of file playermenu.cpp.
| UI_WINDOW Player_select_window | 
Definition at line 131 of file playermenu.cpp.
| char* Player_tips[MAX_PLAYER_TIPS] | 
Definition at line 1289 of file playermenu.cpp.
| int Player_tips_shown = 0 | 
Definition at line 1291 of file playermenu.cpp.