Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ui_syscalls.c File Reference

#include "ui_local.h"

Include dependency graph for ui_syscalls.c:

Include dependency graph

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)


Function Documentation

void dllEntry int(QDECL *syscallptr)(int arg,...)   ) 
 

Definition at line 33 of file ui_syscalls.c.

Referenced by Sys_LoadDll().

00033                                                         {
00034     syscall = syscallptr;
00035 }

int QDECL *  syscall  )  [static]
 

int PASSFLOAT float  x  ) 
 

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 }

int trap_Argc void   ) 
 

Definition at line 93 of file ui_syscalls.c.

References CG_ARGC, and UI_ARGC.

00093                       {
00094     return syscall( UI_ARGC );
00095 }

void trap_Argv int  n,
char *  buffer,
int  bufferLength
 

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 }

void trap_CIN_DrawCinematic int  handle  ) 
 

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 }

int trap_CIN_PlayCinematic const char *  arg0,
int  xpos,
int  ypos,
int  width,
int  height,
int  bits
 

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 }

e_status trap_CIN_RunCinematic int  handle  ) 
 

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 }

void trap_CIN_SetExtents int  handle,
int  x,
int  y,
int  w,
int  h
 

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:

e_status trap_CIN_StopCinematic int  handle  ) 
 

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 }

int trap_CM_LerpTag orientation_t tag,
clipHandle_t  mod,
int  startFrame,
int  endFrame,
float  frac,
const char *  tagName
 

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:

void trap_Cmd_ExecuteText int  exec_when,
const char *  text
 

Definition at line 101 of file ui_syscalls.c.

References UI_CMD_EXECUTETEXT.

Referenced by ArenaServers_DoRefresh(), ArenaServers_Go(), ArenaServers_StartRefresh(), Controls_SetConfig(), Demos_MenuEvent(), GraphicsOptions_ApplyChanges(), InGame_Event(), InGame_RestartAction(), LoadConfig_MenuEvent(), Main_MenuEvent(), Menu_DefaultKey(), NeedCDAction(), NeedCDKeyAction(), Rankings_MenuEvent(), ServerOptions_Start(), Setup_ResetDefaults_Action(), SpecifyServer_Event(), TeamMain_MenuEvent(), UI_AddBotsMenu_FightEvent(), UI_CinematicsMenu_Event(), UI_CreditMenu_Key(), UI_KeyConnect(), UI_Mods_MenuEvent(), UI_RemoveBotsMenu_DeleteEvent(), UI_RunMenuScript(), UI_SaveConfigMenu_SaveEvent(), UI_SoundOptionsMenu_Event(), UI_SPArena_Start(), UI_SPPostgameMenu_AgainEvent(), UI_SPPostgameMenu_f(), UI_SPPostgameMenu_MenuDraw(), UI_SPPostgameMenu_MenuEvent(), UI_SPPostgameMenu_MenuKey(), UI_StartDemoLoop(), UI_StartServerRefresh(), UI_StartSkirmish(), and UI_TeamOrdersMenu_ListEvent().

00101                                                              {
00102     syscall( UI_CMD_EXECUTETEXT, exec_when, text );
00103 }

void trap_Cvar_Create const char *  var_name,
const char *  var_value,
int  flags
 

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 }

void trap_Cvar_InfoStringBuffer int  bit,
char *  buffer,
int  bufsize
 

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 }

void trap_Cvar_Register vmCvar_t cvar,
const char *  var_name,
const char *  value,
int  flags
 

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 }

void trap_Cvar_Reset const char *  name  ) 
 

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 }

void trap_Cvar_Set const char *  var_name,
const char *  value
 

Definition at line 63 of file ui_syscalls.c.

References CG_CVAR_SET, UI_CVAR_SET, and value.

