icculus quake2 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 218 of file ref.h.

Member Data Documentation

◆ Cmd_AddCommand

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

Definition at line 222 of file ref.h.

Referenced by R_Register(), and VID_LoadRefresh().

◆ Cmd_Argc

int(* refimport_t::Cmd_Argc) (void)

Definition at line 224 of file ref.h.

Referenced by VID_LoadRefresh().

◆ Cmd_Argv

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

Definition at line 225 of file ref.h.

Referenced by VID_LoadRefresh().

◆ Cmd_ExecuteText

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

Definition at line 226 of file ref.h.

Referenced by VID_LoadRefresh().

◆ Cmd_RemoveCommand

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

Definition at line 223 of file ref.h.

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

◆ Con_Printf

◆ Cvar_Get

cvar_t*(* refimport_t::Cvar_Get) (char *name, char *value, int flags)

◆ Cvar_Set

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

Definition at line 243 of file ref.h.

Referenced by GL_InitImages(), R_Init(), and VID_LoadRefresh().

◆ Cvar_SetValue

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

Definition at line 244 of file ref.h.

Referenced by GLimp_BeginFrame(), GLimp_InitGL(), R_BeginFrame(), R_Init(), R_SetMode(), and VID_LoadRefresh().

◆ FS_FreeFile

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

Definition at line 236 of file ref.h.

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

◆ FS_Gamedir

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

Definition at line 240 of file ref.h.

Referenced by GL_ScreenShot_f(), GLimp_EnableLogging(), R_ScreenShot_f(), and VID_LoadRefresh().

◆ 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 246 of file ref.h.

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

◆ Vid_MenuInit

void(* refimport_t::Vid_MenuInit) (void)

Definition at line 247 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 248 of file ref.h.

Referenced by VID_CreateWindow(), and VID_LoadRefresh().