74 uihandle_t( *Rend_RegisterMaterial )(
const char *name );
75 uihandle_t( *Rend_RefreshMaterial )(
const char *name );
76 void( *Rend_Set2D )(
int x,
int y,
int w,
int h,
float left,
float right,
float bottom,
float top,
float n,
float f );
77 void( *Rend_SetColor )(
const vec4_t rgba );
78 void( *Rend_Scissor )(
int x,
int y,
int width,
int height );
79 void( *Rend_DrawPicStretched )(
float x,
float y,
float w,
float h,
float s1,
float t1,
float s2,
float t2, qhandle_t hShader );
80 void( *Rend_DrawPicStretched2 )(
float x,
float y,
float w,
float h,
float s1,
float t1,
float s2,
float t2,
float sx,
float sy, qhandle_t hShader );
81 void( *Rend_DrawPicTiled )(
float x,
float y,
float w,
float h, qhandle_t hShader );
82 fontheader_t *( *Rend_LoadFont )(
const char *name );
83 void( *Rend_DrawString )( fontheader_t *font,
const char *text,
float x,
float y,
int maxlen,
const float *pvVirtualScreen );
84 void( *Rend_DrawBox )(
float x,
float y,
float w,
float h );
85 int( *Rend_GetShaderWidth )( qhandle_t hShader );
86 int( *Rend_GetShaderHeight )( qhandle_t hShader );
87 qboolean ( *Rend_ImageExists )(
const char* name );
89 void ( *File_PickFile )(
const char *name,
Listener *obj,
Event& event );
91 void (*File_PickFile)(
const char* name,
struct Listener* obj,
struct Event* event);
93 void ( *File_ListFiles )(
const char *filespec );
94 long ( *File_OpenFile )(
const char *qpath,
void **buffer );
95 void ( *File_FreeFile )(
void *buffer );
96 void ( *File_WriteFile )(
const char *qpath,
const void *buffer,
int size );
97 uihandle_t ( *Snd_RegisterSound )(
const char *sample, qboolean streamed );
98 void ( *Snd_PlaySound )(
const char *sound_name );
99 void ( *Snd_PlaySoundDialog )(
const char *sound_name );
100 void ( *Snd_FadeSound )(
float fTime );
101 void ( *Snd_StopAllSound )();
102 qboolean ( *Alias_Add )(
const char *alias,
const char *name,
const char *parameters );
103 const char *( *Alias_FindRandom )(
const char *alias, AliasListNode_t **ret );
104 const char *( *Cvar_GetString )(
const char *name,
const char *defval );
105 cvar_t *( *Cvar_Find )(
const char *var_name );
106 void ( *Cvar_Set )(
const char *var_name,
const char *value );
107 void ( *Cvar_Reset )(
const char *var_name );
108 void ( *Cmd_Stuff )(
const char *text );
109 void ( *Sys_Printf )(
const char *text, ... );
110 void ( *Sys_Error )(
int error,
const char *text, ... );
111 void ( *Sys_DPrintf )(
const char *text, ... );
112 int ( *Sys_Milliseconds )();
113 int ( *Sys_IsKeyDown )(
int key );
114 const char *( *Sys_GetClipboard )( void );
115 void( *Sys_SetClipboard )(
const char *foo );
116 const char *( *Cmd_CompleteCommandByNumber )(
const char *partial,
int number );
117 const char *( *Cvar_CompleteCvarByNumber )(
const char *partial,
int number );
118 void( *UI_WantsKeyboard )( void );
119 const char *( *Client_TranslateWidgetName )(
const char *widget );
120 void( *Connect )(
const char *server, netadrtype_t family );
121 const char *( *Key_GetKeynameForCommand )(
const char *command );
122 const char *( *Key_GetCommandForKey )(
int keynum );
123 void ( *Key_SetBinding )(
int keynum,
const char *binding );
124 void ( *Key_GetKeysForCommand )(
const char *command,
int *key1,
int *key2 );
125 const char *( *Key_KeynumToString )(
int keynum );
126 const char *( *GetConfigstring )(
int index );
127 void ( *UI_CloseDMConsole )( void );
128 void ( *GetClipboardData )(
char *buf,
int buflen );
133 int (*GetRefSequence)(void);
134 qboolean (*IsRendererLoaded)(void);
135 qboolean (*Rend_LoadRawImage)(
const char *name,
byte **pic,
int *width,
int *height);
136 void (*Rend_FreeRawImage)(
byte *pic);