]> git.mxchange.org Git - flightgear.git/commitdiff
Output message tweaks.
authorcurt <curt>
Fri, 24 Jul 1998 21:42:25 +0000 (21:42 +0000)
committercurt <curt>
Fri, 24 Jul 1998 21:42:25 +0000 (21:42 +0000)
Time/event.hxx
Time/light.cxx

index 66c1c3738c70aa3e908a13561f30721093c7caf6..c98db9fdd3e428daedb2603e549dba573ad156d1 100644 (file)
@@ -31,7 +31,7 @@
 #endif                                   
 
 
-#ifdef __sun__
+#if defined ( __sun__ )
 extern "C" void *memmove(void *, const void *, size_t);
 extern "C" void *memset(void *, int, size_t);
 #endif
@@ -39,6 +39,7 @@ extern "C" void *memset(void *, int, size_t);
 
 #include <deque>        // STL double ended queue
 #include <list>         // STL list
+
 #ifdef NEEDNAMESPACESTD
 using namespace std;
 #endif
@@ -124,6 +125,9 @@ extern fgEVENT_MGR global_events;
 
 
 // $Log$
+// Revision 1.6  1998/07/24 21:42:25  curt
+// Output message tweaks.
+//
 // Revision 1.5  1998/07/13 21:02:07  curt
 // Wrote access functions for current fgOPTIONS.
 //
index 2a6364bddaa8b1e13445ca14f38d872600250c16..73a7aa20bae3b782deaa5928d89f2229269a2a35 100644 (file)
@@ -173,8 +173,8 @@ void fgLIGHT::UpdateAdjFog( void ) {
        rotation -= FG_2PI;
     }
     rotation *= RAD_TO_DEG;
-    fgPrintf( FG_EVENT, FG_INFO, 
-             "  View to sun difference in degrees = %.2f\n", rotation);
+    // fgPrintf( FG_EVENT, FG_INFO, 
+    //           "  View to sun difference in degrees = %.2f\n", rotation);
 
     // next check if we are in a sunset/sunrise situation
     sun_angle_deg = sun_angle * RAD_TO_DEG;
@@ -191,12 +191,12 @@ void fgLIGHT::UpdateAdjFog( void ) {
        param2[0] = param1[0] * (180.0 - rotation) / 180.0;
        param2[1] = param1[1] * (180.0 - rotation) / 180.0;
        param2[2] = param1[2] * (180.0 - rotation) / 180.0;
-       printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
+       // printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
     } else {
        param2[0] = param1[0] * (rotation - 180.0) / 180.0;
        param2[1] = param1[1] * (rotation - 180.0) / 180.0;
        param2[2] = param1[2] * (rotation - 180.0) / 180.0;
-       printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
+       // printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
     }
 
     adj_fog_color[0] = fog_color[0] + param2[0];
@@ -227,6 +227,9 @@ void fgLightUpdate ( void ) {
 
 
 // $Log$
+// Revision 1.13  1998/07/24 21:42:26  curt
+// Output message tweaks.
+//
 // Revision 1.12  1998/07/22 21:45:38  curt
 // fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
 //   but seems to be triggering a bug.