4#define MAXRENDERMODULES 20
6typedef struct rendermodule_s
25void R_RegisterModule(
const char *
name,
void(*start)(
void),
void(*shutdown)(
void),
void(*newmap)(
void),
void(*devicelost)(
void),
void(*devicerestored)(
void))
34 Con_Printf(
"R_RegisterModule: module \"%s\" registered twice\n",
name);
void SCR_BeginLoadingPlaque(qbool startup)
void Cmd_AddCommand(unsigned flags, const char *cmd_name, xcommand_t function, const char *description)
called by the init functions of other parts of the program to register commands and functions to call...
#define CF_CLIENT
cvar/command that only the client can change/execute
void Con_Print(const char *msg)
Prints to all appropriate console targets, and adds timestamps.
void Con_DPrintf(const char *fmt,...)
A Con_Printf that only shows up if the "developer" cvar is set.
void Con_Printf(const char *fmt,...)
Prints to all appropriate console targets.
void R_SkinFrame_PrepareForPurge(void)
void R_SkinFrame_Purge(void)
void R_Modules_Shutdown(void)
rendermodule_t rendermodule[MAXRENDERMODULES]
void R_Modules_Start(void)
void R_Modules_NewMap(void)
void R_Modules_Restart_f(cmd_state_t *cmd)
void R_Modules_DeviceLost(void)
void R_RegisterModule(const char *name, void(*start)(void), void(*shutdown)(void), void(*newmap)(void), void(*devicelost)(void), void(*devicerestored)(void))
void R_Modules_Init(void)
void R_Modules_DeviceRestored(void)
command interpreter state - the tokenizing and execution of commands, as well as pointers to which cv...
void(* devicerestored)(void)
void Sys_Error(const char *error,...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN
Causes the entire program to exit ASAP.