UFO: Alien Invasion
|
#include <server.h>
Data Fields | |
bool | initialized |
int | realtime |
struct datagram_socket * | netDatagramSocket |
struct client_s * | clients |
int | lastHeartbeat |
int | lastPing |
bool | abandon |
bool | killserver |
SDL_mutex * | serverMutex |
SDL_cond * | gameFrameCond |
SDL_Thread * | gameThread |
void * | gameLibrary |
game_export_t * | ge |
bool serverInstanceStatic_s::abandon |
shutdown server when all clients disconnect and don't accept new connections
Definition at line 84 of file server.h.
Referenced by SV_DropClient(), SV_Frame(), and SV_ShutdownWhenEmpty().
struct client_s* serverInstanceStatic_s::clients |
[sv_maxclients->value];
Definition at line 80 of file server.h.
Referenced by SV_GetClient(), SV_GetNextClient(), SV_InitGame(), SV_Shutdown(), and SV_Status_f().
SDL_cond* serverInstanceStatic_s::gameFrameCond |
the signal that the game frame threads waits for
Definition at line 87 of file server.h.
Referenced by SV_Frame(), SV_InitGameProgs(), SV_RunGameFrameThread(), and SV_ShutdownGameProgs().
void* serverInstanceStatic_s::gameLibrary |
Definition at line 90 of file server.h.
Referenced by SV_GetGameAPI(), SV_LoadGame(), and SV_UnloadGame().
SDL_Thread* serverInstanceStatic_s::gameThread |
Definition at line 88 of file server.h.
Referenced by SV_InitGameProgs(), and SV_ShutdownGameProgs().
game_export_t* serverInstanceStatic_s::ge |
Definition at line 92 of file server.h.
Referenced by SV_Begin_f(), SV_DropClient(), SV_ExecuteClientMessage(), SV_ExecuteUserCommand(), SV_InitGameProgs(), SV_LinkEdict(), SV_Map(), SV_RunGameFrame(), SV_ServerCommand_f(), SV_ShutdownGameProgs(), SV_StartMatch_f(), SV_Status_f(), SV_UserinfoChanged(), SVC_DirectConnect(), SVC_Status(), SVC_TeamInfo(), and TEST_F().
bool serverInstanceStatic_s::initialized |
sv_init has completed
Definition at line 77 of file server.h.
Referenced by SV_CountPlayers(), SV_Frame(), SV_InitGame(), SV_Kick_f(), SV_KillServer_f(), SV_Map(), SV_Shutdown(), and SV_UserInfo_f().
bool serverInstanceStatic_s::killserver |
will initiate shutdown once abandon is set
Definition at line 85 of file server.h.
Referenced by SV_DropClient(), and SV_Frame().
int serverInstanceStatic_s::lastHeartbeat |
time where the last heartbeat was send to the master server Set to a huge negative value to send immmediately
Definition at line 81 of file server.h.
Referenced by Master_Heartbeat(), and SV_Heartbeat_f().
int serverInstanceStatic_s::lastPing |
Definition at line 83 of file server.h.
Referenced by SV_PingPlayers().
struct datagram_socket* serverInstanceStatic_s::netDatagramSocket |
Definition at line 79 of file server.h.
Referenced by SV_InitGame(), and SV_Shutdown().
int serverInstanceStatic_s::realtime |
always increasing, no clamping, etc
Definition at line 78 of file server.h.
Referenced by Master_Heartbeat(), SV_CheckTimeouts(), SV_ExecuteClientMessage(), SV_Frame(), SV_PingPlayers(), and SVC_DirectConnect().
SDL_mutex* serverInstanceStatic_s::serverMutex |
Definition at line 86 of file server.h.
Referenced by SV_Begin_f(), SV_DropClient(), SV_ExecuteClientMessage(), SV_ExecuteUserCommand(), SV_InitGame(), SV_Map(), SV_RunGameFrameThread(), SV_ServerCommand_f(), SV_Shutdown(), SV_StartMatch_f(), SV_UserinfoChanged(), and SVC_DirectConnect().