char *pointfile = NULL, *pointfilepos, *t, tchar;
#if WORKINGLQUAKE
char name[MAX_OSPATH];
-
+
sprintf (name,"maps/%s.pts", cl.worldmodel->name);
COM_FOpenFile (name, &f);
if (f)
}
break;
default:
- printf("unknown particle type %i\n", p->type);
+ Con_Printf("unknown particle type %i\n", p->type);
p->die = -1;
break;
}
time1 = Sys_DoubleTime ();
_Host_Frame (time);
- time2 = Sys_DoubleTime ();
-
+ time2 = Sys_DoubleTime ();
+
timetotal += time2 - time1;
timecount++;
-
+
if (timecount < 1000)
return;
Cbuf_Execute ();
host_initialized = true;
-
- Con_Printf ("========Quake Initialized=========\n");
+
+ Con_Printf ("========Quake Initialized=========\n");
if (cls.state != ca_dedicated)
VID_Open();
void Host_Shutdown(void)
{
static qboolean isdown = false;
-
+
if (isdown)
{
- printf ("recursive shutdown\n");
+ Con_Printf ("recursive shutdown\n");
return;
}
isdown = true;
- Host_WriteConfiguration ();
+ Host_WriteConfiguration ();
CDAudio_Shutdown ();
NET_Shutdown ();
nodeportalwinding = ClipWinding (nodeportalwinding, &clipplane, true);
if (!nodeportalwinding)
{
- printf ("Mod_RecursiveNodePortals: WARNING: new portal was clipped away\n");
+ Con_Printf ("Mod_RecursiveNodePortals: WARNING: new portal was clipped away\n");
break;
}
}
if (COM_CheckParm("-nostdout"))
sys_nostdout = 1;
else
- printf("%s\n", engineversion);
+ Con_Printf("%s\n", engineversion);
}
void Sys_Shared_LateInit(void)