Referenced by _UI_Init(), _UI_KeyEvent(), _UI_SetActiveMenu(), ArenaServers_SaveChanges(), BeginIntermission(), BotAIStartFrame(), BotInterbreedEndMatch(), BotInterbreeding(), BotWriteSessionData(), CG_CalcVrect(), CG_DrawActiveFrame(), CG_MapRestart(), CG_ParseServerinfo(), CG_PredictPlayerState(), CG_SetSelectedPlayerName(), CG_ShowResponseHead(), CG_SizeDown_f(), CG_SizeUp_f(), CG_StartOrbit_f(), CG_UpdateCvars(), CheckCvars(), CheckTournament(), ClientThink_real(), ErrorMessage_Key(), Favorites_Add(), G_InitBots(), G_RankRunFrame(), G_RegisterCvars(), G_RunFrame(), G_SpawnBots(), G_WriteClientSessionData(), G_WriteSessionData(), GraphicsOptions_ApplyChanges(), Main_MenuEvent(), PlayerModel_SaveChanges(), PlayerSettings_MenuEvent(), PlayerSettings_SaveChanges(), ServerOptions_Start(), SP_worldspawn(), SpecifyLeague_Event(), UI_BuildFindPlayerList(), UI_BuildPlayerList(), UI_CalcPostGameStats(), UI_CDKeyMenu_Init(), UI_CinematicsMenu_Event(), UI_ClanName_HandleKey(), UI_Crosshair_HandleKey(), UI_DrawJoinGameType(), UI_DrawMapCinematic(), UI_DrawMapPreview(), UI_DrawMapTimeToBeat(), UI_DrawNetGameType(), UI_DrawNetMapCinematic(), UI_FeederSelection(), UI_ForceMenuOff(), UI_GameType_HandleKey(), UI_Handicap_HandleKey(), UI_JoinGameType_HandleKey(), UI_LogAwardData(), UI_MainMenu(), UI_Mods_MenuEvent(), UI_NetGameType_HandleKey(), UI_NetSource_HandleKey(), UI_NewGame(), UI_NextOpponent(), UI_Pause(), UI_PriorOpponent(), UI_RunMenuScript(), UI_SelectedPlayer_HandleKey(), UI_SetActiveMenu(), UI_SetBestScore(), UI_SetBestScores(), UI_SetCapFragLimits(), UI_ShowPostGame(), UI_ShowTierVideo(), UI_Skill_HandleKey(), UI_SPLevelMenu_Init(), UI_SPPostgameMenu_MenuDraw(), UI_SPUnlock_f(), UI_SPUnlockMedals_f(), UI_StartServerRefresh(), UI_StartSkirmish(), UI_TeamMember_HandleKey(), UI_TeamName_HandleKey(), UI_Update(), and UpdateIPBans().

00063                                                               {
00064     syscall( UI_CVAR_SET, var_name, value );
00065 }

void trap_Cvar_SetValue const char *  var_name,
float  value
 

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:

void trap_Cvar_Update vmCvar_t cvar  ) 
 

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 }

void trap_Cvar_VariableStringBuffer const char *  var_name,
char *  buffer,
int  bufsize
 

Definition at line 73 of file ui_syscalls.c.

References buffer, CG_CVAR_VARIABLESTRINGBUFFER, and UI_CVAR_VARIABLESTRINGBUFFER.

Referenced by _UI_SetActiveMenu(), ArenaServers_LoadFavorites(), ArenaServers_StartRefresh(), BG_AddPredictableEventToPlayerstate(), BotInitLibrary(), BotReadSessionData(), CG_DrawInformation(), CG_NewClientInfo(), CG_RegisterCvars(), CG_StartOrbit_f(), Cmd_CallVote_f(), Controls_DrawPlayer(), Controls_MenuInit(), Favorites_Add(), G_InitWorldSession(), G_RankGameOver(), G_ReadSessionData(), PlayerModel_SetMenuItems(), PlayerSettings_DrawPlayer(), ServerOptions_InitPlayerItems(), SpecifyLeague_GetList(), trap_Cvar_VariableValue(), UI_BuildFindPlayerList(), UI_BuildServerDisplayList(), UI_CanShowTierVideo(), UI_Cvar_VariableString(), UI_DrawConnectScreen(), UI_GetAwardLevel(), UI_GetBestScore(), UI_LogAwardData(), UI_MainMenu(), UI_SetBestScore(), UI_ShowTierVideo(), UI_SPLevelMenu_Init(), UI_SPLevelMenu_MenuDraw(), UI_SPUnlock_f(), and UI_SPUnlockMedals_f().

00073                                                                                        {
00074     syscall( UI_CVAR_VARIABLESTRINGBUFFER, var_name, buffer, bufsize );
00075 }

float trap_Cvar_VariableValue const char *  var_name  ) 
 

Definition at line 67 of file ui_syscalls.c.

References atof(), trap_Cvar_VariableStringBuffer(), and UI_CVAR_VARIABLEVALUE.

Referenced by _UI_Init(), ArenaServers_MaxPing(), ArenaServers_MenuInit(), ArenaServers_StartRefresh(), Controls_InitCvars(), Controls_SetConfig(), Demos_MenuInit(), G_AddRandomBot(), G_SpawnBots(), GraphicsOptions_SetMenuItems(), InGame_MenuInit(), PlayerModel_BuildList(), PlayerSettings_SetMenuItems(), Preferences_SetMenuItems(), Punkbuster_ConfirmDisable(), Punkbuster_ConfirmEnable(), Rankings_MenuInit(), ServerOptions_MenuInit(), ServerOptions_SetMenuItems(), Signup_MenuInit(), StartServer_Cache(), UI_AddBotsMenu_Init(), UI_BotName_HandleKey(), UI_BuildPlayerList(), UI_CalcPostGameStats(), UI_DisplayDownloadInfo(), UI_DisplayOptionsMenu_Init(), UI_DrawBotName(), UI_DrawHandicap(), UI_DrawPlayerModel(), UI_DrawSkill(), UI_DrawTeamMember(), UI_DrawTier(), UI_DrawTierGameType(), UI_DrawTierMap(), UI_DrawTierMapName(), UI_Handicap_HandleKey(), UI_InitGameinfo(), UI_LoadBestScores(), UI_LoadDemos(), UI_NetworkOptionsMenu_Init(), UI_OwnerDrawVisible(), UI_OwnerDrawWidth(), UI_RankStatusMenu(), UI_RunMenuScript(), UI_SelectedPlayer_HandleKey(), UI_ServerInfoMenu(), UI_SetBestScore(), UI_SetupMenu_Init(), UI_Skill_HandleKey(), UI_SoundOptionsMenu_Init(), UI_SPArena_Start(), UI_SPLevelMenu_Init(), UI_SPPostgameMenu_Cache(), UI_SPPostgameMenu_MenuDraw(), UI_SPSkillMenu_Init(), UI_SPSkillMenu_SkillEvent(), UI_StartServerRefresh(), UI_StartSkirmish(), UI_TeamMember_HandleKey(), and UI_Update().

00067                                                       {
00068     int temp;
00069     temp = syscall( UI_CVAR_VARIABLEVALUE, var_name );
00070     return (*(float*)&temp);
00071 }

Here is the call graph for this function:

void trap_Error const char *  string  ) 
 

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:

void trap_FS_FCloseFile fileHandle_t  f  ) 
 

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 }

int trap_FS_FOpenFile const char *  qpath,
fileHandle_t f,
fsMode_t  mode
 

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 }

int trap_FS_GetFileList const char *  path,
const char *  extension,
char *  listbuf,
int  bufsize
 

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 }

void trap_FS_Read void *  buffer,
int  len,
fileHandle_t  f
 

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 }

int trap_FS_Seek fileHandle_t  f,
long  offset,
int  origin
 

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 }

void trap_FS_Write const void *  buffer,
int  len,
fileHandle_t  f
 

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 }

void trap_GetCDKey char *  buf,
int  buflen
 

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 }

void trap_GetClientState uiClientState_t state  ) 
 

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 }

void trap_GetClipboardData char *  buf,
int  bufsize
 

Definition at line 229 of file ui_syscalls.c.

References UI_GETCLIPBOARDDATA.

Referenced by MField_Paste().

00229                                                      {
00230     syscall( UI_GETCLIPBOARDDATA, buf, bufsize );
00231 }

int trap_GetConfigString int  index,
char *  buff,
int  buffsize
 

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 }

void trap_GetGlconfig glconfig_t glconfig  ) 
 

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 }

void trap_Key_ClearStates void   ) 
 

Definition at line 217 of file ui_syscalls.c.

References UI_KEY_CLEARSTATES.

00217                                   {
00218     syscall( UI_KEY_CLEARSTATES );
00219 }

void trap_Key_GetBindingBuf int  keynum,
char *  buf,
int  buflen
 

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 }

int trap_Key_GetCatcher void   ) 
 

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 }

qboolean trap_Key_GetOverstrikeMode void   ) 
 

Definition at line 209 of file ui_syscalls.c.

References qboolean, and UI_KEY_GETOVERSTRIKEMODE.

00209                                             {
00210     return syscall( UI_KEY_GETOVERSTRIKEMODE );
00211 }

qboolean trap_Key_IsDown int  keynum  ) 
 

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 }

void trap_Key_KeynumToStringBuf int  keynum,
char *  buf,
int  buflen
 

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 }

void trap_Key_SetBinding int  keynum,
const char *  binding
 

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 }

void trap_Key_SetCatcher int  catcher  ) 
 

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 }

void trap_Key_SetOverstrikeMode qboolean  state  ) 
 

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 }

int trap_LAN_AddServer int  source,
const char *  name,
const char *  addr
 

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 }

void trap_LAN_ClearPing int  n  ) 
 

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 }

int trap_LAN_CompareServers int  source,
int  sortKey,
int  sortDir,
int  s1,
int  s2
 

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 }

void trap_LAN_GetPing int  n,
char *  buf,
int  buflen,
int *  pingtime
 

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 }

void trap_LAN_GetPingInfo int  n,
char *  buf,
int  buflen
 

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 }

int trap_LAN_GetPingQueueCount void   ) 
 

Definition at line 261 of file ui_syscalls.c.

References UI_LAN_GETPINGQUEUECOUNT.

00261                                        {
00262     return syscall( UI_LAN_GETPINGQUEUECOUNT );
00263 }

void trap_LAN_GetServerAddressString int  source,
int  n,
char *  buf,
int  buflen
 

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 }

int trap_LAN_GetServerCount int  source  ) 
 

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 }

void trap_LAN_GetServerInfo int  source,
int  n,
char *  buf,
int  buflen
 

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 }

int trap_LAN_GetServerPing int  source,
int  n
 

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 }

void trap_LAN_LoadCachedServers  ) 
 

Definition at line 273 of file ui_syscalls.c.

References UI_LAN_LOADCACHEDSERVERS.

Referenced by _UI_Init().

00273                                   {
00274     syscall( UI_LAN_LOADCACHEDSERVERS );
00275 }

void trap_LAN_MarkServerVisible int  source,
int  n,
qboolean  visible
 

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 }

void trap_LAN_RemoveServer int  source,
const char *  addr
 

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 }

void trap_LAN_ResetPings int  n  ) 
 

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 }

void trap_LAN_SaveCachedServers  ) 
 

Definition at line 269 of file ui_syscalls.c.

References UI_LAN_SAVECACHEDSERVERS.

Referenced by _UI_Shutdown().

00269                                   {
00270     syscall( UI_LAN_SAVECACHEDSERVERS );
00271 }

int trap_LAN_ServerIsVisible int  source,
int  n
 

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 }

int trap_LAN_ServerStatus const char *  serverAddress,
char *  serverStatus,
int  maxLen
 

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 }

qboolean trap_LAN_UpdateVisiblePings int  source  ) 
 

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 }

int trap_MemoryRemaining void   ) 
 

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 }

int trap_Milliseconds void   ) 
 

Definition at line 51 of file ui_syscalls.c.

