]> git.mxchange.org Git - flightgear.git/commitdiff
Converted to a simpler frame rate calculation method.
authorcurt <curt>
Fri, 18 Dec 1998 23:34:42 +0000 (23:34 +0000)
committercurt <curt>
Fri, 18 Dec 1998 23:34:42 +0000 (23:34 +0000)
general.h

index 7fffbc2fc25bd6e2085b41519b5bad0d0c92375f..0bf43b9229f813f30cdc91ba095776c96c9e9f91 100644 (file)
--- a/general.h
+++ b/general.h
@@ -30,7 +30,7 @@
 #define _GENERAL_H
 
 
-#define FG_FRAME_RATE_HISTORY 10
+/* #define FG_FRAME_RATE_HISTORY 10 */
 
 
 /* the general house keeping structure definition */
@@ -41,8 +41,8 @@ typedef struct {
     char *glVersion;
 
     /* Last frame rate measurement */
-    double frame_rate;
-    double frames[FG_FRAME_RATE_HISTORY];
+    int frame_rate;
+    /* double frames[FG_FRAME_RATE_HISTORY]; */
 
     /* panel rendering status */
     int panel_hist;
@@ -56,9 +56,12 @@ extern fgGENERAL general;
 
 
 /* $Log$
-/* Revision 1.8  1998/08/20 15:09:46  curt
-/* Added a status flat for instrument panel use.
+/* Revision 1.9  1998/12/18 23:34:42  curt
+/* Converted to a simpler frame rate calculation method.
 /*
+ * Revision 1.8  1998/08/20 15:09:46  curt
+ * Added a status flat for instrument panel use.
+ *
  * Revision 1.7  1998/07/03 14:36:11  curt
  * Added conversion constants to fg_constants.h to assist with converting
  *   between various world units and coordinate systems.