|
|
|
@ -379,6 +379,7 @@ void CHud::Init( void )
@@ -379,6 +379,7 @@ void CHud::Init( void )
|
|
|
|
|
default_fov = CVAR_CREATE( "default_fov", "90", FCVAR_ARCHIVE ); |
|
|
|
|
m_pCvarStealMouse = CVAR_CREATE( "hud_capturemouse", "1", FCVAR_ARCHIVE ); |
|
|
|
|
m_pCvarDraw = CVAR_CREATE( "hud_draw", "1", FCVAR_ARCHIVE ); |
|
|
|
|
m_pAllowHD = CVAR_CREATE ( "hud_allow_hd", "1", FCVAR_ARCHIVE ); |
|
|
|
|
cl_lw = gEngfuncs.pfnGetCvarPointer( "cl_lw" ); |
|
|
|
|
cl_viewbob = CVAR_CREATE( "cl_viewbob", "0", FCVAR_ARCHIVE ); |
|
|
|
|
|
|
|
|
@ -481,10 +482,7 @@ void CHud::VidInit( void )
@@ -481,10 +482,7 @@ void CHud::VidInit( void )
|
|
|
|
|
m_hsprLogo = 0; |
|
|
|
|
m_hsprCursor = 0; |
|
|
|
|
|
|
|
|
|
if( ScreenWidth < 640 ) |
|
|
|
|
m_iRes = 320; |
|
|
|
|
else |
|
|
|
|
m_iRes = 640; |
|
|
|
|
m_iRes = GetSpriteRes( ScreenWidth, ScreenHeight ); |
|
|
|
|
|
|
|
|
|
// Only load this once
|
|
|
|
|
if( !m_pSpriteList ) |
|
|
|
|