diff --git a/general.h b/general.h index 7fffbc2fc..0bf43b922 100644 --- 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.