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