Shared functions. More...
#include "../common/common.h"
#include "utf8.h"
Go to the source code of this file.
Defines | |
#define | VA_BUFSIZE 4096 |
Functions | |
const char * | Com_SkipPath (const char *pathname) |
Returns just the filename from a given path. | |
char * | Com_Trim (char *s) |
static int | Com_FilterAfterStar (const char *pattern, const char *text) |
Like Com_Filter, but match PATTERN against any final segment of TEXT. | |
int | Com_Filter (const char *pattern, const char *text) |
Match the pattern PATTERN against the string TEXT;. | |
void | Com_ReplaceFilename (const char *fileName, const char *name, char *path, size_t size) |
Replaces the filename from one path with another one. | |
void | Com_StripExtension (const char *in, char *out, const size_t size) |
Removes the file extension from a filename. | |
const char * | Com_GetExtension (const char *path) |
void | Com_DefaultExtension (char *path, size_t len, const char *extension) |
Sets a default extension if there is none. | |
void | Com_FilePath (const char *in, char *out) |
Returns the path up to, but not including the last /. | |
int | Q_FloatSort (const void *float1, const void *float2) |
Compare two floats. | |
int | Q_StringSort (const void *string1, const void *string2) |
Compare two strings. | |
char * | va (const char *format,...) |
does a varargs printf into a temp buffer, so I don't need to have varargs versions of all text functions. | |
char * | Q_strlwr (char *str) |
int | Q_strncasecmp (const char *s1, const char *s2, size_t n) |
void | Q_strncpyz (char *dest, const char *src, size_t destsize) |
Safe strncpy that ensures a trailing zero. | |
void | Q_strcat (char *dest, const char *src, size_t destsize) |
Safely (without overflowing the destination buffer) concatenates two strings. | |
qboolean | Com_sprintf (char *dest, size_t size, const char *fmt,...) |
copies formatted string with buffer-size checking | |
int | Q_vsnprintf (char *str, size_t size, const char *format, va_list ap) |
Safe (null terminating) vsnprintf implementation. | |
const char * | Q_stristr (const char *str, const char *substr) |
Shared functions.
Definition in file shared.c.
void Com_DefaultExtension | ( | char * | path, | |
size_t | len, | |||
const char * | extension | |||
) |
Sets a default extension if there is none.
Definition at line 252 of file shared.c.
References Com_sprintf(), MAX_OSPATH, and Q_strncpyz().
Referenced by Com_WriteConfig_f(), Key_WriteBindings_f(), main(), R_ModLoadMDX(), and RT_WriteCSVFiles().
void Com_FilePath | ( | const char * | in, | |
char * | out | |||
) |
Returns the path up to, but not including the last /.
Definition at line 275 of file shared.c.
References Q_strncpyz().
Referenced by ExportLightmaps(), FS_BuildFileList(), and Sys_FindFirst().
int Com_Filter | ( | const char * | pattern, | |
const char * | text | |||
) |
Match the pattern PATTERN against the string TEXT;.
Definition at line 100 of file shared.c.
References Com_FilterAfterStar(), and match().
Referenced by Com_FilterAfterStar(), Sys_FindFirst(), Sys_FindNext(), and Sys_ListFilteredFiles().
static int Com_FilterAfterStar | ( | const char * | pattern, | |
const char * | text | |||
) | [static] |
Like Com_Filter, but match PATTERN against any final segment of TEXT.
Definition at line 61 of file shared.c.
References Com_Filter().
Referenced by Com_Filter().
const char* Com_GetExtension | ( | const char * | path | ) |
path | The path resp. filename to extract the extension from |
NULL
if the given path name does not contain an extension Definition at line 237 of file shared.c.
Referenced by CL_CheckAndQueueDownload(), CL_FinishHTTPDownload(), CL_QueueHTTPDownload(), CL_StartHTTPDownload(), FS_LoadPackFile(), MD2Check(), and MD2SkinFix().
void Com_ReplaceFilename | ( | const char * | fileName, | |
const char * | name, | |||
char * | path, | |||
size_t | size | |||
) |
Replaces the filename from one path with another one.
[in] | fileName | The full path to a filename |
[in] | name | The filename to insert into the given full path |
[out] | path | The target buffer |
[in] | size | The size of the target buffer |
Definition at line 194 of file shared.c.
References Q_strncpyz().
Referenced by R_AliasModelGetSkin().
const char* Com_SkipPath | ( | const char * | pathname | ) |
Returns just the filename from a given path.
Definition at line 35 of file shared.c.
Referenced by _AddToListBlock(), ExportLightmaps(), FS_GetMaps(), GenerateMaterialFile(), M_RandomTrack_f(), MD2SkinFix(), and R_LoadMaterials().
qboolean Com_sprintf | ( | char * | dest, | |
size_t | size, | |||
const char * | fmt, | |||
... | ||||
) |
copies formatted string with buffer-size checking
[out] | dest | Destination buffer |
[in] | size | Size of the destination buffer |
[in] | fmt | Stringformat (like printf) |
Definition at line 436 of file shared.c.
References i, len, Q_vsnprintf(), qfalse, qtrue, and UTF8_char_len().
Referenced by actorL_tostring(), AII_UpdateOneInstallationDelay(), AIL_InitActor(), AIM_AircraftEquipMenuUpdate(), AIR_AircraftSelect(), AIR_NewAircraft(), AIR_Refuel(), B_BuildBase_f(), B_BuildingOpenAfterClick(), B_CheckBuildingStatusForMenu_f(), B_DrawBuilding(), B_ManageAntimatter(), B_SellOrAddItems(), B_SetBaseTitle_f(), B_UpdateBaseData(), BDEF_AddSlotToSlotList(), BS_BuyType(), CalcTextureReflectivity(), CheckBSPFile(), CHRSH_CharGetBody(), CHRSH_CharGetHead(), CL_ActorAppear(), CL_ActorDie(), CL_ActorRevitalised(), CL_AddBrushModel(), CL_CanMultiplayerStart(), CL_CheckAndQueueDownload(), CL_ConnectionlessPacket(), CL_DisplayHomebasePopup(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CL_DownloadUMPMap(), CL_EventAddMail_f(), CL_FinishHTTPDownload(), CL_Init(), CL_LanguageTest(), CL_ParseServerInfoMessage(), CL_ParseStartSoundPacket(), CL_PingServerCallback(), CL_PrecacheCharacterModels(), CL_QueueHTTPDownload(), CL_Rcon_f(), CL_SecondConvert(), CL_SendCommand(), CL_StartHTTPDownload(), CL_StatsUpdate_f(), CL_TeamNum_f(), CL_UpdateCharacterStats(), CL_UpdateTime(), CL_ViewLoadMedia(), CM_AddMapTile(), CM_LoadMap(), Com_DefaultExtension(), Com_MakeTimestamp(), Com_ValueToStr(), CompareAttributes(), Con_DrawConsole(), CP_BaseAttackGoToBase(), CP_BaseAttackMissionDestroyBase(), CP_BaseAttackStartMission(), CP_CreateBattleParameters(), CP_HarvestMissionGo(), CP_InitMissionResults(), CP_InterceptGoToInstallation(), CP_MissionEndActions(), CP_MissionGetMessage(), CP_NationHandleBudget(), CP_ReconMissionGroundGo(), CP_SetAlienEquipmentByInterest(), CP_SetMissionName(), CP_SpawnAlienBaseMission(), CP_SpawnCrashSiteMission(), CP_SpawnRescueMission(), CP_TerrorMissionGo(), Cvar_SetValue(), E_CreateEmployeeAtIndex(), EntityForModel(), ExportLightmap(), FS_AddGameDirectory(), FS_AddHomeAsGameDirectory(), FS_BuildFileList(), FS_GetMaps(), FS_OpenFileSingle(), FS_RenameFile(), G_MatchSendResults(), G_Players_f(), G_PrintActorStats(), G_PrintStats(), G_Say_f(), GAME_CP_CampaignListClick_f(), GAME_CP_CharacterCvars(), GAME_MP_EndRoundAnnounce(), GAME_MP_Results(), GAME_MP_StartServer_f(), GAME_SK_Results(), GAME_SK_Start_f(), GenerateMaterialFile(), HUD_DisplayFiremodeEntry(), HUD_MapDebugCursor(), HUD_PopupFiremodeReservation(), HUD_UpdateActorCvar(), HUD_UpdateActorFireMode(), HUD_UpdateActorMove(), Info_SetValueForKey(), INS_BuildInstallation_f(), INS_DestroyInstallation(), INS_DestroyInstallation_f(), INS_ParseInstallations(), INS_SetInstallationTitle(), INS_UpdateInstallationData(), INV_ItemDescription(), Irc_AppendToBuffer(), Irc_Client_Invite_f(), Irc_Logic_AddChannelName(), Key_Event(), LE_GetAnim(), M_RandomTrack_f(), MAP_DrawMap(), MAP_GetAircraftText(), MAP_GetMissionText(), MAP_GetShortMissionText(), MAP_GetUFOText(), MD2SkinFix(), MP_GetEquipment(), MP_LoadTeamMultiplayer_f(), MP_SaveTeamMultiplayer_f(), MS_TimestampedText(), NAT_SetHappiness(), NET_StreamPeerToName(), ParseBrush(), pos3L_tostring(), PR_AircraftInfo(), PR_DisassemblingFrame(), PR_DisassemblyInfo(), PR_ItemProductionInfo(), PR_ProductionFrame(), PR_ProductionIncrease_f(), PR_ProductionList_f(), PR_QueueNext(), R_LoadMaterials(), R_ModAddMapTile(), R_ModBeginLoading(), R_ModLoadLevelOfDetailData(), R_ModLoadTexinfo(), R_PreprocessShader(), R_RegisterModelShort(), R_ScreenShot(), R_SetupSubmodels(), RS_MarkCollected(), RS_MarkOneResearchable(), RS_ResearchFinish(), RS_ResearchRun(), RS_UpdateInfo(), S_CompleteSounds(), SAV_GameContinue_f(), SAV_GameLoad_f(), SAV_GameQuickLoad_f(), SAV_GameSave(), SAV_GameSave_f(), SAV_GameSaveNameCleanup_f(), SCR_TouchPics(), SetModelNumbers(), SV_AssembleMap(), SV_CheckMap(), SV_LoadGame(), SV_NextMapcycle(), SV_ParseMapTile(), SV_ParseMapTileSet(), SV_ParseUMP(), SVC_Info(), SVC_Status(), SVCmd_WriteIP_f(), Sys_FindFirst(), Sys_FindNext(), Sys_ListFilteredFiles(), Sys_Setenv(), testStringCopiers(), TR_CargoList(), TR_CheckEmployee(), TR_EmptyTransferCargo(), TR_TransferAlienAfterMissionStart(), TR_TransferEnd(), TR_TransferSelect(), TR_TransferStart_f(), UI_BuildRadarImageList(), UI_GetItemTooltip(), UI_InitRadar(), UI_TextNodeDrawText(), UI_Tooltip(), UnparseEntities(), UP_AircraftDescription(), UP_BuildingDescription(), UP_OpenMail_f(), UP_SetMailHeader(), UP_UGVDescription(), UR_DialogFillNations(), UR_DialogInitStore_f(), UR_DialogStartSell_f(), UR_DialogStartStore_f(), and UR_ProcessActive().
void Com_StripExtension | ( | const char * | in, | |
char * | out, | |||
const size_t | size | |||
) |
Removes the file extension from a filename.
[in] | in | The incoming filename |
[in] | out | The stripped filename |
[in] | size | The size of the output buffer |
Definition at line 214 of file shared.c.
References i.
Referenced by ASE_KeyMAP_DIFFUSE(), CIN_PlayCinematic(), ExportLightmaps(), FS_GetMaps(), GenerateFootstepList(), GenerateMaterialFile(), M_Start(), main(), MD2SkinFix(), PrecalcNormalsAndTangents(), R_FindImage(), R_LoadImage(), R_LoadObjSkin(), R_ModLoadLevelOfDetailData(), R_ModLoadMDX(), and S_LoadSample().
char* Com_Trim | ( | char * | s | ) |
Definition at line 41 of file shared.c.
Referenced by MP_AddChatMessage(), and R_LoadObjModel_().
int Q_FloatSort | ( | const void * | float1, | |
const void * | float2 | |||
) |
Compare two floats.
[in] | float1 | The first float |
[in] | float2 | The second float |
Definition at line 293 of file shared.c.
Referenced by AIR_GetAircraftWeaponRanges().
void Q_strcat | ( | char * | dest, | |
const char * | src, | |||
size_t | destsize | |||
) |
Safely (without overflowing the destination buffer) concatenates two strings.
[in] | dest | the destination string. |
[in] | src | the source string. |
[in] | destsize | the total size of the destination buffer. |
Definition at line 420 of file shared.c.
References Q_strncpyz(), and Sys_Error().
Referenced by AIM_AircraftEquipMenuUpdate(), AIR_AircraftSelect(), B_AssembleMap(), B_DrawBuilding(), BaseSummary_Init(), Cbuf_AddLateCommands(), CL_DisplayPopupAircraft(), CL_LanguageTest(), CL_PingServerCallback(), CL_StatsUpdate_f(), Cmd_Alias_f(), CMod_LoadEntityString(), Com_ConsoleCompleteCommand(), Com_GetCharacterValues(), Com_MD5File(), Com_vPrintf(), CP_InitMissionResults(), G_Players_f(), G_Say_f(), GAME_MP_MapInfo(), Info_SetValueForKey(), INS_ParseInstallations(), INV_ItemDescription(), Irc_AppendToBuffer(), Key_Bind_f(), MAP_DrawMapMarkers(), MAP_GetAircraftText(), MAP_GetUFOText(), MAP_MultiSelectListAddItem(), PR_AircraftInfo(), PR_DisassemblyInfo(), PR_ItemProductionInfo(), PrecalcNormalsAndTangents(), Rimp_Init(), SV_AssembleMap(), SVC_RemoteCommand(), Sys_GetHomeDirectory(), TR_TransferBaseSelect(), UI_BaseInventoryNodeDrawTooltip(), UI_ContainerNodeDrawTooltip(), UI_GetItemTooltip(), UI_GetPath(), UI_MaterialEditorStagesToName(), UI_StringNodeDrawTooltip(), UI_TodoNodeDrawTooltip(), UnparseEntities(), UP_AircraftDescription(), UP_AircraftItemDescription(), UP_BuildingDescription(), and UP_OpenMail_f().
int Q_StringSort | ( | const void * | string1, | |
const void * | string2 | |||
) |
Compare two strings.
[in] | string1 | The first string |
[in] | string2 | The second string |
Definition at line 306 of file shared.c.
Referenced by Com_MapDefSort(), FS_AddGameDirectory(), FS_ListFiles(), FS_LoadPackFile(), FS_MapDefSort(), and Irc_Client_Names_f().
const char* Q_stristr | ( | const char * | str, | |
const char * | substr | |||
) |
Definition at line 499 of file shared.c.
References Q_strncasecmp().
Referenced by R_SearchForVendor().
char* Q_strlwr | ( | char * | str | ) |
Definition at line 355 of file shared.c.
Referenced by FS_ListFiles(), and FS_LoadPackFile().
int Q_strncasecmp | ( | const char * | s1, | |
const char * | s2, | |||
size_t | n | |||
) |
Definition at line 366 of file shared.c.
Referenced by HTTP_Header(), Q_stristr(), and UI_ParseValueExpression().
void Q_strncpyz | ( | char * | dest, | |
const char * | src, | |||
size_t | destsize | |||
) |
Safe strncpy that ensures a trailing zero.
dest | Destination pointer | |
src | Source pointer | |
destsize | Size of destination buffer (this should be a sizeof size due to portability) |
Definition at line 398 of file shared.c.
References Sys_Error(), and UTF8_strncpyz().
Referenced by _Mem_CreatePool(), AIL_InitActor(), AIM_AircraftEquipMenuUpdate(), AIR_ChangeAircraftName_f(), AIR_LoadAircraftXML(), AIR_NewAircraft(), AIR_ParseAircraft(), B_BuildBase_f(), B_ChangeBaseName_f(), B_LoadXML(), B_SetBaseTitle_f(), BDEF_AddBattery_f(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_RemoveBattery_f(), Check_SetNodraw(), CheckMixedFaceContents(), CheckTexturesBasedOnFlags(), CIN_ROQ_PlayCinematic(), CIN_RunCinematic(), CL_AddMapParticle(), CL_CheckOrDownloadFile(), CL_Connect_f(), CL_DownloadUMPMap(), CL_HTTP_Progress(), CL_Init(), CL_LanguageInit(), CL_LanguageTest(), CL_LoadCharacterXML(), CL_ParseAlienTeam(), CL_ParseCampaign(), CL_ParseClientinfo(), CL_ParseComponents(), CL_ParseMapParticle(), CL_ParseParticle(), CL_ParsePtlCmds(), CL_ParseRanks(), CL_ParseSequence(), CL_ParseServerInfoMessage(), CL_ParticleGetArt(), CL_ParticleSpawnTimed(), CL_ProcessPingReply(), CL_QueryMasterServerThread(), CL_QueueHTTPDownload(), CL_SetHTTPServer(), CM_AddMapTile(), CM_LoadMap(), Cmd_Alias_f(), Cmd_GenericCompleteFunction(), Cmd_GetCommandDesc(), Cmd_TokenizeString(), CMod_LoadEntityString(), CMod_LoadSurfaces(), Com_ConsoleCompleteCommand(), Com_DefaultExtension(), Com_FilePath(), Com_GetCharacterValues(), Com_MacroExpandString(), Com_ParseCharacterTemplate(), Com_ParseDamageTypes(), Com_ParseEquipment(), Com_ParseGameTypes(), Com_ParseInventory(), Com_ParseItem(), Com_ParseTeam(), Com_ParseValue(), Com_RegisterConstInt(), Com_ReplaceFilename(), Com_SetValue(), Com_ValueToStr(), Com_WriteConfig_f(), Con_DrawInput(), Con_LoadConsoleHistory(), CP_CreateCivilianTeam(), CP_LoadMissionsXML(), E_ChangeName_f(), E_CreateEmployeeAtIndex(), ED_ParseEdict(), FindMiptex(), FS_AddGameDirectory(), FS_BuildFileList(), FS_CreatePath(), FS_GetCwd(), FS_GetFileData(), FS_GetMaps(), FS_ListFiles(), FS_LoadPackFile(), FS_NextScriptHeader(), FS_OpenFileSingle(), G_ClientUserinfoChanged(), G_SpawnAIPlayer(), G_SpawnEntities(), HOS_UpdateMenu(), HTTP_GetURL(), HTTP_Header(), HUD_UpdateActorFireMode(), Info_SetValueForKey(), INS_BuildInstallation_f(), INS_ChangeInstallationName_f(), INS_LoadXML(), Irc_Client_CmdPrivmsg(), Irc_Client_CmdRplNamreply(), Irc_Client_CmdRplWhowasuser(), Irc_Client_Names_f(), Irc_Client_Topic_f(), Irc_ParseName(), Irc_Proto_Join(), Irc_Proto_ProcessServerMsg(), Key_Console(), Key_WriteBindings_f(), LE_GetAnim(), LM_AddModel(), LoadModel(), M_Start(), main(), MP_AddChatMessage(), MP_SaveTeamMultiplayer(), MS_AddNewMessageSound(), MS_LoadXML(), NET_SockaddrToStrings(), NET_StreamPeerToName(), ParseBrush(), ParseFromMemory(), Q_strcat(), R_FontFindTruncFit(), R_FontGenerateTexture(), R_FontMakeChunks(), R_FontSetTruncationMarker(), R_InitExtensions(), R_LoadAnimImages(), R_LoadImageData(), R_LoadObjSkin(), R_LoadProgram(), R_LoadShader(), R_ModBeginLoading(), R_ModForName(), R_ModLoadAliasDPMModel(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD2Model(), R_ModLoadAliasMD3Model(), R_ModLoadAnims(), R_PrintInfo(), R_ProgramVariable(), S_Init(), SAV_GameLoad(), SAV_GameSave(), SAV_GameSave_f(), SEQ_Execute2Dobj(), SEQ_ExecuteModel(), SP_misc_model(), SP_worldspawn(), SV_AssembleMap(), SV_CompleteMapCommand(), SV_Map(), SV_Map_f(), SV_NextMapcycle(), SV_ParseAssembly(), SV_ParseMapcycle(), SV_ParseMapTile(), SV_ParseMapTileSet(), SV_ParseUMP(), SV_SetConfigString(), SVC_DirectConnect(), Sys_ConsoleInput(), Sys_FindFirst(), Sys_GetCurrentUser(), Sys_GetHomeDirectory(), testStringCopiers(), TexinfoForBrushTexture(), UFO_CampaignCheckEvents(), UI_AllocNodeWithoutNew(), UI_AllocStaticIcon(), UI_BarNodeCapturedMouseMove(), UI_BaseMapNodeDraw(), UI_BuildRadarImageList(), UI_CloneNode(), UI_DisplayNotice(), UI_DrawModelNode(), UI_InitOption(), UI_ModelNodeDraw(), UI_ParseProperty(), UI_ReadNodePath(), UI_TextEntryFocusGained(), UI_TextEntryNodeEdit(), UI_TextNodeDrawText(), UI_TextNodeGenerateLineSplit(), UM_Parameter(), UnparseEntities(), UP_SetMailHeader(), UR_DialogInit_f(), US_LoadXML(), and US_StoreUFO().
int Q_vsnprintf | ( | char * | str, | |
size_t | size, | |||
const char * | format, | |||
va_list | ap | |||
) |
Safe (null terminating) vsnprintf implementation.
Definition at line 477 of file shared.c.
References Com_Printf(), len, and UFO_SIZE_T.
Referenced by Check_Printf(), Com_DPrintf(), Com_Error(), Com_Printf(), Com_sprintf(), Com_vPrintf(), FS_CheckFile(), FS_Printf(), Irc_AppendToBuffer(), NET_OOB_Printf(), NET_VPrintf(), SV_BroadcastPrintf(), SV_Configstring(), SV_error(), SV_PlayerPrintf(), Sys_Error(), TEST_Printf(), UI_ExecuteConfunc(), va(), and Verb_Printf().
char* va | ( | const char * | format, | |
... | ||||
) |
does a varargs printf into a temp buffer, so I don't need to have varargs versions of all text functions.
Definition at line 331 of file shared.c.
References Q_vsnprintf(), and VA_BUFSIZE.
Referenced by AC_AlienClick(), AC_UpdateMenu(), AIM_AircraftEquipMenuUpdate(), AIM_AircraftItemtypeByName_f(), AIM_DrawAircraftSlots(), AIM_UpdateAircraftItemList(), AIR_AircraftSelect(), AIR_SendAircraftPursuingUFO(), AIRFIGHT_ExecuteActions(), B_AddBuildingToBasePos(), B_AssembleMap(), B_BaseInit_f(), B_BuildingDestroy(), B_BuildingStatus(), B_CheckBuildingConstruction(), B_Destroy_AntimaterStorage_f(), B_DrawBuilding(), B_InitCallbacks(), B_MakeBaseMapShot_f(), B_SellOrAddItems(), B_UpdateOneBaseBuildingStatusOnDisable(), B_UpdateOneBaseBuildingStatusOnEnable(), BaseSummary_Init(), BDEF_AddItem_f(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_RemoveItem_f(), BS_AddToList(), BS_BuyAircraft_f(), Cbuf_AddEarlyCommands(), CIN_PlayCinematic(), CL_ActorCvars(), CL_ActorDie(), CL_ActorEquipmentSelect_f(), CL_ActorPilotSelect_f(), CL_ActorRevitalised(), CL_ActorSelect(), CL_ActorTeamSelect_f(), CL_AssignPilot_f(), CL_AssignSoldier_f(), CL_BookmarkAdd_f(), CL_CampaignRunAircraft(), CL_CharacterSkillAndScoreCvars(), CL_CompleteNetworkAddress(), CL_DisplayPopupAircraft(), CL_DisplayPopupInterceptUFO(), CL_DownloadMap(), CL_DownloadUMPMap(), CL_EventAddMail_f(), CL_InitSkin_f(), CL_NationDrawStats(), CL_NationStatsUpdate_f(), CL_ParseServerInfoMessage(), CL_ParseStartSoundPacket(), CL_ParseTeamInfoMessage(), CL_ParticleLoadArt(), CL_QueryMasterServerThread(), CL_ServerListClick_f(), CL_StatsUpdate_f(), CL_UGVCvars(), CL_UpdateActorAircraftVar(), CL_UpdateCredits(), CL_UpdateEmployeeList(), CL_VideoInitMenu(), CLMN_AddBindings(), Cmd_ExecuteString(), CMod_LoadEntityString(), Com_GetConstIntFromNamespace(), Com_GetRandomMapAssemblyNameForCraft(), Com_MD5File(), Com_ParseTeam(), CP_BaseAttackStartMission(), CP_InitMissionResults(), CP_MissionEnd(), CP_NationStatsClick_f(), CP_StartMissionMap(), Cvar_AssertValue(), E_EmployeeDelete_f(), E_EmployeeListScroll_f(), E_UpdateGUICount_f(), FS_AddHomeAsGameDirectory(), FS_WriteFile(), G_GetStartingTeam(), G_Init(), G_MatchDoEnd(), G_UpdateCharacterSkills(), GAME_Abort_f(), GAME_CP_CharacterCvars(), GAME_CP_GetCampaigns_f(), GAME_MP_MapInfo(), GenerateFootstepList(), HOS_UpdateMenu(), HUD_DisplayFiremodeEntry(), HUD_RefreshButtons(), HUD_UpdateActor(), HUD_UpdateActorCvar(), HUD_UpdateAllActors(), IN_JoystickInitMenu(), Info_SetValueForKeyAsInteger(), INS_DestroyInstallation(), INS_LoadXML(), INS_ParseInstallations(), INS_SelectInstallation(), INV_ItemDescription(), Irc_Client_CmdPrivmsg(), Irc_Connect_f(), Irc_Proto_Msg(), Irc_UserClick_f(), Key_WriteBindings(), LET_StartIdle(), M_Start(), MAP_DrawMapMarkers(), MAP_GetAircraftText(), MAP_GetUFOText(), MAP_Init(), MAP_MultiSelectListAddItem(), Master_HeartbeatThread(), Master_Shutdown(), MP_MultiplayerTeamSlotComments_f(), MP_SaveTeamMultiplayer_f(), MP_ServerListInit(), MP_TeamSelect_f(), MP_UpdateMenuParameters_f(), MSO_InitList(), MSO_ParseSettings(), PR_AircraftInfo(), PR_DisassemblyInfo(), PR_ItemProductionInfo(), PR_ProductionChange_f(), PR_UpdateProductionList(), Qcommon_Init(), R_Draw3DGlobe(), R_DrawFlatGeoscape(), R_FindImage(), R_InitExtensions(), R_InitializeShader(), R_InitImages(), R_LoadAnimImages(), R_LoadMaterials(), R_LoadProgram(), R_ParseStage(), R_RegisterImage(), Rimp_Init(), RS_InitGUI(), RS_UpdateInfo(), S_LoadSampleChunk(), SAV_GameLoad(), SAV_GameLoad_f(), SAV_GameQuickLoadInit_f(), SAV_GameReadGameComment(), SAV_GameSaveNameCleanup_f(), SCR_DrawDownloading(), SCR_DrawLoading(), SCR_SetLoadingBackground(), SCR_UpdateScreen(), SV_AssembleMap(), SV_Frame(), SV_Map(), SV_SetConfigString(), SV_SetMaster_f(), SV_ShutdownGameProgs(), TR_CargoList(), TR_Init_f(), TR_InitBaseList(), TR_TransferAliensFromMission_f(), TR_TransferSelect(), TUT_GetTutorials_f(), TUT_ListClick_f(), UFO_AircraftToIDOnGeoscape(), UFO_CampaignCheckEvents(), UFO_MissionResultToString(), UFO_SearchAircraftTarget(), UI_AllocStaticStringCondition(), UI_AutoGenerateIcon(), UI_BaseInventoryNodeDraw2(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeDrawTooltip(), UI_BaseMapNodeDraw(), UI_BaseMapNodeDrawTooltip(), UI_ContainerNodeDrawTooltip(), UI_DrawFree(), UI_EditorNodeExtract_f(), UI_GenInjectedString(), UI_GenRadarMap_f(), UI_GetItemTooltip(), UI_GetStringFromExpression(), UI_GetStringFromNodeProperty(), UI_InitRadar(), UI_KeyBindingNodeKeyPressed(), UI_LoadImage(), UI_MapInfo(), UI_MaterialEditorStagesToName(), UI_MaterialEditorUpdate(), UI_ParseValueExpression(), UI_PlaySound(), UI_PopupButton(), UI_RadarNodeDraw(), UI_TextEntryNodeDraw(), UI_Tooltip(), UI_VideoNodeDrawOverWindow(), UP_AircraftDescription(), UP_AircraftItemDescription(), UP_Article(), UP_BuildingDescription(), UP_GenerateArticlesSummary(), UP_GenerateSummary(), UP_GetUnreadMails(), UP_OpenCopyWith(), UP_OpenMailWith(), UP_OpenWith(), UP_SetAllMailsRead_f(), UP_SetMailButtons_f(), and UP_SetMailHeader().