#include "ui_local.h"
Include dependency graph for ui_syscalls.c:

Go to the source code of this file.
Functions | |
| void | dllEntry (int(QDECL *syscallptr)(int arg,...)) |
| int (QDECL *syscall)(int arg | |
| int | PASSFLOAT (float x) |
| int | trap_Argc (void) |
| void | trap_Argv (int n, char *buffer, int bufferLength) |
| void | trap_CIN_DrawCinematic (int handle) |
| int | trap_CIN_PlayCinematic (const char *arg0, int xpos, int ypos, int width, int height, int bits) |
| e_status | trap_CIN_RunCinematic (int handle) |
| void | trap_CIN_SetExtents (int handle, int x, int y, int w, int h) |
| e_status | trap_CIN_StopCinematic (int handle) |
| int | trap_CM_LerpTag (orientation_t *tag, clipHandle_t mod, int startFrame, int endFrame, float frac, const char *tagName) |
| void | trap_Cmd_ExecuteText (int exec_when, const char *text) |
| void | trap_Cvar_Create (const char *var_name, const char *var_value, int flags) |
| void | trap_Cvar_InfoStringBuffer (int bit, char *buffer, int bufsize) |
| void | trap_Cvar_Register (vmCvar_t *cvar, const char *var_name, const char *value, int flags) |
| void | trap_Cvar_Reset (const char *name) |
| void | trap_Cvar_Set (const char *var_name, const char *value) |
| void | trap_Cvar_SetValue (const char *var_name, float value) |
| void | trap_Cvar_Update (vmCvar_t *cvar) |
| void | trap_Cvar_VariableStringBuffer (const char *var_name, char *buffer, int bufsize) |
| float | trap_Cvar_VariableValue (const char *var_name) |
| void | trap_Error (const char *string) |
| void | trap_FS_FCloseFile (fileHandle_t f) |
| int | trap_FS_FOpenFile (const char *qpath, fileHandle_t *f, fsMode_t mode) |
| int | trap_FS_GetFileList (const char *path, const char *extension, char *listbuf, int bufsize) |
| void | trap_FS_Read (void *buffer, int len, fileHandle_t f) |
| int | trap_FS_Seek (fileHandle_t f, long offset, int origin) |
| void | trap_FS_Write (const void *buffer, int len, fileHandle_t f) |
| void | trap_GetCDKey (char *buf, int buflen) |
| void | trap_GetClientState (uiClientState_t *state) |
| void | trap_GetClipboardData (char *buf, int bufsize) |
| int | trap_GetConfigString (int index, char *buff, int buffsize) |
| void | trap_GetGlconfig (glconfig_t *glconfig) |
| void | trap_Key_ClearStates (void) |
| void | trap_Key_GetBindingBuf (int keynum, char *buf, int buflen) |
| int | trap_Key_GetCatcher (void) |
| qboolean | trap_Key_GetOverstrikeMode (void) |
| qboolean | trap_Key_IsDown (int keynum) |
| void | trap_Key_KeynumToStringBuf (int keynum, char *buf, int buflen) |
| void | trap_Key_SetBinding (int keynum, const char *binding) |
| void | trap_Key_SetCatcher (int catcher) |
| void | trap_Key_SetOverstrikeMode (qboolean state) |
| int | trap_LAN_AddServer (int source, const char *name, const char *addr) |
| void | trap_LAN_ClearPing (int n) |
| int | trap_LAN_CompareServers (int source, int sortKey, int sortDir, int s1, int s2) |
| void | trap_LAN_GetPing (int n, char *buf, int buflen, int *pingtime) |
| void | trap_LAN_GetPingInfo (int n, char *buf, int buflen) |
| int | trap_LAN_GetPingQueueCount (void) |
| void | trap_LAN_GetServerAddressString (int source, int n, char *buf, int buflen) |
| int | trap_LAN_GetServerCount (int source) |
| void | trap_LAN_GetServerInfo (int source, int n, char *buf, int buflen) |
| int | trap_LAN_GetServerPing (int source, int n) |
| void | trap_LAN_LoadCachedServers () |
| void | trap_LAN_MarkServerVisible (int source, int n, qboolean visible) |
| void | trap_LAN_RemoveServer (int source, const char *addr) |
| void | trap_LAN_ResetPings (int n) |
| void | trap_LAN_SaveCachedServers () |
| int | trap_LAN_ServerIsVisible (int source, int n) |
| int | trap_LAN_ServerStatus (const char *serverAddress, char *serverStatus, int maxLen) |
| qboolean | trap_LAN_UpdateVisiblePings (int source) |
| int | trap_MemoryRemaining (void) |
| int | trap_Milliseconds (void) |
| int | trap_PC_AddGlobalDefine (char *define) |
| int | trap_PC_FreeSource (int handle) |
| int | trap_PC_LoadSource (const char *filename) |
| int | trap_PC_ReadToken (int handle, pc_token_t *pc_token) |
| int | trap_PC_SourceFileAndLine (int handle, char *filename, int *line) |
| void | trap_Print (const char *string) |
| void | trap_R_AddLightToScene (const vec3_t org, float intensity, float r, float g, float b) |
| void | trap_R_AddPolyToScene (qhandle_t hShader, int numVerts, const polyVert_t *verts) |
| void | trap_R_AddRefEntityToScene (const refEntity_t *re) |
| void | trap_R_ClearScene (void) |
| void | trap_R_DrawStretchPic (float x, float y, float w, float h, float s1, float t1, float s2, float t2, qhandle_t hShader) |
| void | trap_R_ModelBounds (clipHandle_t model, vec3_t mins, vec3_t maxs) |
| void | trap_R_RegisterFont (const char *fontName, int pointSize, fontInfo_t *font) |
| qhandle_t | trap_R_RegisterModel (const char *name) |
| qhandle_t | trap_R_RegisterShaderNoMip (const char *name) |
| qhandle_t | trap_R_RegisterSkin (const char *name) |
| void | trap_R_RemapShader (const char *oldShader, const char *newShader, const char *timeOffset) |
| void | trap_R_RenderScene (const refdef_t *fd) |
| void | trap_R_SetColor (const float *rgba) |
| int | trap_RealTime (qtime_t *qtime) |
| sfxHandle_t | trap_S_RegisterSound (const char *sample, qboolean compressed) |
| void | trap_S_StartBackgroundTrack (const char *intro, const char *loop) |
| void | trap_S_StartLocalSound (sfxHandle_t sfx, int channelNum) |
| void | trap_S_StopBackgroundTrack (void) |
| void | trap_SetCDKey (char *buf) |
| void | trap_SetPbClStatus (int status) |
| void | trap_UpdateScreen (void) |
| qboolean | trap_VerifyCDKey (const char *key, const char *chksum) |
|
|
Definition at line 33 of file ui_syscalls.c. Referenced by Sys_LoadDll(). 00033 {
00034 syscall = syscallptr;
00035 }
|
|
|
|
|
|
Definition at line 37 of file ui_syscalls.c. Referenced by testPrintFloat(), trap_AAS_PredictClientMovement(), trap_BotAddAvoidSpot(), trap_BotChooseNBGItem(), trap_BotLibStartFrame(), trap_BotLoadCharacter(), trap_BotMoveInDirection(), trap_BotMovementViewTarget(), trap_BotSetAvoidGoalTime(), trap_Characteristic_BFloat(), trap_CM_LerpTag(), trap_Cvar_SetValue(), trap_EA_EndRegular(), trap_EA_GetInput(), trap_EA_Move(), trap_R_AddAdditiveLightToScene(), trap_R_AddLightToScene(), trap_R_DrawStretchPic(), trap_R_LerpTag(), and trap_SetUserCmdValue(). 00037 {
00038 float floatTemp;
00039 floatTemp = x;
00040 return *(int *)&floatTemp;
00041 }
|
|
|
Definition at line 93 of file ui_syscalls.c. References CG_ARGC, and UI_ARGC. 00093 {
00094 return syscall( UI_ARGC );
00095 }
|
|
||||||||||||||||
|
Definition at line 97 of file ui_syscalls.c. References buffer, CG_ARGV, n, and UI_ARGV. Referenced by CG_Argv(), CG_TargetCommand_f(), ClientCommand(), Cmd_CallTeamVote_f(), Cmd_CallVote_f(), Cmd_Follow_f(), Cmd_GameCommand_f(), Cmd_SetViewpos_f(), Cmd_Team_f(), Cmd_TeamTask_f(), Cmd_TeamVote_f(), Cmd_Tell_f(), Cmd_VoiceTell_f(), Cmd_Vote_f(), ConcatArgs(), ConsoleCommand(), Svcmd_AddBot_f(), Svcmd_AddIP_f(), Svcmd_ForceTeam_f(), Svcmd_RemoveIP_f(), and UI_Argv(). 00097 {
00098 syscall( UI_ARGV, n, buffer, bufferLength );
00099 }
|
|
|
Definition at line 380 of file ui_syscalls.c. References CG_CIN_DRAWCINEMATIC, and UI_CIN_DRAWCINEMATIC. Referenced by UI_DrawCinematic(), UI_DrawClanCinematic(), UI_DrawMapCinematic(), UI_DrawNetMapCinematic(), and UI_DrawPreviewCinematic(). 00380 {
00381 syscall(UI_CIN_DRAWCINEMATIC, handle);
00382 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 362 of file ui_syscalls.c. References bits, CG_CIN_PLAYCINEMATIC, height, UI_CIN_PLAYCINEMATIC, and width. Referenced by UI_DrawClanCinematic(), UI_DrawMapCinematic(), UI_DrawPreviewCinematic(), UI_FeederSelection(), and UI_PlayCinematic(). 00362 {
00363 return syscall(UI_CIN_PLAYCINEMATIC, arg0, xpos, ypos, width, height, bits);
00364 }
|
|
|
Definition at line 374 of file ui_syscalls.c. References CG_CIN_RUNCINEMATIC, e_status, and UI_CIN_RUNCINEMATIC. Referenced by UI_DrawClanCinematic(), UI_DrawMapCinematic(), UI_DrawNetMapCinematic(), UI_DrawPreviewCinematic(), and UI_RunCinematicFrame(). 00374 {
00375 return syscall(UI_CIN_RUNCINEMATIC, handle);
00376 }
|
|
||||||||||||||||||||||||
|
Definition at line 386 of file ui_syscalls.c. References CG_CIN_SETEXTENTS, h(), UI_CIN_SETEXTENTS, w, x, and y. Referenced by UI_DrawCinematic(), UI_DrawClanCinematic(), UI_DrawMapCinematic(), UI_DrawNetMapCinematic(), and UI_DrawPreviewCinematic(). 00386 {
00387 syscall(UI_CIN_SETEXTENTS, handle, x, y, w, h);
00388 }
|
Here is the call graph for this function:

|
|
Definition at line 368 of file ui_syscalls.c. References CG_CIN_STOPCINEMATIC, e_status, and UI_CIN_STOPCINEMATIC. Referenced by UI_ClanName_HandleKey(), UI_FeederSelection(), UI_RunMenuScript(), and UI_StopCinematic(). 00368 {
00369 return syscall(UI_CIN_STOPCINEMATIC, handle);
00370 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 181 of file ui_syscalls.c. References PASSFLOAT(), and UI_CM_LERPTAG. Referenced by UI_PositionEntityOnTag(), and UI_PositionRotatedEntityOnTag(). 00181 {
00182 return syscall( UI_CM_LERPTAG, tag, mod, startFrame, endFrame, PASSFLOAT(frac), tagName );
00183 }
|
Here is the call graph for this function:

|
||||||||||||
|
||||||||||||||||
|
Definition at line 85 of file ui_syscalls.c. References UI_CVAR_CREATE. 00085 {
00086 syscall( UI_CVAR_CREATE, var_name, var_value, flags );
00087 }
|
|
||||||||||||||||
|
Definition at line 89 of file ui_syscalls.c. References buffer, and UI_CVAR_INFOSTRINGBUFFER. 00089 {
00090 syscall( UI_CVAR_INFOSTRINGBUFFER, bit, buffer, bufsize );
00091 }
|
|
||||||||||||||||||||
|
Definition at line 55 of file ui_syscalls.c. References CG_CVAR_REGISTER, UI_CVAR_REGISTER, and value. Referenced by _UI_Init(), ArenaServers_MenuInit(), BotAILoadMap(), BotAISetup(), BotSetupDeathmatchAI(), CG_RegisterCvars(), G_InitBots(), G_LoadArenas(), G_LoadBots(), G_RegisterCvars(), UI_LoadArenas(), UI_LoadBots(), and UI_RegisterCvars(). 00055 {
00056 syscall( UI_CVAR_REGISTER, cvar, var_name, value, flags );
00057 }
|
|
|
Definition at line 81 of file ui_syscalls.c. References name, and UI_CVAR_RESET. Referenced by Controls_InitCvars(), and Preferences_Event(). 00081 {
00082 syscall( UI_CVAR_RESET, name );
00083 }
|
|
||||||||||||
|
||||||||||||
|
Definition at line 77 of file ui_syscalls.c. References PASSFLOAT(), UI_CVAR_SETVALUE, and value. Referenced by ArenaServers_Event(), Controls_InitCvars(), Controls_SetConfig(), GraphicsOptions_ApplyChanges(), PlayerSettings_SaveChanges(), Preferences_Event(), Reset_MenuEvent(), ServerOptions_Start(), StartServer_MenuEvent(), UI_DisplayOptionsMenu_Event(), UI_Effects_HandleKey(), UI_NetworkOptionsMenu_Event(), UI_RunMenuScript(), UI_SoundOptionsMenu_Event(), UI_SPArena_Start(), UI_SPLevelMenu_LevelEvent(), UI_SPLevelMenu_ResetAction(), UI_SPLevelMenu_SetMenuItems(), UI_SPPostgameMenu_MenuDraw(), UI_SPSkillMenu_SkillEvent(), UI_StartSkirmish(), and UI_Update(). 00077 {
00078 syscall( UI_CVAR_SETVALUE, var_name, PASSFLOAT( value ) );
00079 }
|
Here is the call graph for this function:

|
|
Definition at line 59 of file ui_syscalls.c. References CG_CVAR_UPDATE, and UI_CVAR_UPDATE. Referenced by BotAIStartFrame(), BotCheckConsoleMessages(), BotInterbreedEndMatch(), BotInterbreeding(), BotTestAAS(), CG_UpdateCvars(), G_CheckMinimumPlayers(), G_UpdateCvars(), and UI_UpdateCvars(). 00059 {
00060 syscall( UI_CVAR_UPDATE, cvar );
00061 }
|
|
||||||||||||||||
|
Here is the call graph for this function:

|
|
Definition at line 47 of file ui_syscalls.c. References CG_ERROR, string(), and UI_ERROR. Referenced by CG_Error(), Com_Error(), G_Error(), Menu_AddItem(), Menu_Draw(), MField_Draw(), UI_LoadMenus(), UI_PopMenu(), UI_PushMenu(), and UI_SetLerpFrameAnimation(). 00047 {
00048 syscall( UI_ERROR, string );
00049 }
|
Here is the call graph for this function:

|
|
Definition at line 117 of file ui_syscalls.c. References CG_FS_FCLOSEFILE, f, and UI_FS_FCLOSEFILE. Referenced by CG_HeadModelVoiceChats(), CG_ParseAnimationFile(), CG_ParseVoiceChats(), G_LoadArenasFromFile(), G_LoadBotsFromFile(), G_ShutdownGame(), GetMenuBuffer(), UI_CalcPostGameStats(), UI_ClearScores(), UI_LoadArenasFromFile(), UI_LoadBestScores(), UI_LoadBotsFromFile(), and UI_ParseAnimationFile(). 00117 {
00118 syscall( UI_FS_FCLOSEFILE, f );
00119 }
|
|
||||||||||||||||
|
Definition at line 105 of file ui_syscalls.c. References CG_FS_FOPENFILE, f, mode, and UI_FS_FOPENFILE. Referenced by CG_FileExists(), CG_HeadModelVoiceChats(), CG_ParseAnimationFile(), CG_ParseVoiceChats(), G_InitGame(), G_LoadArenasFromFile(), G_LoadBotsFromFile(), GetMenuBuffer(), UI_CalcPostGameStats(), UI_ClearScores(), UI_FileExists(), UI_hasSkinForBase(), UI_LoadArenasFromFile(), UI_LoadBestScores(), UI_LoadBotsFromFile(), and UI_ParseAnimationFile(). 00105 {
00106 return syscall( UI_FS_FOPENFILE, qpath, f, mode );
00107 }
|
|
||||||||||||||||||||
|
Definition at line 121 of file ui_syscalls.c. References G_FS_GETFILELIST, and UI_FS_GETFILELIST. Referenced by Demos_MenuInit(), G_LoadArenas(), G_LoadBots(), LoadConfig_MenuInit(), PlayerModel_BuildList(), UI_BuildQ3Model_List(), UI_ClearScores(), UI_LoadArenas(), UI_LoadBots(), UI_LoadDemos(), UI_LoadMods(), UI_LoadMovies(), UI_LoadTeams(), UI_Mods_LoadMods(), and UI_TeamArenaExists(). 00121 {
00122 return syscall( UI_FS_GETFILELIST, path, extension, listbuf, bufsize );
00123 }
|
|
||||||||||||||||
|
Definition at line 109 of file ui_syscalls.c. References buffer, CG_FS_READ, f, and UI_FS_READ. Referenced by CG_HeadModelVoiceChats(), CG_ParseAnimationFile(), CG_ParseVoiceChats(), G_LoadArenasFromFile(), G_LoadBotsFromFile(), GetMenuBuffer(), UI_CalcPostGameStats(), UI_LoadArenasFromFile(), UI_LoadBestScores(), UI_LoadBotsFromFile(), and UI_ParseAnimationFile(). 00109 {
00110 syscall( UI_FS_READ, buffer, len, f );
00111 }
|
|
||||||||||||||||
|
Definition at line 125 of file ui_syscalls.c. References CG_FS_SEEK, f, offset, and UI_FS_SEEK. 00125 {
00126 return syscall( UI_FS_SEEK, f, offset, origin );
00127 }
|
|
||||||||||||||||
|
Definition at line 113 of file ui_syscalls.c. References buffer, CG_FS_WRITE, f, and UI_FS_WRITE. Referenced by G_LogPrintf(), UI_CalcPostGameStats(), and UI_ClearScores(). 00113 {
00114 syscall( UI_FS_WRITE, buffer, len, f );
00115 }
|
|
||||||||||||
|
Definition at line 321 of file ui_syscalls.c. References UI_GET_CDKEY. Referenced by UI_CDKeyMenu_Init(), UI_MainMenu(), and UI_RunMenuScript(). 00321 {
00322 syscall( UI_GET_CDKEY, buf, buflen );
00323 }
|
|
|
Definition at line 233 of file ui_syscalls.c. References state, and UI_GETCLIENTSTATE. Referenced by InGame_MenuInit(), Options_MenuInit(), UI_BuildPlayerList(), UI_ConfirmMenu_Style(), UI_DrawConnectScreen(), UI_Message(), UI_ResetMenu(), UI_TeamOrdersMenu_BuildBotList(), and UI_TeamOrdersMenu_f(). 00233 {
00234 syscall( UI_GETCLIENTSTATE, state );
00235 }
|
|
||||||||||||
|
Definition at line 229 of file ui_syscalls.c. References UI_GETCLIPBOARDDATA. Referenced by MField_Paste(). 00229 {
00230 syscall( UI_GETCLIPBOARDDATA, buf, bufsize );
00231 }
|
|
||||||||||||||||
|
Definition at line 241 of file ui_syscalls.c. References UI_GETCONFIGSTRING. Referenced by InGame_MenuInit(), Prepname(), TeamMain_MenuInit(), UI_AddBotsMenu_Init(), UI_BuildPlayerList(), UI_CalcPostGameStats(), UI_DrawConnectScreen(), UI_RemoveBotsMenu_GetBots(), UI_RemoveBotsMenu_SetBotNames(), UI_ServerInfoMenu(), UI_SPPostgameMenu_f(), UI_SPPostgameMenu_MenuDraw(), UI_SPPostgameMenu_MenuDrawScoreLine(), UI_TeamOrdersMenu_BuildBotList(), and UI_TeamOrdersMenu_f(). 00241 {
00242 return syscall( UI_GETCONFIGSTRING, index, buff, buffsize );
00243 }
|
|
|
Definition at line 237 of file ui_syscalls.c. References CG_GETGLCONFIG, and UI_GETGLCONFIG. Referenced by _UI_Init(), CG_Init(), and UI_Init(). 00237 {
00238 syscall( UI_GETGLCONFIG, glconfig );
00239 }
|
|
|
Definition at line 217 of file ui_syscalls.c. References UI_KEY_CLEARSTATES. 00217 {
00218 syscall( UI_KEY_CLEARSTATES );
00219 }
|
|
||||||||||||||||
|
Definition at line 197 of file ui_syscalls.c. References UI_KEY_GETBINDINGBUF. Referenced by Controls_GetKeyAssignment(). 00197 {
00198 syscall( UI_KEY_GETBINDINGBUF, keynum, buf, buflen );
00199 }
|
|
|
Definition at line 221 of file ui_syscalls.c. References CG_KEY_GETCATCHER, and UI_KEY_GETCATCHER. 00221 {
00222 return syscall( UI_KEY_GETCATCHER );
00223 }
|
|
|
Definition at line 209 of file ui_syscalls.c. References qboolean, and UI_KEY_GETOVERSTRIKEMODE. 00209 {
00210 return syscall( UI_KEY_GETOVERSTRIKEMODE );
00211 }
|
|
|
Definition at line 205 of file ui_syscalls.c. References CG_KEY_ISDOWN, qboolean, and UI_KEY_ISDOWN. Referenced by MField_KeyDownEvent(). 00205 {
00206 return syscall( UI_KEY_ISDOWN, keynum );
00207 }
|
|
||||||||||||||||
|
Definition at line 193 of file ui_syscalls.c. References UI_KEY_KEYNUMTOSTRINGBUF. Referenced by Controls_DrawKeyBinding(). 00193 {
00194 syscall( UI_KEY_KEYNUMTOSTRINGBUF, keynum, buf, buflen );
00195 }
|
|
||||||||||||
|
Definition at line 201 of file ui_syscalls.c. References UI_KEY_SETBINDING. Referenced by Controls_MenuKey(), and Controls_SetConfig(). 00201 {
00202 syscall( UI_KEY_SETBINDING, keynum, binding );
00203 }
|
|
|
Definition at line 225 of file ui_syscalls.c. References CG_KEY_SETCATCHER, and UI_KEY_SETCATCHER. Referenced by _UI_KeyEvent(), _UI_SetActiveMenu(), CG_KeyEvent(), CG_MouseEvent(), UI_ForceMenuOff(), UI_MainMenu(), UI_Pause(), UI_PushMenu(), UI_RunMenuScript(), UI_SPLevelMenu_f(), and UI_SPPostgameMenu_f(). 00225 {
00226 syscall( UI_KEY_SETCATCHER, catcher );
00227 }
|
|
|
Definition at line 213 of file ui_syscalls.c. References state, and UI_KEY_SETOVERSTRIKEMODE. Referenced by MField_KeyDownEvent(). 00213 {
00214 syscall( UI_KEY_SETOVERSTRIKEMODE, state );
00215 }
|
|
||||||||||||||||
|
Definition at line 305 of file ui_syscalls.c. References name, source, and UI_LAN_ADDSERVER. Referenced by UI_RunMenuScript(). 00305 {
00306 return syscall( UI_LAN_ADDSERVER, source, name, addr );
00307 }
|
|
|
Definition at line 281 of file ui_syscalls.c. References n, and UI_LAN_CLEARPING. Referenced by ArenaServers_DoRefresh(), and ArenaServers_StartRefresh(). 00281 {
00282 syscall( UI_LAN_CLEARPING, n );
00283 }
|
|
||||||||||||||||||||||||
|
Definition at line 313 of file ui_syscalls.c. References source, and UI_LAN_COMPARESERVERS. Referenced by UI_BinaryServerInsertion(), and UI_ServersQsortCompare(). 00313 {
00314 return syscall( UI_LAN_COMPARESERVERS, source, sortKey, sortDir, s1, s2 );
00315 }
|
|
||||||||||||||||||||
|
Definition at line 285 of file ui_syscalls.c. References n, and UI_LAN_GETPING. Referenced by ArenaServers_DoRefresh(). 00285 {
00286 syscall( UI_LAN_GETPING, n, buf, buflen, pingtime );
00287 }
|
|
||||||||||||||||
|
Definition at line 289 of file ui_syscalls.c. References n, and UI_LAN_GETPINGINFO. Referenced by ArenaServers_DoRefresh(). 00289 {
00290 syscall( UI_LAN_GETPINGINFO, n, buf, buflen );
00291 }
|
|
|
Definition at line 261 of file ui_syscalls.c. References UI_LAN_GETPINGQUEUECOUNT. 00261 {
00262 return syscall( UI_LAN_GETPINGQUEUECOUNT );
00263 }
|
|
||||||||||||||||||||
|
Definition at line 249 of file ui_syscalls.c. References n, source, and UI_LAN_GETSERVERADDRESSSTRING. Referenced by ArenaServers_DoRefresh(), UI_BuildFindPlayerList(), and UI_RunMenuScript(). 00249 {
00250 syscall( UI_LAN_GETSERVERADDRESSSTRING, source, n, buf, buflen );
00251 }
|
|
|
Definition at line 245 of file ui_syscalls.c. References source, and UI_LAN_GETSERVERCOUNT. Referenced by ArenaServers_DoRefresh(), UI_BuildServerDisplayList(), UI_DoServerRefresh(), UI_DrawServerRefreshDate(), and UI_StopServerRefresh(). 00245 {
00246 return syscall( UI_LAN_GETSERVERCOUNT, source );
00247 }
|
|
||||||||||||||||||||
|
Definition at line 253 of file ui_syscalls.c. References n, source, and UI_LAN_GETSERVERINFO. Referenced by UI_BuildFindPlayerList(), UI_BuildServerDisplayList(), UI_FeederItemText(), UI_FeederSelection(), and UI_RunMenuScript(). 00253 {
00254 syscall( UI_LAN_GETSERVERINFO, source, n, buf, buflen );
00255 }
|
|
||||||||||||
|
Definition at line 257 of file ui_syscalls.c. References n, source, and UI_LAN_GETSERVERPING. Referenced by UI_BuildServerDisplayList(). 00257 {
00258 return syscall( UI_LAN_GETSERVERPING, source, n );
00259 }
|
|
|
Definition at line 273 of file ui_syscalls.c. References UI_LAN_LOADCACHEDSERVERS. Referenced by _UI_Init(). 00273 {
00274 syscall( UI_LAN_LOADCACHEDSERVERS );
00275 }
|
|
||||||||||||||||
|
Definition at line 293 of file ui_syscalls.c. References n, source, and UI_LAN_MARKSERVERVISIBLE. Referenced by UI_BuildServerDisplayList(), and UI_StartServerRefresh(). 00293 {
00294 syscall( UI_LAN_MARKSERVERVISIBLE, source, n, visible );
00295 }
|
|
||||||||||||
|
Definition at line 309 of file ui_syscalls.c. References source, and UI_LAN_REMOVESERVER. Referenced by UI_RunMenuScript(). 00309 {
00310 syscall( UI_LAN_REMOVESERVER, source, addr );
00311 }
|
|
|
Definition at line 277 of file ui_syscalls.c. References n, and UI_LAN_RESETPINGS. Referenced by UI_StartServerRefresh(), and UI_UpdatePendingPings(). 00277 {
00278 syscall( UI_LAN_RESETPINGS, n );
00279 }
|
|
|
Definition at line 269 of file ui_syscalls.c. References UI_LAN_SAVECACHEDSERVERS. Referenced by _UI_Shutdown(). 00269 {
00270 syscall( UI_LAN_SAVECACHEDSERVERS );
00271 }
|
|
||||||||||||
|
Definition at line 297 of file ui_syscalls.c. References n, source, and UI_LAN_SERVERISVISIBLE. Referenced by UI_BuildServerDisplayList(). 00297 {
00298 return syscall( UI_LAN_SERVERISVISIBLE, source, n );
00299 }
|
|
||||||||||||||||
|
Definition at line 265 of file ui_syscalls.c. References UI_LAN_SERVERSTATUS. Referenced by UI_BuildFindPlayerList(), UI_BuildServerStatus(), and UI_GetServerStatusInfo(). 00265 {
00266 return syscall( UI_LAN_SERVERSTATUS, serverAddress, serverStatus, maxLen );
00267 }
|
|
|
Definition at line 301 of file ui_syscalls.c. References qboolean, source, and UI_LAN_UPDATEVISIBLEPINGS. Referenced by UI_DoServerRefresh(). 00301 {
00302 return syscall( UI_LAN_UPDATEVISIBLEPINGS, source );
00303 }
|
|
|
Definition at line 317 of file ui_syscalls.c. References CG_MEMORY_REMAINING, and UI_MEMORY_REMAINING. 00317 {
00318 return syscall( UI_MEMORY_REMAINING );
00319 }
|
|
|
Definition at line 51 of file ui_syscalls.c. References CG_MILLISECONDS, and UI_MILLISECONDS. 00051 {
00052 return syscall( UI_MILLISECONDS );
00053 }
|
|
|
Definition at line 329 of file ui_syscalls.c. References CG_PC_ADD_GLOBAL_DEFINE, and UI_PC_ADD_GLOBAL_DEFINE. 00329 {
00330 return syscall( UI_PC_ADD_GLOBAL_DEFINE, define );
00331 }
|
|
|
Definition at line 337 of file ui_syscalls.c. References CG_PC_FREE_SOURCE, and UI_PC_FREE_SOURCE. Referenced by UI_LoadMenus(), and UI_ParseMenu(). 00337 {
00338 return syscall( UI_PC_FREE_SOURCE, handle );
00339 }
|
|
|
Definition at line 333 of file ui_syscalls.c. References CG_PC_LOAD_SOURCE, and UI_PC_LOAD_SOURCE. Referenced by UI_LoadMenus(), and UI_ParseMenu(). 00333 {
00334 return syscall( UI_PC_LOAD_SOURCE, filename );
00335 }
|
|
||||||||||||
|
Definition at line 341 of file ui_syscalls.c. References CG_PC_READ_TOKEN, pc_token_t, and UI_PC_READ_TOKEN. Referenced by Asset_Parse(), Item_Parse(), ItemParse_cvarFloatList(), ItemParse_cvarStrList(), Load_Menu(), Menu_Parse(), PC_Float_Parse(), PC_Int_Parse(), PC_Script_Parse(), PC_String_Parse(), UI_LoadMenus(), and UI_ParseMenu(). 00341 {
00342 return syscall( UI_PC_READ_TOKEN, handle, pc_token );
00343 }
|
|
||||||||||||||||
|
Definition at line 345 of file ui_syscalls.c. References CG_PC_SOURCE_FILE_AND_LINE, line, and UI_PC_SOURCE_FILE_AND_LINE. Referenced by PC_SourceError(), and PC_SourceWarning(). 00345 {
00346 return syscall( UI_PC_SOURCE_FILE_AND_LINE, handle, filename, line );
00347 }
|
|
|
Definition at line 43 of file ui_syscalls.c. References CG_PRINT, string(), and UI_PRINT. Referenced by CG_HeadModelVoiceChats(), CG_ParseVoiceChats(), CG_Printf(), Com_Printf(), GetMenuBuffer(), UI_GetArenaInfoByNumber(), UI_GetBotInfoByNumber(), UI_LoadArenas(), UI_LoadArenasFromFile(), UI_LoadBots(), UI_LoadBotsFromFile(), UI_LogAwardData(), UI_Mods_LoadMods(), UI_SPUnlock_f(), and UI_SPUnlockMedals_f(). 00043 {
00044 syscall( UI_PRINT, string );
00045 }
|
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Definition at line 157 of file ui_syscalls.c. References b, CG_R_ADDLIGHTTOSCENE, g(), PASSFLOAT(), r, and UI_R_ADDLIGHTTOSCENE. Referenced by CG_AddExplosion(), CG_AddPlayerWeapon(), CG_AddSpriteExplosion(), CG_EntityEffects(), CG_Missile(), CG_PlayerPowerups(), and UI_DrawPlayer(). 00157 {
00158 syscall( UI_R_ADDLIGHTTOSCENE, org, PASSFLOAT(intensity), PASSFLOAT(r), PASSFLOAT(g), PASSFLOAT(b) );
00159 }
|
Here is the call graph for this function:

|
||||||||||||||||
|
Definition at line 153 of file ui_syscalls.c. References CG_R_ADDPOLYTOSCENE, and UI_R_ADDPOLYTOSCENE. Referenced by CG_AddMarks(), CG_AddParticleToScene(), CG_ImpactMark(), CG_PlayerSplash(), and CG_Tracer(). 00153 {
00154 syscall( UI_R_ADDPOLYTOSCENE, hShader, numVerts, verts );
00155 }
|
|
|
Definition at line 149 of file ui_syscalls.c. References CG_R_ADDREFENTITYTOSCENE, re, and UI_R_ADDREFENTITYTOSCENE. Referenced by CG_AddExplosion(), CG_AddFadeRGB(), CG_AddFallScaleFade(), CG_AddFragment(), CG_AddMoveScaleFade(), CG_AddPlayerWeapon(), CG_AddRefEntityWithPowerups(), CG_AddScaleFade(), CG_AddScorePlum(), CG_AddSpriteExplosion(), CG_AddTestModel(), CG_AddWeaponWithPowerups(), CG_Beam(), CG_DamageBlendBlob(), CG_Draw3DModel(), CG_General(), CG_Grapple(), CG_GrappleTrail(), CG_Item(), CG_LightningBolt(), CG_Missile(), CG_Mover(), CG_Player(), CG_PlayerFlag(), CG_PlayerFloatSprite(), CG_Portal(), CG_TeamBase(), CG_TrailItem(), Main_MenuDraw(), UI_DrawPlayer(), and UI_PlayerFloatSprite(). 00149 {
00150 syscall( UI_R_ADDREFENTITYTOSCENE, re );
00151 }
|
|
|
Definition at line 145 of file ui_syscalls.c. References CG_R_CLEARSCENE, and UI_R_CLEARSCENE. 00145 {
00146 syscall( UI_R_CLEARSCENE );
00147 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 169 of file ui_syscalls.c. References CG_R_DRAWSTRETCHPIC, h(), PASSFLOAT(), UI_R_DRAWSTRETCHPIC, w, x, and y. Referenced by _UI_DrawSides(), _UI_DrawTopBottom(), CG_DrawChar(), CG_DrawInformation(), CG_DrawLagometer(), CG_DrawPic(), CG_DrawSides(), CG_DrawTopBottom(), CG_FillRect(), CG_TileClearBox(), Text_PaintChar(), UI_DrawBannerString2(), UI_DrawHandlePic(), UI_DrawNamedPic(), UI_DrawProportionalString2(), UI_DrawRect(), UI_DrawSides(), UI_DrawString2(), UI_DrawTopBottom(), and UI_FillRect(). 00169 {
00170 syscall( UI_R_DRAWSTRETCHPIC, PASSFLOAT(x), PASSFLOAT(y), PASSFLOAT(w), PASSFLOAT(h), PASSFLOAT(s1), PASSFLOAT(t1), PASSFLOAT(s2), PASSFLOAT(t2), hShader );
00171 }
|
Here is the call graph for this function:

|
||||||||||||||||
|
Definition at line 173 of file ui_syscalls.c. References CG_R_MODELBOUNDS, and UI_R_MODELBOUNDS. Referenced by CG_DrawFlagModel(), CG_DrawHead(), CG_DrawSelectedPlayerHead(), CG_RegisterGraphics(), and CG_RegisterWeapon(). 00173 {
00174 syscall( UI_R_MODELBOUNDS, model, mins, maxs );
00175 }
|
|
||||||||||||||||
|
Definition at line 137 of file ui_syscalls.c. References CG_R_REGISTERFONT, and UI_R_REGISTERFONT. Referenced by Asset_Parse(). 00137 {
00138 syscall( UI_R_REGISTERFONT, fontName, pointSize, font );
00139 }
|
|
|
Definition at line 129 of file ui_syscalls.c. References CG_R_REGISTERMODEL, name, qhandle_t, and UI_R_REGISTERMODEL. Referenced by CG_AddTestModel(), CG_ConfigStringModified(), CG_RegisterClientModelname(), CG_RegisterGraphics(), CG_RegisterItemVisuals(), CG_RegisterWeapon(), CG_TestModel_f(), Controls_InitWeapons(), MainMenu_Cache(), UI_PlayerInfo_SetWeapon(), and UI_RegisterClientModelname(). 00129 {
00130 return syscall( UI_R_REGISTERMODEL, name );
00131 }
|
|
|
|
Definition at line 133 of file ui_syscalls.c. References CG_R_REGISTERSKIN, name, qhandle_t, and UI_R_REGISTERSKIN. Referenced by CG_RegisterClientSkin(), CG_RegisterGraphics(), and UI_RegisterClientSkin(). 00133 {
00134 return syscall( UI_R_REGISTERSKIN, name );
00135 }
|
|
||||||||||||||||
|
Definition at line 391 of file ui_syscalls.c. References CG_R_REMAP_SHADER, and UI_R_REMAP_SHADER. Referenced by CG_ServerCommand(), CG_ShaderStateChanged(), and UI_ConsoleCommand(). 00391 {
00392 syscall( UI_R_REMAP_SHADER, oldShader, newShader, timeOffset );
00393 }
|
|
|
Definition at line 161 of file ui_syscalls.c. References CG_R_RENDERSCENE, and UI_R_RENDERSCENE. Referenced by CG_Draw3DModel(), CG_DrawActive(), Main_MenuDraw(), and UI_DrawPlayer(). 00161 {
00162 syscall( UI_R_RENDERSCENE, fd );
00163 }
|
|
|
|
Definition at line 357 of file ui_syscalls.c. References CG_REAL_TIME, qtime_t, and UI_REAL_TIME. Referenced by UI_StartServerRefresh(). 00357 {
00358 return syscall( UI_REAL_TIME, qtime );
00359 }
|
|
||||||||||||
|
Definition at line 189 of file ui_syscalls.c. References CG_S_REGISTERSOUND, sfxHandle_t, and UI_S_REGISTERSOUND. Referenced by Asset_Parse(), AssetCache(), CG_ConfigStringModified(), CG_CustomSound(), CG_LoadClientInfo(), CG_LoadingClient(), CG_ParseVoiceChats(), CG_RegisterItemSounds(), CG_RegisterSounds(), CG_RegisterWeapon(), Menu_Cache(), PlayerModel_BuildList(), UI_SPLevelMenu_Cache(), UI_SPPostgameMenu_Cache(), UI_SPPostgameMenu_DrawAwardsPresentation(), UI_SPPostgameMenu_f(), and UI_SPSkillMenu_Cache(). 00189 {
00190 return syscall( UI_S_REGISTERSOUND, sample, compressed );
00191 }
|
|
||||||||||||
|
Definition at line 353 of file ui_syscalls.c. References CG_S_STARTBACKGROUNDTRACK, and UI_S_STARTBACKGROUNDTRACK. Referenced by CG_StartMusic(). 00353 {
00354 syscall( UI_S_STARTBACKGROUNDTRACK, intro, loop );
00355 }
|
|
||||||||||||
|
Definition at line 185 of file ui_syscalls.c. References CG_S_STARTLOCALSOUND, and UI_S_STARTLOCALSOUND. Referenced by CG_CheckAmmo(), CG_CheckLocalSounds(), CG_ConfigStringModified(), CG_DrawReward(), CG_DrawTeamVote(), CG_DrawVote(), CG_DrawWarmup(), CG_EntityEvent(), CG_MapRestart(), CG_ParseWarmup(), CG_PlayBufferedSounds(), CG_PlayVoiceChat(), CG_ServerCommand(), UI_DrawPlayer(), UI_KeyEvent(), UI_MouseEvent(), UI_OwnerDrawVisible(), UI_PopMenu(), UI_Refresh(), UI_SPLevelMenu_AwardEvent(), UI_SPPostgameMenu_DrawAwardsPresentation(), UI_SPPostgameMenu_MenuDraw(), UI_SPSkillMenu_BackEvent(), UI_SPSkillMenu_Init(), UI_SPSkillMenu_Key(), and UI_SPSkillMenu_SkillEvent(). 00185 {
00186 syscall( UI_S_STARTLOCALSOUND, sfx, channelNum );
00187 }
|
|
|
Definition at line 349 of file ui_syscalls.c. References CG_S_STOPBACKGROUNDTRACK, and UI_S_STOPBACKGROUNDTRACK. 00349 {
00350 syscall( UI_S_STOPBACKGROUNDTRACK );
00351 }
|
|
|
Definition at line 325 of file ui_syscalls.c. References UI_SET_CDKEY. Referenced by UI_CDKeyMenu_Event(), and UI_RunMenuScript(). 00325 {
00326 syscall( UI_SET_CDKEY, buf );
00327 }
|
|
|
Definition at line 399 of file ui_syscalls.c. References UI_SET_PBCLSTATUS. Referenced by Punkbuster_ConfirmDisable(), Punkbuster_ConfirmEnable(), and UI_RunMenuScript(). 00399 {
00400 syscall( UI_SET_PBCLSTATUS, status );
00401 }
|
|
|
Definition at line 177 of file ui_syscalls.c. References CG_UPDATESCREEN, and UI_UPDATESCREEN. 00177 {
00178 syscall( UI_UPDATESCREEN );
00179 }
|
|
||||||||||||
|
Definition at line 395 of file ui_syscalls.c. References qboolean, and UI_VERIFY_CDKEY. Referenced by UI_CDKeyMenu_Init(), UI_MainMenu(), and UI_RunMenuScript(). 00395 {
00396 return syscall( UI_VERIFY_CDKEY, key, chksum);
00397 }
|
1.3.9.1