|
|
|
@ -34,8 +34,6 @@ typedef struct
@@ -34,8 +34,6 @@ typedef struct
|
|
|
|
|
model_t *model; |
|
|
|
|
} player_model_t; |
|
|
|
|
|
|
|
|
|
cvar_t *r_glowshellfreq; |
|
|
|
|
|
|
|
|
|
cvar_t r_shadows = { "r_shadows", "0", 0 }; |
|
|
|
|
|
|
|
|
|
static vec3_t hullcolor[8] = |
|
|
|
@ -125,8 +123,7 @@ typedef struct
@@ -125,8 +123,7 @@ typedef struct
|
|
|
|
|
|
|
|
|
|
// studio-related cvars
|
|
|
|
|
static cvar_t *r_studio_sort_textures; |
|
|
|
|
static cvar_t *r_drawviewmodel; |
|
|
|
|
cvar_t *cl_righthand = NULL; |
|
|
|
|
static cvar_t *cl_righthand = NULL; |
|
|
|
|
static cvar_t *r_studio_drawelements; |
|
|
|
|
|
|
|
|
|
static r_studio_interface_t *pStudioDraw; |
|
|
|
@ -152,11 +149,9 @@ R_StudioInit
@@ -152,11 +149,9 @@ R_StudioInit
|
|
|
|
|
void R_StudioInit( void ) |
|
|
|
|
{ |
|
|
|
|
r_studio_sort_textures = gEngfuncs.Cvar_Get( "r_studio_sort_textures", "0", FCVAR_ARCHIVE, "change draw order for additive meshes" ); |
|
|
|
|
r_drawviewmodel = gEngfuncs.Cvar_Get( "r_drawviewmodel", "1", 0, "draw firstperson weapon model" ); |
|
|
|
|
r_studio_drawelements = gEngfuncs.Cvar_Get( "r_studio_drawelements", "1", FCVAR_ARCHIVE, "use glDrawElements for studiomodels" ); |
|
|
|
|
|
|
|
|
|
Matrix3x4_LoadIdentity( g_studio.rotationmatrix ); |
|
|
|
|
r_glowshellfreq = gEngfuncs.Cvar_Get( "r_glowshellfreq", "2.2", 0, "glowing shell frequency update" ); |
|
|
|
|
|
|
|
|
|
// g-cont. cvar disabled by Valve
|
|
|
|
|
// gEngfuncs.Cvar_RegisterVariable( &r_shadows );
|
|
|
|
|