Converted to a simpler frame rate calculation method.
This commit is contained in:
parent
915b2d9d88
commit
152eb395bd
1 changed files with 8 additions and 5 deletions
13
general.h
13
general.h
|
@ -30,7 +30,7 @@
|
||||||
#define _GENERAL_H
|
#define _GENERAL_H
|
||||||
|
|
||||||
|
|
||||||
#define FG_FRAME_RATE_HISTORY 10
|
/* #define FG_FRAME_RATE_HISTORY 10 */
|
||||||
|
|
||||||
|
|
||||||
/* the general house keeping structure definition */
|
/* the general house keeping structure definition */
|
||||||
|
@ -41,8 +41,8 @@ typedef struct {
|
||||||
char *glVersion;
|
char *glVersion;
|
||||||
|
|
||||||
/* Last frame rate measurement */
|
/* Last frame rate measurement */
|
||||||
double frame_rate;
|
int frame_rate;
|
||||||
double frames[FG_FRAME_RATE_HISTORY];
|
/* double frames[FG_FRAME_RATE_HISTORY]; */
|
||||||
|
|
||||||
/* panel rendering status */
|
/* panel rendering status */
|
||||||
int panel_hist;
|
int panel_hist;
|
||||||
|
@ -56,9 +56,12 @@ extern fgGENERAL general;
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.8 1998/08/20 15:09:46 curt
|
/* Revision 1.9 1998/12/18 23:34:42 curt
|
||||||
/* Added a status flat for instrument panel use.
|
/* 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
|
* Revision 1.7 1998/07/03 14:36:11 curt
|
||||||
* Added conversion constants to fg_constants.h to assist with converting
|
* Added conversion constants to fg_constants.h to assist with converting
|
||||||
* between various world units and coordinate systems.
|
* between various world units and coordinate systems.
|
||||||
|
|
Loading…
Reference in a new issue