mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
- cl_stereo* endgültig entfernt
- Heute funktionieren TCP-Stacks meist
This commit is contained in:
parent
8731796ce1
commit
7f27895864
2 changed files with 3 additions and 31 deletions
|
@ -907,19 +907,6 @@ void CL_ConnectionlessPacket (void)
|
|||
Com_Printf ("Unknown command.\n");
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* A vain attempt to help bad TCP stacks that cause problems
|
||||
* when they overflow. Is this still needed?
|
||||
*/
|
||||
void CL_DumpPackets (void)
|
||||
{
|
||||
while (NET_GetPacket (NS_CLIENT, &net_from, &net_message))
|
||||
{
|
||||
Com_Printf ("dumnping a packet\n");
|
||||
}
|
||||
}
|
||||
|
||||
void CL_ReadPackets (void)
|
||||
{
|
||||
while (NET_GetPacket (NS_CLIENT, &net_from, &net_message))
|
||||
|
|
|
@ -1122,24 +1122,9 @@ void SCR_UpdateScreen (void) {
|
|||
if (!scr_initialized || !con.initialized)
|
||||
return; /* not initialized yet */
|
||||
|
||||
/* range check cl_camera_separation so we
|
||||
don't inadvertently fry someone's brain */
|
||||
if ( cl_stereo_separation->value > 1.0 )
|
||||
Cvar_SetValue( "cl_stereo_separation", 1.0 );
|
||||
|
||||
else if ( cl_stereo_separation->value < 0 )
|
||||
Cvar_SetValue( "cl_stereo_separation", 0.0 );
|
||||
|
||||
if ( cl_stereo->value ) {
|
||||
numframes = 2;
|
||||
separation[0] = -cl_stereo_separation->value / 2;
|
||||
separation[1] = cl_stereo_separation->value / 2;
|
||||
|
||||
} else {
|
||||
separation[0] = 0;
|
||||
separation[1] = 0;
|
||||
numframes = 1;
|
||||
}
|
||||
separation[0] = 0;
|
||||
separation[1] = 0;
|
||||
numframes = 1;
|
||||
|
||||
for ( i = 0; i < numframes; i++ ) {
|
||||
re.BeginFrame( separation[i] );
|
||||
|
|
Loading…
Reference in a new issue