References CG_MILLISECONDS, and UI_MILLISECONDS.

00051                               {
00052     return syscall( UI_MILLISECONDS ); 
00053 }

int trap_PC_AddGlobalDefine char *  define  ) 
 

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 }

int trap_PC_FreeSource int  handle  ) 
 

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 }

int trap_PC_LoadSource const char *  filename  ) 
 

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 }

int trap_PC_ReadToken int  handle,
pc_token_t pc_token
 

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 }

int trap_PC_SourceFileAndLine int  handle,
char *  filename,
int *  line
 

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 }

void trap_Print const char *  string  ) 
 

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:

void trap_R_AddLightToScene const vec3_t  org,
float  intensity,
float  r,
float  g,
float  b
 

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:

void trap_R_AddPolyToScene qhandle_t  hShader,
int  numVerts,
const polyVert_t verts
 

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 }

void trap_R_AddRefEntityToScene const refEntity_t re  ) 
 

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 }

void trap_R_ClearScene void   ) 
 

Definition at line 145 of file ui_syscalls.c.

References CG_R_CLEARSCENE, and UI_R_CLEARSCENE.

00145                                {
00146     syscall( UI_R_CLEARSCENE );
00147 }

void trap_R_DrawStretchPic float  x,
float  y,
float  w,
float  h,
float  s1,
float  t1,
float  s2,
float  t2,
qhandle_t  hShader
 

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:

void trap_R_ModelBounds clipHandle_t  model,
vec3_t  mins,
vec3_t  maxs
 

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 }

void trap_R_RegisterFont const char *  fontName,
int  pointSize,
fontInfo_t font
 

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 }

qhandle_t trap_R_RegisterModel const char *  name  ) 
 

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 }

qhandle_t trap_R_RegisterShaderNoMip const char *  name  ) 
 

Definition at line 141 of file ui_syscalls.c.

References CG_R_REGISTERSHADERNOMIP, name, qhandle_t, and UI_R_REGISTERSHADERNOMIP.

Referenced by _UI_Init(), ArenaServers_Cache(), Asset_Parse(), AssetCache(), Bitmap_Draw(), CG_DrawInformation(), CG_Init(), CG_LoadingClient(), CG_LoadingItem(), CG_RegisterClientModelname(), CG_RegisterGraphics(), ConfirmMenu_Cache(), Controls_Cache(), Demos_Cache(), DriverInfo_Cache(), GraphicsOptions_Cache(), InGame_Cache(), Login_Cache(), MapList_Parse(), Menu_Cache(), PlayerIcon(), PlayerIconHandle(), PlayerModel_Cache(), PlayerSettings_Cache(), Preferences_Cache(), Rankings_Cache(), RankStatus_Cache(), Reset_Cache(), ServerInfo_Cache(), ServerOptions_Cache(), ServerPlayerIcon(), Signup_Cache(), SpecifyLeague_Cache(), SpecifyServer_Cache(), StartServer_Cache(), StartServer_LevelshotDraw(), SystemConfig_Cache(), Team_Parse(), TeamMain_Cache(), UI_AddBots_Cache(), UI_BotSelectMenu_Cache(), UI_BuildQ3Model_List(), UI_CDKeyMenu_Cache(), UI_CinematicsMenu_Cache(), UI_DisplayOptionsMenu_Cache(), UI_DrawClanLogo(), UI_DrawMapPreview(), UI_DrawNamedPic(), UI_DrawOpponentLogo(), UI_DrawOpponentLogoMetal(), UI_DrawOpponentLogoName(), UI_DrawPlayer(), UI_DrawPlayerLogo(), UI_DrawPlayerLogoMetal(), UI_DrawPlayerLogoName(), UI_DrawTierMap(), UI_FeederItemImage(), UI_FeederSelection(), UI_LoadConfig_Cache(), UI_ModsMenu_Cache(), UI_NetworkOptionsMenu_Cache(), UI_RemoveBots_Cache(), UI_SaveConfigMenu_Cache(), UI_SetupMenu_Cache(), UI_SoundOptionsMenu_Cache(), UI_SPLevelMenu_Cache(), UI_SPLevelMenu_SetMenuArena(), UI_SPPostgameMenu_Cache(), UI_SPSkillMenu_Cache(), and UI_TeamOrdersMenu_Cache().

