![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"Go to the source code of this file.
Data Structures | |
| struct | rendermodule_t |
Macros | |
| #define | MAXRENDERMODULES 20 |
Functions | |
| void | R_Modules_DeviceLost (void) |
| void | R_Modules_DeviceRestored (void) |
| void | R_Modules_Init (void) |
| void | R_Modules_NewMap (void) |
| void | R_Modules_Restart_f (cmd_state_t *cmd) |
| void | R_Modules_Shutdown (void) |
| void | R_Modules_Start (void) |
| void | R_RegisterModule (const char *name, void(*start)(void), void(*shutdown)(void), void(*newmap)(void), void(*devicelost)(void), void(*devicerestored)(void)) |
Variables | |
| rendermodule_t | rendermodule [MAXRENDERMODULES] |
| #define MAXRENDERMODULES 20 |
Definition at line 4 of file r_modules.c.
Referenced by R_Modules_DeviceLost(), R_Modules_DeviceRestored(), R_Modules_NewMap(), R_Modules_Shutdown(), R_Modules_Start(), and R_RegisterModule().
Definition at line 107 of file r_modules.c.
References MAXRENDERMODULES, name, NULL, and rendermodule.
Definition at line 123 of file r_modules.c.
References MAXRENDERMODULES, name, NULL, and rendermodule.
Definition at line 20 of file r_modules.c.
References CF_CLIENT, Cmd_AddCommand(), and R_Modules_Restart_f().
Referenced by CL_Init().
Definition at line 92 of file r_modules.c.
References MAXRENDERMODULES, name, NULL, R_SkinFrame_PrepareForPurge(), R_SkinFrame_Purge(), and rendermodule.
Referenced by CL_SetupWorldModel().
| void R_Modules_Restart_f | ( | cmd_state_t * | cmd | ) |
Definition at line 83 of file r_modules.c.
References CL_StartVideo(), cmd(), Con_Print(), R_Modules_Shutdown(), R_Modules_Start(), and SCR_BeginLoadingPlaque().
Referenced by R_Modules_Init().
Definition at line 67 of file r_modules.c.
References Con_DPrintf(), MAXRENDERMODULES, name, NULL, and rendermodule.
Referenced by CL_Shutdown(), R_Modules_Restart_f(), and VID_Restart_f().
Definition at line 49 of file r_modules.c.
References Con_DPrintf(), Con_Printf(), MAXRENDERMODULES, name, NULL, and rendermodule.
Referenced by R_Modules_Restart_f(), VID_Restart_f(), and VID_Start().
| void R_RegisterModule | ( | const char * | name, |
| void(* | start )(void), | ||
| void(* | shutdown )(void), | ||
| void(* | newmap )(void), | ||
| void(* | devicelost )(void), | ||
| void(* | devicerestored )(void) ) |
Definition at line 25 of file r_modules.c.
References Con_Printf(), MAXRENDERMODULES, name, NULL, rendermodule, and Sys_Error().
Referenced by CL_MeshEntities_Init(), CL_Video_Init(), gl_backend_init(), GL_Draw_Init(), GL_Main_Init(), Mod_RenderInit(), Palette_Init(), R_Explosion_Init(), R_LightningBeams_Init(), R_Particles_Init(), R_Shadow_Init(), R_Sky_Init(), R_Textures_Init(), and Sbar_Init().
| rendermodule_t rendermodule[MAXRENDERMODULES] |
Definition at line 18 of file r_modules.c.
Referenced by R_Modules_DeviceLost(), R_Modules_DeviceRestored(), R_Modules_NewMap(), R_Modules_Shutdown(), R_Modules_Start(), and R_RegisterModule().