]> git.mxchange.org Git - flightgear.git/commitdiff
Minor changes.
authorcurt <curt>
Wed, 11 Feb 1998 02:50:34 +0000 (02:50 +0000)
committercurt <curt>
Wed, 11 Feb 1998 02:50:34 +0000 (02:50 +0000)
Main/GLUTmain.c
Main/fg_init.c
Scenery/tilemgr.c
Simulator/Done
Simulator/Todo
Simulator/commondefs

index 95208878badac696767c2d40179222ee50b77e4f..2f89d20d6f2b1ba117961e46afe862d5e44282fe 100644 (file)
@@ -490,14 +490,17 @@ static void fgMainLoop( void ) {
 
     /* Calculate model iterations needed */
     elapsed = fgGetTimeInterval();
-    fgPrintf( FG_ALL, FG_BULK, "Time interval is = %d, previous remainder is = %d\n", 
+    fgPrintf( FG_ALL, FG_BULK, 
+             "Time interval is = %d, previous remainder is = %d\n", 
              elapsed, remainder);
-    fgPrintf( FG_ALL, FG_BULK, "--> Frame rate is = %.2f\n", 1000.0 / (float)elapsed);
+    fgPrintf( FG_ALL, FG_BULK, 
+             "--> Frame rate is = %.2f\n", 1000.0 / (float)elapsed);
     elapsed += remainder;
 
-    multi_loop = ((float)elapsed * 0.001) * DEFAULT_MODEL_HZ;
+    multi_loop = (int)(((float)elapsed * 0.001) * DEFAULT_MODEL_HZ);
     remainder = elapsed - ((multi_loop*1000) / DEFAULT_MODEL_HZ);
-    fgPrintf( FG_ALL, FG_BULK, "Model iterations needed = %d, new remainder = %d\n", 
+    fgPrintf( FG_ALL, FG_BULK, 
+             "Model iterations needed = %d, new remainder = %d\n", 
              multi_loop, remainder);
 
     /* Run flight model */
@@ -647,9 +650,12 @@ int main( int argc, char *argv[] ) {
 #endif
 
 /* $Log$
-/* Revision 1.59  1998/02/09 22:56:54  curt
-/* Removed "depend" files from cvs control.  Other minor make tweaks.
+/* Revision 1.60  1998/02/11 02:50:40  curt
+/* Minor changes.
 /*
+ * Revision 1.59  1998/02/09 22:56:54  curt
+ * Removed "depend" files from cvs control.  Other minor make tweaks.
+ *
  * Revision 1.58  1998/02/09 15:07:49  curt
  * Minor tweaks.
  *
index 2957d4b069e89b6981a3e38e7d5da7de9e8ed60d..0e997dad4a52adbf34b8f71660c67fda8c0bf952 100644 (file)
@@ -181,10 +181,10 @@ void fgInitSubsystems( void ) {
     /* FG_Altitude = FG_Runway_altitude + 3.758099; */
 
     /* Initial Position: (GCN) Grand Canyon Airport, AZ */
-    /* FG_Longitude = ( -112.1469647 ) * DEG_TO_RAD; */
-    /* FG_Latitude  = (   35.9523539 ) * DEG_TO_RAD; */
-    /* FG_Runway_altitude = 6606.0; */
-    /* FG_Altitude = FG_Runway_altitude + 3.758099; */
+    FG_Longitude = ( -112.1469647 ) * DEG_TO_RAD;
+    FG_Latitude  = (   35.9523539 ) * DEG_TO_RAD;
+    FG_Runway_altitude = 6606.0;
+    FG_Altitude = FG_Runway_altitude + 3.758099;
 
     /* A random test position */
     /* FG_Longitude = ( 88128.00 / 3600.0 ) * DEG_TO_RAD; */
@@ -334,9 +334,12 @@ void fgInitSubsystems( void ) {
 
 
 /* $Log$
-/* Revision 1.42  1998/02/09 22:56:58  curt
-/* Removed "depend" files from cvs control.  Other minor make tweaks.
+/* Revision 1.43  1998/02/11 02:50:40  curt
+/* Minor changes.
 /*
+ * Revision 1.42  1998/02/09 22:56:58  curt
+ * Removed "depend" files from cvs control.  Other minor make tweaks.
+ *
  * Revision 1.41  1998/02/09 15:07:50  curt
  * Minor tweaks.
  *
index cba507a9689d6d2ad2e58c204e48904281f71840..3887282e45bca3a6a5f69c4d3a442f557488f0ec 100644 (file)
@@ -202,6 +202,8 @@ void fgTileMgrRender( void ) {
     index = fgTileCacheExists(&p);
     fgTileCacheEntryInfo(index, &display_list, &scenery.center );
 
+    printf("Current bucket = %d %d %d %d\n", p.lon, p.lat, p.x, p.y );
+
     for ( i = 0; i < FG_LOCAL_X_Y; i++ ) {
        index = tiles[i];
        /* fgPrintf( FG_TERRAIN, FG_DEBUG, "Index = %d\n", index); */
@@ -222,9 +224,12 @@ void fgTileMgrRender( void ) {
 
 
 /* $Log$
-/* Revision 1.14  1998/02/09 21:30:19  curt
-/* Fixed a nagging problem with terrain tiles not "quite" matching up perfectly.
+/* Revision 1.15  1998/02/11 02:50:44  curt
+/* Minor changes.
 /*
+ * Revision 1.14  1998/02/09 21:30:19  curt
+ * Fixed a nagging problem with terrain tiles not "quite" matching up perfectly.
+ *
  * Revision 1.13  1998/02/07 15:29:46  curt
  * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
  * <chotchkiss@namg.us.anritsu.com>
index 5737f626b325fab66a7b92d497b4ab7f00bf2156..969943718adb57481e3fc86956d562346aaf8e65 100644 (file)
@@ -2,6 +2,12 @@
 | Done
 --------------------------------------------------------------------------
 
+2/9/98 -   Fixed a problem with terrain tiles not quite matching up perfectly.
+
+2/2/98 -   Fix warning when compiling with c++ ... also successfully built 
+           with cygnus-g++.  There should be nothing holding us back from 
+           using C++.
+
 1/30/98 -  remove Scenery/geometry.c and Scenery/mesh.c
    
 1/28/98 -  Dynamic unloading of scenery.
index 12f907c9b5f124485d21fa266aca3f05d5354132..a44205402d0402045ed4cbd2374c1161c516d2ca 100644 (file)
@@ -4,9 +4,6 @@
 
 12/29/97 - View frustum culling
 
-1/21/98 -  Fix warning when compiling with c++ ... still can't build
-           with cygnus-g++
-
 1/5/98 -   Create a development "roadmap"
 
 12/30/97 - fix winding problem with tri-strips in obj.c (invert normals)
index 38fb0dcb922b80a0a83baa153d1da60dad8bf94d..7846ca5c16ed0bb401fd621a060795ecf2bc7af0 100644 (file)
@@ -5,7 +5,7 @@
 #---------------------------------------------------------------------------
 
 FG_VERSION_MAJOR = 0
-FG_VERSION_MINOR = 32
+FG_VERSION_MINOR = 33
 FG_VERSION = $(FG_VERSION_MAJOR).$(FG_VERSION_MINOR)