9 #ifndef _MULTI_NETGAME_OPTIONS_HEADER_FILE
10 #define _MULTI_NETGAME_OPTIONS_HEADER_FILE
16 #define MAX_OBJ_UPDATE_LEVELS 4 // the # of object update levels there are
17 #define OBJ_UPDATE_LOW 0 // low object updates
18 #define OBJ_UPDATE_MEDIUM 1 // medium object updates
19 #define OBJ_UPDATE_HIGH 2 // high object updates
20 #define OBJ_UPDATE_LAN 3 // ultra-high updates - no capping at all
27 #define STD_PASSWD_LEN 16
28 #define STD_NAME_LEN 32
29 #define MULTI_OPTIONS_STRING_LEN 256
87 webapiUsername =
"admin";
88 webapiPassword =
"admin";
90 webuiRootDirectory =
"";
99 #define MLO_FLAG_ACCEPT_PIX (1<<0) // accept pix from server (pilot pics, squadron logos, etc)
100 #define MLO_FLAG_NO_VOICE (1<<1) // turn off voice altogether
101 #define MLO_FLAG_LOCAL_BROADCAST (1<<2) // broadcast on the local subnet when looking for games
102 #define MLO_FLAG_FLUSH_CACHE (1<<3) // flush the multidata cache before every game
103 #define MLO_FLAG_XFER_MULTIDATA (1<<4) // xfer mission files to the multidata cache directory
104 #define MLO_FLAG_TEMP_CLOSED (1<<5) // send to standalone to tell him to toggle the temp closed status
113 #define MSO_SQUAD_RANK 0 // only highest ranking players can message
114 #define MSO_SQUAD_LEADER 1 // only wingleaders can message
115 #define MSO_SQUAD_ANY 2 // anyone can message
116 #define MSO_SQUAD_HOST 3 // only the host can message
118 #define MSO_END_RANK 0 // only the highest ranking players and the host can end the mission
119 #define MSO_END_LEADER 1 // only team/wing leaders and the host can end the mission
120 #define MSO_END_ANY 2 // any player can end the mission
121 #define MSO_END_HOST 3 // only the host can end the mission
123 #define MSO_FLAG_INGAME_XFER (1<<0) // netgame allows file xfers to ingame joiners
124 #define MSO_FLAG_ACCEPT_PIX (1<<1) // netgame allows pilot pix, squad logos
125 #define MSO_FLAG_NO_VOICE (1<<2) // netgame is disallowing voice altogether
126 #define MSO_FLAG_SS_LEADERS (1<<3) // in ship/weapon select, only host or team captains can modify ships
char pxo_banner_url[MULTI_OPTIONS_STRING_LEN]
char tracker_port[STD_NAME_LEN]
void multi_options_update_local()
void multi_options_update_start_game(netgame_info *ng)
char pxo_verify_url[MULTI_OPTIONS_STRING_LEN]
std::basic_string< char, std::char_traits< char >, std::allocator< char > > SCP_string
char std_pxo_password[MULTI_OPTIONS_STRING_LEN]
multi_global_options Multi_options_g
struct multi_local_options multi_local_options
SCP_string webapiPassword
#define DEFAULT_GAME_PORT
char game_tracker_ip[MULTI_OPTIONS_STRING_LEN]
SCP_string webapiUsername
void multi_options_process_packet(unsigned char *data, header *hinfo)
#define MULTI_OPTIONS_STRING_LEN
void multi_options_update_netgame()
void multi_options_netgame_load(multi_server_options *options)
char pxo_create_url[MULTI_OPTIONS_STRING_LEN]
struct multi_global_options multi_global_options
void multi_options_set_netgame_defaults(multi_server_options *options)
char user_tracker_ip[MULTI_OPTIONS_STRING_LEN]
void multi_options_read_config()
void multi_options_set_local_defaults(multi_local_options *options)
char std_pname[STD_NAME_LEN+1]
GLenum GLsizei GLenum GLenum const GLvoid * data
char pxo_rank_url[MULTI_OPTIONS_STRING_LEN]
char pxo_ip[MULTI_OPTIONS_STRING_LEN]
void multi_options_local_load(multi_local_options *options, net_player *pxo_pl)
struct multi_server_options multi_server_options
char std_pxo_login[MULTI_OPTIONS_STRING_LEN]
void multi_options_update_mission(netgame_info *ng, int campaign_mode)
SCP_string webuiRootDirectory
char std_passwd[STD_PASSWD_LEN+1]