]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed lots of printf to Con_Printf
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2003 01:30:44 +0000 (01:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2003 01:30:44 +0000 (01:30 +0000)
removed some trailing whitespace

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2795 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c
host.c
model_brush.c
sys_shared.c

index 0367e5fa69d1b03a117dddcf6cbf812f364cc042..da745f49a33c8152e61feeeaa6d7f234c49fd46b 100644 (file)
@@ -458,7 +458,7 @@ void CL_ReadPointFile_f (void)
        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)
@@ -1328,7 +1328,7 @@ void CL_MoveParticles (void)
                                }
                                break;
                        default:
-                               printf("unknown particle type %i\n", p->type);
+                               Con_Printf("unknown particle type %i\n", p->type);
                                p->die = -1;
                                break;
                        }
diff --git a/host.c b/host.c
index 455d0bef1088d87f9d932d504fbb6b398a5a1c9c..7c0957cce449557551aee0624d0cd42e008f08fb 100644 (file)
--- a/host.c
+++ b/host.c
@@ -832,11 +832,11 @@ void Host_Frame (float time)
 
        time1 = Sys_DoubleTime ();
        _Host_Frame (time);
-       time2 = Sys_DoubleTime ();      
-       
+       time2 = Sys_DoubleTime ();
+
        timetotal += time2 - time1;
        timecount++;
-       
+
        if (timecount < 1000)
                return;
 
@@ -916,8 +916,8 @@ void Host_Init (void)
        Cbuf_Execute ();
 
        host_initialized = true;
-       
-       Con_Printf ("========Quake Initialized=========\n");    
+
+       Con_Printf ("========Quake Initialized=========\n");
 
        if (cls.state != ca_dedicated)
                VID_Open();
@@ -935,15 +935,15 @@ to run quit through here before the final handoff to the sys code.
 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 ();
index 20a57fafda9bac3902bcae39804fa97d25618c6f..50b74903a219b34270ad7f8ad6a080e69e4022d7 100644 (file)
@@ -2400,7 +2400,7 @@ static void Mod_RecursiveNodePortals (mnode_t *node)
                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;
                }
        }
index 5b81ce0ea877c19e7fbb8eed83bbe09c50d2bdf7..76c32fa751b5b7fdf5071e26b5f7ab085f8e144d 100644 (file)
@@ -253,7 +253,7 @@ void Sys_Shared_EarlyInit(void)
        if (COM_CheckParm("-nostdout"))
                sys_nostdout = 1;
        else
-               printf("%s\n", engineversion);
+               Con_Printf("%s\n", engineversion);
 }
 
 void Sys_Shared_LateInit(void)