![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
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 (struct cmd_state_s *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)) |
Definition at line 107 of file r_modules.c.
References rendermodule_t::devicelost, i, MAXRENDERMODULES, name, NULL, and rendermodule.
Definition at line 123 of file r_modules.c.
References rendermodule_t::devicerestored, i, 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 i, MAXRENDERMODULES, name, rendermodule_t::newmap, NULL, R_SkinFrame_PrepareForPurge(), R_SkinFrame_Purge(), and rendermodule.
Referenced by CL_SetupWorldModel().
void R_Modules_Restart_f | ( | struct cmd_state_s * | cmd | ) |
Definition at line 67 of file r_modules.c.
References rendermodule_t::active, Con_DPrintf(), i, MAXRENDERMODULES, name, NULL, rendermodule, and rendermodule_t::shutdown.
Referenced by CL_Shutdown(), R_Modules_Restart_f(), and VID_Restart_f().
Definition at line 49 of file r_modules.c.
References rendermodule_t::active, Con_DPrintf(), Con_Printf(), i, MAXRENDERMODULES, name, NULL, rendermodule, and rendermodule_t::start.
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 rendermodule_t::active, Con_Printf(), rendermodule_t::devicelost, rendermodule_t::devicerestored, i, MAXRENDERMODULES, name, rendermodule_t::name, rendermodule_t::newmap, NULL, rendermodule, rendermodule_t::shutdown, rendermodule_t::start, 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().