00141                                                          {
00142     return syscall( UI_R_REGISTERSHADERNOMIP, name );
00143 }

qhandle_t trap_R_RegisterSkin const char *  name  ) 
 

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 }

void trap_R_RemapShader const char *  oldShader,
const char *  newShader,
const char *  timeOffset
 

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 }

void trap_R_RenderScene const refdef_t fd  ) 
 

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 }

void trap_R_SetColor const float *  rgba  ) 
 

Definition at line 165 of file ui_syscalls.c.

References CG_R_SETCOLOR, and UI_R_SETCOLOR.

Referenced by _UI_DrawRect(), Bitmap_Draw(), CG_DrawAreaPowerUp(), CG_DrawBlueFlagStatus(), CG_DrawCenterString(), CG_DrawCrosshairNames(), CG_DrawInformation(), CG_DrawLagometer(), CG_DrawMedal(), CG_DrawNewTeamInfo(), CG_DrawPickupItem(), CG_DrawPlayerAmmoValue(), CG_DrawPlayerArmorValue(), CG_DrawPlayerHealth(), CG_DrawPlayerScore(), CG_DrawPowerups(), CG_DrawRect(), CG_DrawRedFlagStatus(), CG_DrawReward(), CG_DrawSelectedPlayerArmor(), CG_DrawSelectedPlayerHealth(), CG_DrawStatusBar(), CG_DrawStringExt(), CG_DrawTeamBackground(), CG_DrawTeamInfo(), CG_DrawTeamOverlay(), CG_DrawWeaponSelect(), CG_FillRect(), CG_OneFlagStatus(), CG_Text_Paint_Limit(), Text_Paint(), Text_Paint_Limit(), Text_PaintWithCursor(), UI_DrawBannerString2(), UI_DrawClanCinematic(), UI_DrawClanLogo(), UI_DrawCrosshair(), UI_DrawOpponentLogo(), UI_DrawOpponentLogoMetal(), UI_DrawOpponentLogoName(), UI_DrawPlayerLogo(), UI_DrawPlayerLogoMetal(), UI_DrawPlayerLogoName(), UI_DrawProportionalString2(), UI_DrawRect(), UI_DrawString2(), UI_FillRect(), UI_SetColor(), and UI_SPLevelMenu_MenuDraw().

00165                                           {
00166     syscall( UI_R_SETCOLOR, rgba );
00167 }

int trap_RealTime qtime_t qtime  ) 
 

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 }

sfxHandle_t trap_S_RegisterSound const char *  sample,
qboolean  compressed
 

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 }

void trap_S_StartBackgroundTrack const char *  intro,
const char *  loop
 

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 }

void trap_S_StartLocalSound sfxHandle_t  sfx,
int  channelNum
 

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 }

void trap_S_StopBackgroundTrack void   ) 
 

Definition at line 349 of file ui_syscalls.c.

References CG_S_STOPBACKGROUNDTRACK, and UI_S_STOPBACKGROUNDTRACK.

00349                                         {
00350     syscall( UI_S_STOPBACKGROUNDTRACK );
00351 }

void trap_SetCDKey char *  buf  ) 
 

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 }

void trap_SetPbClStatus int  status  ) 
 

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 }

void trap_UpdateScreen void   ) 
 

Definition at line 177 of file ui_syscalls.c.

References CG_UPDATESCREEN, and UI_UPDATESCREEN.

00177                                {
00178     syscall( UI_UPDATESCREEN );
00179 }

qboolean trap_VerifyCDKey const char *  key,
const char *  chksum
 

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 }


Generated on Thu Aug 25 15:37:45 2005 for Quake III Arena by  doxygen 1.3.9.1