]> git.mxchange.org Git - flightgear.git/blobdiff - Astro/stars.cxx
Renamed class fgFLIGHT to class FGState as per request by JSB.
[flightgear.git] / Astro / stars.cxx
index fa7957d3387d14bf6a5567a450bbb3e84458ab2a..35ce9aaf268f3bd7efca5aa20ee7c14ea1970994 100644 (file)
@@ -31,6 +31,7 @@
 #  include <windows.h>
 #endif
 
+
 #include <math.h>
 #include <stdio.h>
 #include <string.h>
@@ -104,8 +105,9 @@ int fgStarsInit( void ) {
     }
 
     timer.stop();
-    cerr << "Loaded " << starcount << " stars in "
-        << timer.elapsedSeconds() << " seconds" << endl;
+    FG_LOG( FG_ASTRO, FG_INFO, 
+           "Loaded " << starcount << " stars in "
+           << timer.elapsedSeconds() << " seconds" );
 
     min_magnitude[0] = 4.2;
     min_magnitude[1] = 3.6;
@@ -208,13 +210,13 @@ int fgStarsInit( void ) {
 
 // Draw the Stars
 void fgStarsRender( void ) {
-    fgFLIGHT *f;
+    FGState *f;
     fgVIEW *v;
     fgLIGHT *l;
     fgTIME *t;
     int i;
 
-    f = current_aircraft.flight;
+    f = current_aircraft.fdm_state;
     l = &cur_light_params;
     t = &cur_time_params;
     v = &current_view;
@@ -254,6 +256,17 @@ void fgStarsRender( void ) {
 
 
 // $Log$
+// Revision 1.24  1998/12/05 15:54:04  curt
+// Renamed class fgFLIGHT to class FGState as per request by JSB.
+//
+// Revision 1.23  1998/11/23 21:48:28  curt
+// Borland portability tweaks.
+//
+// Revision 1.22  1998/11/07 19:07:07  curt
+// Enable release builds using the --without-logging option to the configure
+// script.  Also a couple log message cleanups, plus some C to C++ comment
+// conversion.
+//
 // Revision 1.21  1998/11/06 21:17:42  curt
 // Converted to new logstream debugging facility.  This allows release
 // builds with no messages at all (and no performance impact) by using