MSG_WriteByte (&client->message, host_client - svs.clients);
MSG_WriteByte (&client->message, 0);
}
+
+ NET_Heartbeat ();
}
/*
// stop all client sounds immediately
CL_Disconnect ();
+ NET_Heartbeat ();
+ NET_Heartbeat ();
+
// flush any pending messages - like the score!!!
start = Sys_DoubleTime();
do
if (cls.state != ca_dedicated)
{
- VID_InitCvars();
-
Gamma_Init();
-
Palette_Init();
-
-#ifndef _WIN32 // on non win32, mouse comes before video for security reasons
- IN_Init ();
-#endif
- VID_Init (vid_fullscreen.integer, vid_width.integer, vid_height.integer);
+ VID_Shared_Init();
+ VID_Init();
Render_Init();
S_Init ();
CDAudio_Init ();
- Sbar_Init ();
CL_Init ();
-#ifdef _WIN32 // on non win32, mouse comes before video for security reasons
- IN_Init ();
-#endif
}
Cbuf_InsertText ("exec quake.rc\n");
+ Cbuf_Execute ();
+ Cbuf_Execute ();
+ Cbuf_Execute ();
+ Cbuf_Execute ();
host_initialized = true;
- Sys_Printf ("========Quake Initialized=========\n");
+ Con_Printf ("========Quake Initialized=========\n");
+
+ if (cls.state != ca_dedicated)
+ VID_Open();
}
CDAudio_Shutdown ();
NET_Shutdown ();
S_Shutdown();
- IN_Shutdown ();
if (cls.state != ca_dedicated)
{