|
|
@ -35,6 +35,8 @@ void V_CalcViewRect( void ) |
|
|
|
int sb_lines; |
|
|
|
int sb_lines; |
|
|
|
float size; |
|
|
|
float size; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( FBitSet( host.features, ENGINE_QUAKE_COMPATIBLE )) |
|
|
|
|
|
|
|
{ |
|
|
|
// intermission is always full screen
|
|
|
|
// intermission is always full screen
|
|
|
|
if( cl.intermission ) size = 120.0f; |
|
|
|
if( cl.intermission ) size = 120.0f; |
|
|
|
else size = scr_viewsize->value; |
|
|
|
else size = scr_viewsize->value; |
|
|
@ -59,6 +61,13 @@ void V_CalcViewRect( void ) |
|
|
|
full = true; |
|
|
|
full = true; |
|
|
|
} |
|
|
|
} |
|
|
|
size /= 100.0f; |
|
|
|
size /= 100.0f; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
full = true; |
|
|
|
|
|
|
|
sb_lines = 0; |
|
|
|
|
|
|
|
size = 1.0f; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
clgame.viewport[2] = refState.width * size; |
|
|
|
clgame.viewport[2] = refState.width * size; |
|
|
|
clgame.viewport[3] = refState.height * size; |
|
|
|
clgame.viewport[3] = refState.height * size; |
|
|
|