![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
struct | gamemode_info_t |
Functions | |
int | COM_ChangeGameTypeForGameDirs (unsigned numgamedirs, const char *gamedirs[], qbool failmissing, qbool init) |
void | COM_InitGameType (void) |
static void | COM_SetGameType (int index) |
Variables | |
char | com_modname [MAX_OSPATH] = "" |
gamemode_t | com_startupgamegroup |
gamemode_t | com_startupgamemode |
const char * | gamedirname1 |
const char * | gamedirname2 |
gamemode_t | gamemode |
static const gamemode_info_t | gamemode_info [GAME_COUNT] |
const char * | gamename |
const char * | gamenetworkfiltername |
const char * | gamescreenshotname |
const char * | gameuserdirname |
int COM_ChangeGameTypeForGameDirs | ( | unsigned | numgamedirs, |
const char * | gamedirs[], | ||
qbool | failmissing, | ||
qbool | init ) |
Definition at line 122 of file com_game.c.
References COM_SetGameType(), com_startupgamegroup, com_startupgamemode, Con_Printf(), fs_gamedirs, fs_numgamedirs, FS_SetGameDirs(), gamedirname1, gamedirname2, GAMEDIRS_SUCCESS, gamemode_info, gamename, gamenetworkfiltername, Host_UpdateVersion(), i, index, mode, ret, and Sys_Error().
Referenced by FS_ChangeGameDirs(), and FS_Init_Dir().
Definition at line 95 of file com_game.c.
References sys_t::argv, cmdline, COM_SetGameType(), com_startupgamegroup, com_startupgamemode, COM_ToLowerString(), FS_FileWithoutPath(), FS_StripExtension(), GAME_NORMAL, gamemode_info, gamemode_info_t::group, i, index, int(), MAX_OSPATH, gamemode_info_t::mode, name, sys, and Sys_CheckParm().
Referenced by FS_Init().
Definition at line 191 of file com_game.c.
References sys_t::argc, sys_t::argv, com_startupgamemode, dp_strlcpy, gamedirname1, gamemode_info_t::gamedirname1, gamedirname2, gamemode_info_t::gamedirname2, gamemode, gamemode_info, gamemode_info_t::gamename, gamename, gamemode_info_t::gamenetworkfiltername, gamenetworkfiltername, gamemode_info_t::gamescreenshotname, gamescreenshotname, gamemode_info_t::gameuserdirname, gameuserdirname, index, gamemode_info_t::mode, NULL, sys, and Sys_CheckParm().
Referenced by COM_ChangeGameTypeForGameDirs(), and COM_InitGameType().
char com_modname[MAX_OSPATH] = "" |
Definition at line 33 of file com_game.c.
Referenced by FS_Rescan(), and NetConn_BuildStatusResponse().
gamemode_t com_startupgamegroup |
Definition at line 36 of file com_game.c.
Referenced by Cmd_Exec(), COM_ChangeGameTypeForGameDirs(), COM_InitGameType(), and FS_Init_Commands().
gamemode_t com_startupgamemode |
Definition at line 35 of file com_game.c.
Referenced by COM_ChangeGameTypeForGameDirs(), COM_InitGameType(), and COM_SetGameType().
const char* gamedirname1 |
Definition at line 29 of file com_game.c.
Referenced by COM_ChangeGameTypeForGameDirs(), COM_SetGameType(), FS_ChooseUserDir(), FS_GameDir_f(), FS_Init_Dir(), FS_Rescan(), FS_SetGameDirs(), ModList_Enable(), and ModList_RebuildList().
const char* gamedirname2 |
Definition at line 30 of file com_game.c.
Referenced by COM_ChangeGameTypeForGameDirs(), COM_SetGameType(), FS_GameDir_f(), FS_Rescan(), and FS_SetGameDirs().
gamemode_t gamemode |
Definition at line 26 of file com_game.c.
Referenced by CL_BeginDownloads(), CL_ClearState(), CL_ClientMovement_Physics_Swim(), CL_LinkNetworkEntity(), CL_ParseClientdata(), CL_ParseServerInfo(), CL_ParseServerMessage(), CL_ParticleEffect_Fallback(), CL_ParticleRain(), CL_StopDownload(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_UpdateMoveVars(), CL_UpdateNetworkEntity(), CL_UpdateNetworkEntityTrail(), CL_UpdateScreen(), CL_UpdateViewModel(), Cmd_Exec(), Cmd_ExecuteString(), COM_SetGameType(), Con_DrawNotify(), FOG_clear(), FS_Rescan(), GL_Main_Init(), Host_AddConfigText(), IN_Move(), Key_Event(), loadimagepixelsbgra(), LoadSubtitles(), M_ChooseQuitMessage(), M_Draw(), M_GameOptions_Draw(), M_Load_Key(), M_Main_Draw(), M_Main_Key(), M_Menu_GameOptions_f(), M_Menu_Keys_f(), M_Menu_Main_f(), M_ModList_Draw(), M_MultiPlayer_Draw(), M_NetStart_Change(), M_Save_Key(), M_ServerList_Draw(), M_Setup_Draw(), M_SinglePlayer_Draw(), M_SinglePlayer_Key(), Mod_BrushInit(), Mod_Q1BSP_LoadTextures(), NetConn_BuildStatusResponse(), R_UpdateFog(), Sbar_DeathmatchOverlay(), Sbar_Draw(), Sbar_DrawFace(), Sbar_DrawInventory(), Sbar_IntermissionOverlay(), Sbar_IsTeammatch(), Sbar_MiniDeathmatchOverlay(), Sbar_SoloScoreboard(), sbar_start(), SHOWLMP_decodeshow(), SV_GetPitchSign(), SV_Give_f(), SV_Map_f(), SV_PrepareEntityForSending(), SV_ServerOptions(), SV_UpdateToReliableMessages(), SV_WriteClientdataToMessage(), SVVM_load_edict(), V_CalcRefdefUsing(), and V_CalcViewBlend().
|
static |
Definition at line 52 of file com_game.c.
Referenced by COM_ChangeGameTypeForGameDirs(), COM_InitGameType(), and COM_SetGameType().
const char* gamename |
Definition at line 27 of file com_game.c.
Referenced by CL_VM_Init(), COM_ChangeGameTypeForGameDirs(), COM_SetGameType(), Host_UpdateVersion(), and VID_InitModeGL().
const char* gamenetworkfiltername |
Definition at line 28 of file com_game.c.
Referenced by COM_ChangeGameTypeForGameDirs(), COM_SetGameType(), and NetConn_BuildStatusResponse().
const char* gamescreenshotname |
Definition at line 31 of file com_game.c.
Referenced by COM_SetGameType(), and FS_Rescan().
const char* gameuserdirname |
Definition at line 32 of file com_game.c.
Referenced by COM_SetGameType(), FS_ChooseUserDir(), and FS_Init_Dir().