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 0367e5f..da745f4 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 455d0be..7c0957c 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 20a57fa..50b7490 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 5b81ce0..76c32fa 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)