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