fg_typedefs.h: updated version by Charlie Hotchkiss
general.h: moved fg_root info to fgOPTIONS structure.
This commit is contained in:
parent
715025e645
commit
d132b13f09
2 changed files with 23 additions and 19 deletions
|
@ -1,25 +1,28 @@
|
||||||
/*
|
/*
|
||||||
// Alterations: Copyright C. Hotchkiss 1996
|
// Alterations: Copyright C. Hotchkiss 1996
|
||||||
//
|
//
|
||||||
**$Log$
|
// $Log$
|
||||||
**Revision 1.1 1998/05/11 18:26:12 curt
|
// Revision 1.2 1998/05/13 18:23:46 curt
|
||||||
**Initial revision.
|
// fg_typedefs.h: updated version by Charlie Hotchkiss
|
||||||
**
|
// general.h: moved fg_root info to fgOPTIONS structure.
|
||||||
|
//
|
||||||
|
// Revision 1.1 1998/05/11 18:26:12 curt
|
||||||
|
// Initial revision.
|
||||||
//
|
//
|
||||||
// Rev 1.4 11 Nov 1997 15:34:28 CHOTCHKISS
|
// Rev 1.4 11 Nov 1997 15:34:28 CHOTCHKISS
|
||||||
//Expanded definitions.
|
// Expanded definitions.
|
||||||
//
|
//
|
||||||
// Rev 1.3 20 Jan 1997 9:21:26 CHOTCHKISS
|
// Rev 1.3 20 Jan 1997 9:21:26 CHOTCHKISS
|
||||||
//Minor additions.
|
// Minor additions.
|
||||||
//
|
//
|
||||||
// Rev 1.2 12 Nov 1996 15:06:52 CHOTCHKISS
|
// Rev 1.2 12 Nov 1996 15:06:52 CHOTCHKISS
|
||||||
//Dropped PC Write print format control lines.
|
// Dropped PC Write print format control lines.
|
||||||
*
|
//
|
||||||
* Rev 1.1 20 Nov 1995 15:59:02 CHOTCHKISS
|
// Rev 1.1 20 Nov 1995 15:59:02 CHOTCHKISS
|
||||||
*Additions and improvements. Memcheck compatibilities.
|
// Additions and improvements. Memcheck compatibilities.
|
||||||
*
|
//
|
||||||
* Rev 1.0 06 Apr 1995 14:00:32 CHOTCHKISS
|
// Rev 1.0 06 Apr 1995 14:00:32 CHOTCHKISS
|
||||||
*Initial revision.
|
// Initial revision.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
|
@ -57,7 +60,7 @@ typedef long LONG ; // 32-bit signed data
|
||||||
typedef unsigned long ULONG ; // 32-bit unsigned data
|
typedef unsigned long ULONG ; // 32-bit unsigned data
|
||||||
|
|
||||||
typedef unsigned short UWORD; // Unsigned 16 bit quantity (WIN=SHORT)
|
typedef unsigned short UWORD; // Unsigned 16 bit quantity (WIN=SHORT)
|
||||||
#ifndef _WINDOWS_
|
#if !defined(WIN32)
|
||||||
typedef signed short WORD; // Signed 16 bit quantity
|
typedef signed short WORD; // Signed 16 bit quantity
|
||||||
#endif
|
#endif
|
||||||
typedef BYTE UBYTE; // Used in some 3rd party code
|
typedef BYTE UBYTE; // Used in some 3rd party code
|
||||||
|
|
11
general.h
11
general.h
|
@ -35,9 +35,6 @@
|
||||||
|
|
||||||
/* the general house keeping structure definition */
|
/* the general house keeping structure definition */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* The flight gear "root" directory */
|
|
||||||
char *root_dir;
|
|
||||||
|
|
||||||
/* Last frame rate measurement */
|
/* Last frame rate measurement */
|
||||||
double frame_rate;
|
double frame_rate;
|
||||||
double frames[FG_FRAME_RATE_HISTORY];
|
double frames[FG_FRAME_RATE_HISTORY];
|
||||||
|
@ -50,9 +47,13 @@ extern fgGENERAL general;
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.5 1998/05/07 23:03:17 curt
|
/* Revision 1.6 1998/05/13 18:23:46 curt
|
||||||
/* Lowered size of frame rate history buffer.
|
/* fg_typedefs.h: updated version by Charlie Hotchkiss
|
||||||
|
/* general.h: moved fg_root info to fgOPTIONS structure.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.5 1998/05/07 23:03:17 curt
|
||||||
|
* Lowered size of frame rate history buffer.
|
||||||
|
*
|
||||||
* Revision 1.4 1998/05/06 03:14:30 curt
|
* Revision 1.4 1998/05/06 03:14:30 curt
|
||||||
* Added a shared frame rate counter.
|
* Added a shared frame rate counter.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue