|
FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "cmdline/cmdline.h"#include "osapi/osregistry.h"#include "network/multi.h"#include "network/multimsgs.h"#include "network/multi_obj.h"#include "freespace2/freespace.h"#include "network/stand_gui.h"#include "network/multiutil.h"#include "network/multi_voice.h"#include "network/multi_options.h"#include "network/multi_team.h"#include "mission/missioncampaign.h"#include "mission/missionparse.h"#include "parse/parselo.h"#include "playerman/player.h"#include "cfile/cfile.h"#include "fs2netd/fs2netd_client.h"#include <limits.h>Go to the source code of this file.
Macros | |
| #define | MULTI_OPTION_SERVER 0 |
| #define | MULTI_OPTION_LOCAL 1 |
| #define | MULTI_OPTION_START_GAME 2 |
| #define | MULTI_OPTION_MISSION 3 |
| #define | MULTI_CFG_FILE NOX("multi.cfg") |
| #define | NEXT_TOKEN() do { tok = strtok(NULL, "\n"); if(tok != NULL){ drop_leading_white_space(tok); drop_trailing_white_space(tok); } } while(0); |
| #define | SETTING(s) ( !stricmp(tok, s) ) |
Functions | |
| void | multi_options_read_config () |
| void | multi_options_set_netgame_defaults (multi_server_options *options) |
| void | multi_options_set_local_defaults (multi_local_options *options) |
| void | multi_options_netgame_load (multi_server_options *options) |
| void | multi_options_local_load (multi_local_options *options, net_player *pxo_pl) |
| void | add_server_options (ubyte *data, int *size, multi_server_options *mso) |
| void | add_local_options (ubyte *data, int *size, multi_local_options *mlo) |
| void | get_server_options (ubyte *data, int *size, multi_server_options *mso) |
| void | get_local_options (ubyte *data, int *size, multi_local_options *mlo) |
| void | multi_options_update_netgame () |
| void | multi_options_update_local () |
| void | multi_options_update_start_game (netgame_info *ng) |
| void | multi_options_update_mission (netgame_info *ng, int campaign_mode) |
| void | multi_options_process_packet (unsigned char *data, header *hinfo) |
Variables | |
| multi_global_options | Multi_options_g |
| char | Multi_options_proxy [512] = "" |
| ushort | Multi_options_proxy_port = 0 |
| #define MULTI_CFG_FILE NOX("multi.cfg") |
Definition at line 46 of file multi_options.cpp.
| #define MULTI_OPTION_LOCAL 1 |
Definition at line 41 of file multi_options.cpp.
| #define MULTI_OPTION_MISSION 3 |
Definition at line 43 of file multi_options.cpp.
| #define MULTI_OPTION_SERVER 0 |
Definition at line 40 of file multi_options.cpp.
| #define MULTI_OPTION_START_GAME 2 |
Definition at line 42 of file multi_options.cpp.
| #define NEXT_TOKEN | ( | ) | do { tok = strtok(NULL, "\n"); if(tok != NULL){ drop_leading_white_space(tok); drop_trailing_white_space(tok); } } while(0); |
Definition at line 57 of file multi_options.cpp.
| void add_local_options | ( | ubyte * | data, |
| int * | size, | ||
| multi_local_options * | mlo | ||
| ) |
Definition at line 412 of file multi_options.cpp.
| void add_server_options | ( | ubyte * | data, |
| int * | size, | ||
| multi_server_options * | mso | ||
| ) |
Definition at line 392 of file multi_options.cpp.
| void get_local_options | ( | ubyte * | data, |
| int * | size, | ||
| multi_local_options * | mlo | ||
| ) |
Definition at line 445 of file multi_options.cpp.
| void get_server_options | ( | ubyte * | data, |
| int * | size, | ||
| multi_server_options * | mso | ||
| ) |
Definition at line 428 of file multi_options.cpp.
| void multi_options_local_load | ( | multi_local_options * | options, |
| net_player * | pxo_pl | ||
| ) |
Definition at line 379 of file multi_options.cpp.
| void multi_options_netgame_load | ( | multi_server_options * | options | ) |
Definition at line 371 of file multi_options.cpp.
Definition at line 577 of file multi_options.cpp.
| void multi_options_read_config | ( | ) |
Definition at line 59 of file multi_options.cpp.
| void multi_options_set_local_defaults | ( | multi_local_options * | options | ) |
Definition at line 356 of file multi_options.cpp.
| void multi_options_set_netgame_defaults | ( | multi_server_options * | options | ) |
Definition at line 321 of file multi_options.cpp.
| void multi_options_update_local | ( | ) |
Definition at line 482 of file multi_options.cpp.
| void multi_options_update_mission | ( | netgame_info * | ng, |
| int | campaign_mode | ||
| ) |
Definition at line 539 of file multi_options.cpp.
| void multi_options_update_netgame | ( | ) |
Definition at line 458 of file multi_options.cpp.
| void multi_options_update_start_game | ( | netgame_info * | ng | ) |
Definition at line 505 of file multi_options.cpp.
| multi_global_options Multi_options_g |
Definition at line 47 of file multi_options.cpp.
| char Multi_options_proxy[512] = "" |
Definition at line 49 of file multi_options.cpp.
| ushort Multi_options_proxy_port = 0 |
Definition at line 50 of file multi_options.cpp.