mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Fixed shadow defaulting
1 - Blobs for Standalong 2 - Stencils for PCVR
This commit is contained in:
parent
b46da13606
commit
43503dbeff
6 changed files with 22 additions and 5 deletions
|
@ -399,7 +399,11 @@ static cvarTable_t cvarTable[] = {
|
|||
{ &cg_stereoSeparation, "cg_stereoSeparation", "0.065", CVAR_ARCHIVE },
|
||||
{ &cg_worldScale, "cg_worldScale", "33.5", CVAR_ARCHIVE },
|
||||
{ &cg_heightAdjust, "cg_heightAdjust", "0.0", CVAR_ARCHIVE },
|
||||
#ifdef _WIN32
|
||||
{ &cg_shadows, "cg_shadows", "2", CVAR_ARCHIVE },
|
||||
#else
|
||||
{ &cg_shadows, "cg_shadows", "1", CVAR_ARCHIVE },
|
||||
#endif
|
||||
{ &cg_renderToTextureFX, "cg_renderToTextureFX", "1", CVAR_ARCHIVE },
|
||||
{ &cg_forceBlurRenderToTextureFX, "cg_forceBlurRenderToTextureFX", "0", CVAR_ARCHIVE },
|
||||
{ &cg_shadowCullDistance, "r_shadowRange", "1000", CVAR_ARCHIVE },
|
||||
|
|
|
@ -1636,6 +1636,11 @@ void R_Register( void )
|
|||
r_lockpvs = ri.Cvar_Get ("r_lockpvs", "0", CVAR_CHEAT);
|
||||
r_noportals = ri.Cvar_Get ("r_noportals", "0", CVAR_CHEAT);
|
||||
r_shadows = ri.Cvar_Get( "cg_shadows", "1", 0 );
|
||||
#ifdef _WIN32
|
||||
r_shadows = ri.Cvar_Get("cg_shadows", "2", 0);
|
||||
#else
|
||||
r_shadows = ri.Cvar_Get("cg_shadows", "1", 0);
|
||||
#endif
|
||||
r_shadowRange = ri.Cvar_Get( "r_shadowRange", "1000", CVAR_ARCHIVE_ND );
|
||||
|
||||
/*
|
||||
|
|
|
@ -314,7 +314,12 @@ void UI_Init( int apiVersion, uiimport_t *uiimport, qboolean inGameLoad )
|
|||
ui.Cvar_Create( "cg_crosshairIdentifyTarget", "1", CVAR_ARCHIVE );
|
||||
ui.Cvar_Create( "g_subtitles", "0", CVAR_ARCHIVE );
|
||||
ui.Cvar_Create( "cg_marks", "1", CVAR_ARCHIVE );
|
||||
ui.Cvar_Create( "cg_shadows", "1", CVAR_ARCHIVE );
|
||||
|
||||
#ifdef _WIN32
|
||||
ui.Cvar_Create("cg_shadows", "2", CVAR_ARCHIVE);
|
||||
#else
|
||||
ui.Cvar_Create("cg_shadows", "1", CVAR_ARCHIVE);
|
||||
#endif
|
||||
|
||||
ui.Cvar_Create( "cg_runpitch", "0.0", CVAR_ARCHIVE );
|
||||
ui.Cvar_Create( "cg_runroll", "0.0", CVAR_ARCHIVE );
|
||||
|
|
|
@ -385,8 +385,11 @@ static cvarTable_t cvarTable[] = {
|
|||
{ &cg_stereoSeparation, "cg_stereoSeparation", "0.065", CVAR_ARCHIVE },
|
||||
{ &cg_worldScale, "cg_worldScale", "33.5", CVAR_ARCHIVE },
|
||||
{ &cg_heightAdjust, "cg_heightAdjust", "0.0", CVAR_ARCHIVE },
|
||||
{ &cg_shadows, "cg_shadows", "3", CVAR_ARCHIVE },
|
||||
|
||||
#ifdef _WIN32
|
||||
{ &cg_shadows, "cg_shadows", "2", CVAR_ARCHIVE },
|
||||
#else
|
||||
{ &cg_shadows, "cg_shadows", "1", CVAR_ARCHIVE },
|
||||
#endif
|
||||
{ &cg_hudScale, "cg_hudScale", "2.5", CVAR_ARCHIVE },
|
||||
{ &cg_hudStereo, "cg_hudStereo", "20", CVAR_ARCHIVE },
|
||||
{ &cg_hudYOffset, "cg_hudYOffset", "0.0", CVAR_ARCHIVE },
|
||||
|
|
|
@ -1746,7 +1746,7 @@
|
|||
{
|
||||
@MENUS3_NONE 0
|
||||
@MENUS0_LOW 1
|
||||
@MENUS0_HIGH 3
|
||||
@MENUS0_HIGH 2
|
||||
}
|
||||
rect 305 271 300 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
|
|
|
@ -1847,7 +1847,7 @@
|
|||
{
|
||||
@MENUS3_NONE 0
|
||||
@MENUS0_LOW 1
|
||||
@MENUS0_HIGH 3
|
||||
@MENUS0_HIGH 2
|
||||
}
|
||||
rect 305 271 300 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
|
|
Loading…
Reference in a new issue