![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"
#include <time.h>
#include "libcurl.h"
#include "taskqueue.h"
#include "utf8lib.h"
Go to the source code of this file.
Functions | |
void | Host_AbortCurrentFrame (void) |
static void | Host_AddConfigText (cmd_state_t *cmd) |
void | Host_Error (const char *error,...) |
double | Host_Frame (double time) |
static void | Host_Framerate_c (cvar_t *var) |
void | Host_Init (void) |
static void | Host_InitLocal (void) |
static void | Host_InitSession (void) |
static void | Host_LoadConfig_f (cmd_state_t *cmd) |
void | Host_LockSession (void) |
static void | Host_Quit_f (cmd_state_t *cmd) |
void | Host_SaveConfig (const char *file) |
static void | Host_SaveConfig_f (cmd_state_t *cmd) |
void | Host_Shutdown (void) |
void | Host_UnlockSession (void) |
void | Host_UpdateVersion (void) |
static void | Host_Version_f (cmd_state_t *cmd) |
static void | SendCvar_f (cmd_state_t *cmd) |
Variables | |
cvar_t | developer = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "developer","0", "shows debugging messages and information (recommended for all developers and level designers); the value -1 also suppresses buffering and logging these messages"} |
cvar_t | developer_entityparsing = {CF_CLIENT, "developer_entityparsing", "0", "prints detailed network entities information each time a packet is received"} |
cvar_t | developer_extra = {CF_CLIENT | CF_SERVER, "developer_extra", "0", "prints additional debugging messages, often very verbose!"} |
cvar_t | developer_insane = {CF_CLIENT | CF_SERVER, "developer_insane", "0", "prints huge streams of information about internal workings, entire contents of files being read/written, etc. Not recommended!"} |
cvar_t | developer_loadfile = {CF_CLIENT | CF_SERVER, "developer_loadfile","0", "prints name and size of every file loaded via the FS_LoadFile function (which is almost everything)"} |
cvar_t | developer_loading = {CF_CLIENT | CF_SERVER, "developer_loading","0", "prints information about files as they are loaded or unloaded successfully"} |
char | engineversion [128] |
version string for the corner of the console, crash messages, status command, etc | |
host_static_t | host |
cvar_t | host_framerate = {CF_CLIENT | CF_SERVER, "host_framerate","0", "locks frame timing to this value in seconds, 0.05 is 20fps for example, note that this can easily run too fast, use cl_maxfps if you want to limit your framerate instead, or sys_ticrate to limit server speed"} |
cvar_t | host_isclient = {CF_SHARED | CF_READONLY, "_host_isclient", "0", "If 1, clientside is active."} |
cvar_t | host_speeds = {CF_CLIENT | CF_SERVER, "host_speeds","0", "reports how much time is used in server/graphics/sound"} |
cvar_t | locksession = {CF_CLIENT | CF_SERVER, "locksession", "0", "Lock the session? 0 = no, 1 = yes and abort on failure, 2 = yes and continue on failure"} |
static qfile_t * | locksession_fh = NULL |
static qbool | locksession_run = false |
cvar_t | r_texture_jpeg_fastpicmip |
cvar_t | sessionid = {CF_CLIENT | CF_SERVER | CF_READONLY, "sessionid", "", "ID of the current session (use the -sessionid parameter to set it); this is always either empty or begins with a dot (.)"} |
cvar_t | timeformat = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "timeformat", "[%Y-%m-%d %H:%M:%S] ", "time format to use on timestamped console messages"} |
cvar_t | timestamps = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "timestamps", "0", "prints timestamps on console messages"} |
Definition at line 70 of file host.c.
References host_static_t::abortframe, host, and Sys_MakeProcessMean().
Referenced by Host_Error().
|
static |
Definition at line 232 of file host.c.
References Cbuf_InsertText(), cmd(), CONFIGFILENAME, FS_FileExists(), GAME_NEHAHRA, GAME_TEU, GAME_TRANSFUSION, gamemode, and STARTCONFIGFILENAME.
Referenced by Host_Init(), and Host_LoadConfig_f().
void Host_Error | ( | const char * | error, |
... ) |
Definition at line 85 of file host.c.
References ca_dedicated, cmd_state_t::cbuf, Cbuf_Clear(), CL_DisconnectEx(), CL_Parse_DumpPacket(), CL_Parse_ErrorCleanUp(), cls, cmd_local, CON_ERROR, Con_Printf(), Con_Rcon_Redirect_Abort(), client_static_t::demonum, dp_strlcpy, dpvsnprintf(), error(), host_static_t::framecount, host_static_t::hook, host, Host_AbortCurrentFrame(), host_active, host_state_str, MAX_INPUTLINE, sys_t::outfd, PRVM_Crash(), client_static_t::state, host_static_t::state, host_static_t::SV_Shutdown, sys, and Sys_Error().
Referenced by AddPortalToNodes(), CL_ExpandCSQCRenderEntities(), CL_ExpandEntities(), CL_ParseDownload(), CL_ParseServerInfo(), CL_ParseServerMessage(), CL_ParseStatic(), CL_ParseTempEntity(), CL_ValidateState(), CL_VM_Init(), CSQC_ReadEntities(), Curl_Begin(), EntityFrame_CL_ReadFrame(), EntityFrameQuake_ReadEntity(), EntityFrameQW_CL_ReadFrame(), EntityState5_ReadUpdate(), Mod_BSP_LoadSubmodels(), Mod_BSP_RecursiveNodePortals(), Mod_DARKPLACESMODEL_Load(), Mod_FindName(), Mod_IBSP_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MAP_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadClipnodes(), Mod_Q1BSP_LoadEdges(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeaffaces(), Mod_Q1BSP_LoadLeafs(), Mod_Q1BSP_LoadNodes(), Mod_Q1BSP_LoadPlanes(), Mod_Q1BSP_LoadSurfedges(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadVertexes(), Mod_Q2BSP_Load(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadLeafBrushes(), Mod_Q2BSP_LoadLeafs(), Mod_Q2BSP_LoadNodes(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadEffects(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLeafBrushes(), Mod_Q3BSP_LoadLeafFaces(), Mod_Q3BSP_LoadLeafs(), Mod_Q3BSP_LoadLightGrid(), Mod_Q3BSP_LoadLightmaps(), Mod_Q3BSP_LoadModels(), Mod_Q3BSP_LoadNodes(), Mod_Q3BSP_LoadPlanes(), Mod_Q3BSP_LoadPVS(), Mod_Q3BSP_LoadTextures(), Mod_Q3BSP_LoadTriangles(), Mod_Q3BSP_LoadVertices(), Mod_Sprite_SharedSetup(), Mod_VBSP_Load(), Mod_VBSP_LoadEdges(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadPlanes(), Mod_VBSP_LoadSurfedges(), Mod_VBSP_LoadTexinfo(), Mod_VBSP_LoadVertexes(), Mod_ZYMOTICMODEL_Load(), NetConn_OpenServerPorts(), QW_CL_ParseDownload(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), R_FreeTexture(), R_FreeTexturePool(), R_GetTexTypeInfo(), R_MakeResizeBufferBigger(), R_UpdateTexture(), RemovePortalFromNodes(), SV_Loadgame_f(), SV_VM_Setup(), and SZ_GetSpace().
double Host_Frame | ( | double | time | ) |
Definition at line 618 of file host.c.
References server_t::active, ca_dedicated, host_static_t::cbuf, Cbuf_Frame(), CL_Frame(), cls, Curl_Frame(), host_static_t::framecount, host, Log_DestBuffer_Flush(), Mem_CheckSentinelsGlobal, min, NetConn_UpdateSockets(), R_TimeReport(), host_static_t::restless, client_static_t::state, cvar_t::string, sv, SV_Frame(), sv_random_seed, svs, Sys_SDL_HandleEvents(), TaskQueue_Frame(), server_static_t::threaded, and time.
Referenced by Sys_Frame().
Definition at line 167 of file host.c.
References Cvar_SetValueQuick(), and cvar_t::value.
Referenced by Host_InitLocal().
Definition at line 377 of file host.c.
References server_t::active, sys_t::argc, sys_t::argv, ca_dedicated, cmd_state_t::cbuf, Cbuf_AddText(), Cbuf_Execute(), cl_available, CL_Init(), CL_StartVideo(), cls, Cmd_Init(), cmd_local, Cmd_SaveInitState(), COM_Init_Commands(), Con_DPrint(), Con_Init(), Con_Printf(), client_static_t::connect_trying, host_static_t::ConnectLocal, Crypto_Init(), Crypto_Init_Commands(), Curl_Init(), Curl_Init_Commands(), client_static_t::demoplayback, developer, developer_extra, developer_insane, developer_memory, developer_memorydebug, host_static_t::dirtytime, host_static_t::Disconnect, engineversion, FS_Init(), gl_paranoid, gl_printcheckerror, host_static_t::hook, host, host_active, Host_AddConfigText(), host_init, Host_InitLocal(), Host_InitSession(), Host_UpdateVersion(), i, cvar_t::integer, Log_Start(), Mathlib_Init(), Memory_Init(), Memory_Init_Commands(), Mod_Init(), MR_Init(), NetConn_Init(), NULL, PRVM_Init(), host_static_t::realtime, S_Startup(), SCR_BeginLoadingPlaque(), client_static_t::state, host_static_t::state, cvar_t::string, sv, SV_Init(), host_static_t::SV_Shutdown, SV_StartThread(), sys, Sys_AllowProfiling(), Sys_CheckParm(), Sys_DirtyTime(), Sys_Init_Commands(), Sys_InitProcessNice(), Sys_SDL_Init(), TaskQueue_Init(), Thread_Init(), time, host_static_t::ToggleMenu, u8_Init(), va(), cvar_t::value, and World_Init().
Referenced by Sys_Main().
Definition at line 279 of file host.c.
References CF_SHARED, Cmd_AddCommand(), Cvar_RegisterCallback(), Cvar_RegisterVariable(), developer, developer_entityparsing, developer_extra, developer_insane, developer_loadfile, developer_loading, host_framerate, Host_Framerate_c(), host_isclient, Host_LoadConfig_f(), Host_Quit_f(), Host_SaveConfig_f(), host_speeds, Host_Version_f(), r_texture_jpeg_fastpicmip, SendCvar_f(), timeformat, and timestamps.
Referenced by Host_Init().
Definition at line 309 of file host.c.
References sys_t::argc, sys_t::argv, buf, Cvar_RegisterVariable(), Cvar_SetQuick(), dpsnprintf(), i, locksession, sessionid, strlen(), sys, Sys_CheckParm(), and Z_Malloc.
Referenced by Host_Init().
|
static |
Definition at line 257 of file host.c.
References cmd(), Cmd_RestoreInitState(), Host_AddConfigText(), MR_Init(), and MR_Shutdown.
Referenced by Host_InitLocal().
Definition at line 330 of file host.c.
References Con_Printf(), CON_WARN, fs_basedir, FS_CreatePath(), FS_SysOpen(), fs_userdir, cvar_t::integer, locksession, locksession_fh, locksession_run, sessionid, cvar_t::string, Sys_CheckParm(), Sys_Error(), and va().
Referenced by Crypto_LoadKeys(), and PRVM_Prog_Load().
|
static |
Definition at line 149 of file host.c.
References Con_Printf(), host, host_shutdown, and host_static_t::state.
Referenced by Host_InitLocal().
void Host_SaveConfig | ( | const char * | file | ) |
Definition at line 195 of file host.c.
References ca_dedicated, cls, CON_ERROR, Con_Printf(), Cvar_WriteVariables(), cvars_all, f, host_static_t::framecount, FS_Close(), FS_OpenRealFile(), host, Key_WriteBindings(), client_static_t::state, and Sys_CheckParm().
Referenced by FS_ChangeGameDirs(), Host_SaveConfig_f(), and Host_Shutdown().
|
static |
Definition at line 222 of file host.c.
References cmd(), Cmd_Argc(), Cmd_Argv(), CONFIGFILENAME, and Host_SaveConfig().
Referenced by Host_InitLocal().
Definition at line 571 of file host.c.
References ca_dedicated, CL_Shutdown(), cls, Cmd_Shutdown(), Con_Shutdown(), CONFIGFILENAME, Crypto_Shutdown(), Curl_Shutdown(), host_static_t::hook, host, Host_SaveConfig(), Host_UnlockSession(), Log_Close(), Memory_Shutdown(), NetConn_Shutdown(), client_static_t::state, host_static_t::SV_Shutdown, SV_StopThread(), svs, Sys_AllowProfiling(), Sys_CheckParm(), Sys_SDL_Shutdown(), TaskQueue_Shutdown(), Thread_Shutdown(), and server_static_t::threaded.
Referenced by Sys_Frame().
Definition at line 356 of file host.c.
References FS_Close(), locksession_fh, locksession_run, and NULL.
Referenced by Host_Shutdown().
Definition at line 162 of file host.c.
References buildstring, ca_dedicated, cls, DP_OS_NAME, dpsnprintf(), engineversion, gamename, and client_static_t::state.
Referenced by COM_ChangeGameTypeForGameDirs(), and Host_Init().
|
static |
Definition at line 157 of file host.c.
References Con_Printf(), and engineversion.
Referenced by Host_InitLocal().
|
static |
Definition at line 174 of file host.c.
References host_static_t::CL_SendCvar, cmd(), host_static_t::hook, host, src_client, src_local, and host_static_t::SV_SendCvar.
Referenced by Host_InitLocal().
cvar_t developer = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "developer","0", "shows debugging messages and information (recommended for all developers and level designers); the value -1 also suppresses buffering and logging these messages"} |
Definition at line 48 of file host.c.
Referenced by Con_DPrint(), Con_DPrintf(), Con_DrawConsole(), Con_MaskPrint(), Curl_GetDownloadInfo(), GL_Backend_CompileShader(), Host_Init(), Host_InitLocal(), IN_Move_TouchScreen_SteelStorm(), PRVM_ED_CallSpawnFunction(), SV_ReadClientMessage(), SV_SpawnServer(), Sys_Print(), VM_physics_addforce(), VM_physics_addtorque(), VM_physics_enable(), and VM_remove().
cvar_t developer_entityparsing = {CF_CLIENT, "developer_entityparsing", "0", "prints detailed network entities information each time a packet is received"} |
Definition at line 53 of file host.c.
Referenced by Host_InitLocal(), PRVM_ED_ParseEdict(), PRVM_ED_ParseGlobals(), PRVM_ED_Write(), PRVM_ED_WriteGlobals(), and SV_Loadgame_f().
cvar_t developer_extra = {CF_CLIENT | CF_SERVER, "developer_extra", "0", "prints additional debugging messages, often very verbose!"} |
Definition at line 49 of file host.c.
Referenced by CL_IPLog_Add(), CL_NetworkTimeReceived(), CL_ValidateState(), Collision_CalcPlanesForTriangleBrushFloat(), Cvar_Command(), Cvar_Get(), Cvar_RegisterCallback(), Cvar_RegisterVariable(), Cvar_RegisterVirtual(), Cvar_Set_f(), Cvar_SetA_f(), Cvar_SetQuick(), FS_FindFile(), GetMapList(), GL_Backend_CompileProgram(), GL_Backend_CompileShader(), Host_Init(), Host_InitLocal(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_LoadCustomMaterial(), Mod_LoadTextureFromQ3Shader(), Mod_PSKMODEL_Load(), Mod_Q3BSP_LoadFaces(), NetConn_ClientParsePacket(), NetConn_ServerParsePacket(), R_BuildFogTexture(), R_Mesh_Draw(), R_Q1BSP_CallRecursiveGetLightInfo(), R_RTLight_Compile(), SV_Download_f(), SV_ThreadFunc(), VM_buf_loadfile(), VM_CL_gettagindex(), VM_fclose(), VM_fgets(), VM_fopen(), VM_fputs(), VM_FrameBlendFromFrameGroupBlend(), VM_SV_gettagindex(), and World_SetSize().
cvar_t developer_insane = {CF_CLIENT | CF_SERVER, "developer_insane", "0", "prints huge streams of information about internal workings, entire contents of files being read/written, etc. Not recommended!"} |
Definition at line 50 of file host.c.
Referenced by Buffer_Callback(), CLVM_ExecuteProgram(), Host_Init(), Host_InitLocal(), Key_Event(), Mod_LoadQ3Shaders(), PRVM_SetEngineString(), PRVM_SetTempString(), and SVVM_ExecuteProgram().
cvar_t developer_loadfile = {CF_CLIENT | CF_SERVER, "developer_loadfile","0", "prints name and size of every file loaded via the FS_LoadFile function (which is almost everything)"} |
cvar_t developer_loading = {CF_CLIENT | CF_SERVER, "developer_loading","0", "prints information about files as they are loaded or unloaded successfully"} |
Definition at line 52 of file host.c.
Referenced by FS_OpenReadFile(), FS_Search(), Host_InitLocal(), loadimagepixelsbgra(), Mod_LoadModel(), Mod_LoadSkinFiles(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadLighting(), Mod_Q3BSP_LoadLightmaps(), Mod_UnloadModel(), OGG_LoadVorbisFile(), R_LoadCubemap(), R_LoadQWSkin(), R_LoadSkyBox(), R_SkinFrame_LoadExternal_SkinFrame(), R_SkinFrame_LoadInternal8bit(), R_SkinFrame_LoadInternalBGRA(), R_SkinFrame_LoadInternalQuake(), R_SkinFrame_LoadInternalUsingTexture(), R_UnloadSkyBox(), S_FreeSfx(), S_LoadSound(), S_LoadWavFile(), XMP_LoadModFile(), and XMP_OpenLibrary().
char engineversion[128] |
version string for the corner of the console, crash messages, status command, etc
Definition at line 304 of file host.c.
Referenced by CheckPendingDownloads(), CL_FinishTimeDemo(), CL_Locs_Save_f(), Con_DrawConsole(), Host_Init(), Host_UpdateVersion(), Host_Version_f(), SCR_CaptureVideo_Avi_BeginVideo(), SV_SendServerinfo(), SV_Status_f(), Sys_Error(), and Sys_HandleCrash().
host_static_t host |
Definition at line 41 of file host.c.
Referenced by Cbuf_Execute_Deferred(), CL_DisconnectEx(), CL_DrawVideo(), CL_FinishTimeDemo(), CL_Frame(), CL_GetVideoBySlot(), CL_Init(), CL_InitCommands(), CL_ParseServerMessage(), CL_Rcon_f(), CL_ReadDemoMessage(), CL_RestartVideo(), CL_SendMove(), CL_SetVideoState(), CL_StopPlayback(), CL_TimeDemo_f(), CL_UpdateScreen(), CL_Video_Frame(), CL_VM_Init(), Cmd_ExecuteString(), Cmd_Init(), Con_DrawConsole(), Con_DrawInput(), Crypto_ClientParsePacket(), Crypto_ServerFindInstance(), Crypto_ServerParsePacket(), CSQC_SetGlobals(), Curl_Frame(), Draw_Frame(), Host_AbortCurrentFrame(), Host_Error(), Host_Frame(), Host_Init(), Host_Quit_f(), Host_SaveConfig(), Host_Shutdown(), LHNET_Read(), LHNET_Write(), LHNETADDRESS_FromString(), M_Demo_Draw(), M_Draw(), M_GameOptions_Draw(), M_Keys_Draw(), M_LanConfig_Draw(), M_Load_Draw(), M_Main_Draw(), M_ModList_Draw(), M_MultiPlayer_Draw(), M_NetStart_Change(), M_Options_PrintCheckbox(), M_Options_PrintCommand(), M_Options_PrintSlider(), M_Quit_Key(), M_Save_Draw(), M_ServerList_Draw(), M_Setup_Draw(), M_SinglePlayer_Draw(), M_Video_Draw(), MP_Draw(), MP_Init(), NetConn_CanSend(), NetConn_ClientFrame(), NetConn_ClientParsePacket(), NetConn_Heartbeat(), NetConn_Open(), NetConn_PreventFlood(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), NetConn_ServerParsePacket(), NetConn_UpdateCleartime(), NetConn_UpdateSockets(), OpenVideo(), PRVM_ED_CanAlloc(), PRVM_ED_ClearEdict(), PRVM_ED_Free(), PRVM_ED_LoadFromFile(), PRVM_ED_ParseEdict(), PRVM_Prog_Load(), R_RenderTarget_FreeUnused(), R_RenderTarget_Get(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_ConvertPixelsAndUpload(), R_Shadow_PrepareLight(), R_Shadow_UpdateBounceGridTexture(), R_TimeReport_EndFrame(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), S_PaintAndSubmit(), S_Startup(), Sbar_DeathmatchOverlay(), Sbar_ShowFPS(), Sbar_ShowFPS_Update(), SCR_DrawNet(), SCR_DrawNetGraph_DrawGraph(), SCR_DrawQWDownload(), SCR_DrawScreen(), SendCvar_f(), SV_Changelevel_f(), SV_CheckTimeouts(), SV_ConnectClient(), SV_ExecuteClientMoves(), SV_Frame(), SV_Init(), SV_InitOperatorCommands(), SV_Loadgame_f(), SV_Map_f(), SV_MarkWriteEntityStateToClient(), SV_Name_f(), SV_Restart_f(), SV_Savegame_to(), SV_SendClientDatagram(), SV_SendServerinfo(), SV_SpawnServer(), SV_Status_f(), SV_ThreadFunc(), Sys_Error(), Sys_Frame(), Sys_HandleCrash(), Sys_HandleSignal(), Sys_SDL_HandleEvents(), Sys_Sleep(), VID_KeyEventForButton(), VID_TouchscreenCursor(), VM_CL_setpause(), VM_gettime(), VM_SV_setpause(), VM_Warning(), and WakeVideo().
cvar_t host_framerate = {CF_CLIENT | CF_SERVER, "host_framerate","0", "locks frame timing to this value in seconds, 0.05 is 20fps for example, note that this can easily run too fast, use cl_maxfps if you want to limit your framerate instead, or sys_ticrate to limit server speed"} |
Definition at line 44 of file host.c.
Referenced by CL_Frame(), Host_InitLocal(), SV_Frame(), and SV_ThreadFunc().
cvar_t host_isclient = {CF_SHARED | CF_READONLY, "_host_isclient", "0", "If 1, clientside is active."} |
Definition at line 61 of file host.c.
Referenced by CL_Init(), Cmd_CL_Callback(), Host_InitLocal(), SV_BroadcastPrint(), SV_CheckTimeouts(), SV_IsLocalServer(), SV_Kick_f(), SV_Say(), SV_SendCvar_f(), and SV_SpawnServer().
cvar_t host_speeds = {CF_CLIENT | CF_SERVER, "host_speeds","0", "reports how much time is used in server/graphics/sound"} |
cvar_t locksession = {CF_CLIENT | CF_SERVER, "locksession", "0", "Lock the session? 0 = no, 1 = yes and abort on failure, 2 = yes and continue on failure"} |
|
static |
Definition at line 307 of file host.c.
Referenced by Host_LockSession(), and Host_UnlockSession().
Definition at line 308 of file host.c.
Referenced by Host_LockSession(), and Host_UnlockSession().
|
extern |
Definition at line 32 of file jpeg.c.
Referenced by Host_InitLocal(), and JPEG_LoadImage_BGRA().
cvar_t sessionid = {CF_CLIENT | CF_SERVER | CF_READONLY, "sessionid", "", "ID of the current session (use the -sessionid parameter to set it); this is always either empty or begins with a dot (.)"} |
Definition at line 58 of file host.c.
Referenced by Crypto_KeyGen_f(), Crypto_KeyGen_Finished(), Crypto_Keys_f(), Crypto_LoadKeys(), Crypto_SavePubKeyTextFile(), Host_InitSession(), and Host_LockSession().
cvar_t timeformat = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "timeformat", "[%Y-%m-%d %H:%M:%S] ", "time format to use on timestamped console messages"} |
Definition at line 56 of file host.c.
Referenced by Con_MaskPrint(), Host_InitLocal(), and Sys_TimeString().
cvar_t timestamps = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "timestamps", "0", "prints timestamps on console messages"} |