va_start (argptr,error);
dpvsnprintf (string, sizeof (string), error, argptr);
va_end (argptr);
- fprintf(stderr, "Error: %s\n", string);
- Con_Print ("Quake Error: ");
- Con_Print (string);
- Con_Print ("\n");
+ Con_Printf ("Quake Error: %s\n", string);
Host_Shutdown ();
exit (1);
void Sys_PrintToTerminal(const char *text)
{
- printf("%s", text);
+ fprintf(stdout, "%s", text);
}
double Sys_DoubleTime (void)
return NULL;
}
+void Sys_InitConsole (void)
+{
+}
+
+void Sys_Init_Commands (void)
+{
+}
+
int main (int argc, char **argv)
{
double frameoldtime, framenewtime;
fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
#endif
- Sys_Shared_EarlyInit();
-
Host_Init();
- Sys_Shared_LateInit();
-
frameoldtime = Sys_DoubleTime () - 0.1;
while (1)
{