|
UFO: Alien Invasion
|
Serverlist menu callbacks headers for multiplayer. More...

Go to the source code of this file.
Data Structures | |
| struct | teamData_t |
Macros | |
| #define | MAX_MESSAGE_TEXT 256 |
Functions | |
| void | GAME_MP_CallbacksInit (const struct cgame_import_s *import) |
| void | GAME_MP_CallbacksShutdown (void) |
| bool | GAME_MP_Rcon (const char *password, const char *command) |
| Sends an rcon command to the gameserver that the user is currently connected to, or if this is not the case, the gameserver that is specified in the cvar rcon_address. | |
Variables | |
| teamData_t | teamData |
| cvar_t * | rcon_client_password |
| cvar_t * | cl_maxsoldiersperteam |
| cvar_t * | cl_maxsoldiersperplayer |
| cvar_t * | cl_roundtimelimit |
Serverlist menu callbacks headers for multiplayer.
Definition in file mp_callbacks.h.
| #define MAX_MESSAGE_TEXT 256 |
Definition at line 28 of file mp_callbacks.h.
Definition at line 318 of file mp_callbacks.cpp.
References cgi, and mpCallbacks.
Referenced by GAME_MP_Shutdown().
| bool GAME_MP_Rcon | ( | const char * | password, |
| const char * | command ) |
Sends an rcon command to the gameserver that the user is currently connected to, or if this is not the case, the gameserver that is specified in the cvar rcon_address.
true if the command was send, false otherwise. Definition at line 112 of file mp_callbacks.cpp.
References ca_connected, cgi, DOUBLEQUOTE, GAME_MP_RconCallback(), password, port, PORT_SERVER, Q_strnull(), rcon_address, and SV_CMD_RCON.
Referenced by GAME_MP_Rcon_f().
|
extern |
Definition at line 37 of file mp_callbacks.cpp.
Referenced by GAME_MP_CallbacksInit(), GAME_MP_RunFrame(), and GAME_MP_StartServer_f().
|
extern |
Definition at line 36 of file mp_callbacks.cpp.
Referenced by GAME_MP_CallbacksInit(), GAME_MP_RunFrame(), and GAME_MP_StartServer_f().
|
extern |
Definition at line 38 of file mp_callbacks.cpp.
Referenced by GAME_MP_CallbacksInit(), and GAME_MP_RunFrame().
|
extern |
Definition at line 35 of file mp_callbacks.cpp.
Referenced by GAME_MP_CallbacksInit(), GAME_MP_Rcon_f(), GAME_MP_RunFrame(), and GAME_MP_StartBattlescape().
|
extern |
Definition at line 34 of file mp_callbacks.cpp.
Referenced by GAME_MP_ParseTeamInfoMessage(), GAME_MP_SetTeamNum(), GAME_MP_Shutdown(), and GAME_MP_TeamNum_f().