vkQuake2 doxygen  1.0 dev
refimport_t Struct Reference

#include <ref.h>

Public Attributes

void(* Sys_Error )(int err_level, char *str,...)
 
void(* Cmd_AddCommand )(char *name, void(*cmd)(void))
 
void(* Cmd_RemoveCommand )(char *name)
 
int(* Cmd_Argc )(void)
 
char *(* Cmd_Argv )(int i)
 
void(* Cmd_ExecuteText )(int exec_when, char *text)
 
void(* Con_Printf )(int print_level, char *str,...)
 
int(* FS_LoadFile )(char *name, void **buf)
 
void(* FS_FreeFile )(void *buf)
 
char *(* FS_Gamedir )(void)
 
cvar_t *(* Cvar_Get )(char *name, char *value, int flags)
 
cvar_t *(* Cvar_Set )(char *name, char *value)
 
void(* Cvar_SetValue )(char *name, float value)
 
qboolean(* Vid_GetModeInfo )(int *width, int *height, int mode)
 
void(* Vid_MenuInit )(void)
 
void(* Vid_NewWindow )(int width, int height)
 

Detailed Description

Definition at line 192 of file ref.h.

Member Data Documentation

◆ Cmd_AddCommand

void(* refimport_t::Cmd_AddCommand) (char *name, void(*cmd)(void))

Definition at line 196 of file ref.h.

Referenced by R_Register(), and VID_LoadRefresh().

◆ Cmd_Argc

int(* refimport_t::Cmd_Argc) (void)

Definition at line 198 of file ref.h.

Referenced by VID_LoadRefresh().

◆ Cmd_Argv

char*(* refimport_t::Cmd_Argv) (int i)

Definition at line 199 of file ref.h.

Referenced by VID_LoadRefresh().

◆ Cmd_ExecuteText

void(* refimport_t::Cmd_ExecuteText) (int exec_when, char *text)

Definition at line 200 of file ref.h.

Referenced by VID_LoadRefresh().

◆ Cmd_RemoveCommand

void(* refimport_t::Cmd_RemoveCommand) (char *name)

Definition at line 197 of file ref.h.

Referenced by R_Shutdown(), R_UnRegister(), and VID_LoadRefresh().

◆ Con_Printf

void(* refimport_t::Con_Printf) (int print_level, char *str,...)

◆ Cvar_Get

◆ Cvar_Set

cvar_t*(* refimport_t::Cvar_Set) (char *name, char *value)

◆ Cvar_SetValue

void(* refimport_t::Cvar_SetValue) (char *name, float value)

◆ FS_FreeFile

void(* refimport_t::FS_FreeFile) (void *buf)

Definition at line 210 of file ref.h.

Referenced by GL_LoadWal(), LoadPCX(), LoadTGA(), Mod_ForName(), R_LoadWal(), VID_LoadRefresh(), and Vk_LoadWal().

◆ FS_Gamedir

char*(* refimport_t::FS_Gamedir) (void)

◆ FS_LoadFile

int(* refimport_t::FS_LoadFile) (char *name, void **buf)

◆ Sys_Error

◆ Vid_GetModeInfo

qboolean(* refimport_t::Vid_GetModeInfo) (int *width, int *height, int mode)

Definition at line 220 of file ref.h.

Referenced by GLimp_SetMode(), SWimp_SetMode(), VID_LoadRefresh(), and Vkimp_SetMode().

◆ Vid_MenuInit

void(* refimport_t::Vid_MenuInit) (void)

Definition at line 221 of file ref.h.

Referenced by R_Init(), and VID_LoadRefresh().

◆ Vid_NewWindow

void(* refimport_t::Vid_NewWindow) (int width, int height)

Definition at line 222 of file ref.h.

Referenced by VID_CreateWindow(), and VID_LoadRefresh().