]> git.mxchange.org Git - flightgear.git/blobdiff - src/Include/fg_typedefs.h
fix trx and rx heights and improve calculations
[flightgear.git] / src / Include / fg_typedefs.h
index 048842d6ea3a0045c139974e47d1f15eff8ad0ea..4c4afdd65b30eb870f7564d90ce3ff56dc51c480 100644 (file)
@@ -2,6 +2,18 @@
 //  Alterations: Copyright C. Hotchkiss 1996
 //
 // $Log$
+// Revision 1.2  2010/01/23 22:26:52  fredb
+// MINGW patch from BenoĆ®t Laniel
+//
+// Revision 1.1.1.1  2002-09-10 01:14:04  curt
+// Initial revision of FlightGear-0.9.0
+//
+// Revision 1.2  2001/05/16 21:27:59  curt
+// Added David Megginson's patch for reconfigurable keyboard bindings.
+//
+// Revision 1.1.1.1  1999/06/17 18:07:30  curt
+// Start of 0.7.x branch
+//
 // Revision 1.2  1999/04/22 18:45:42  curt
 // Borland tweaks.
 //
@@ -46,8 +58,8 @@
 //    any application include files.
 */
 
-#if !defined(_TYPEDEFS)
-#define _TYPEDEFS
+#ifndef _FG_TYPEDEFS
+#define _FG_TYPEDEFS
 
 //
 //    Define the types to be used to manipulate 8-, 16-, and 32-bit
@@ -66,11 +78,11 @@ typedef long           LONG ;    // 32-bit signed data
 typedef unsigned long  ULONG ;   // 32-bit unsigned data
 
 typedef unsigned short UWORD;   // Unsigned 16 bit quantity (WIN=SHORT)
-#if !defined(WIN32)
+#ifndef _WIN32
 typedef signed   short WORD;    // Signed   16 bit quantity
 #endif
 typedef BYTE           UBYTE;    // Used in some 3rd party code
-#ifndef WIN32
+#ifndef _WIN32
 typedef int            BOOLEAN;  //
 #endif
 
@@ -78,32 +90,6 @@ typedef float          FLOAT ;   // 32-bit floating point data
 typedef double         DOUBLE ;  // 64-bit floating point data
 typedef long double    LDOUBLE ; // 80-bit floating point data
 
-#ifndef __cplusplus
-typedef int bool;
-typedef int BOOL;
-typedef int Bool;
-#else
-#ifndef WIN32
-#define BOOL int
-#endif
-#endif
-
-#define Bool int
-
-#ifndef TRUE
-#define TRUE 1
-#define FALSE 0
-#endif
-
-#ifndef true          // C++ defines bool, true and false.
-#define true TRUE
-#define false FALSE
-#endif
-
-#ifndef EOF
-#define EOF (-1)
-#endif
-
 typedef void(*VFNPTR)   ( void );
 typedef void(*VFNINTPTR)( int  );
 typedef int (*FNPTR)    ( void );
@@ -112,6 +98,4 @@ typedef int (*FNUIPTR)  ( UINT );
 typedef double( *DBLFNPTR)( void );
 typedef float( *FLTFNPTR)( void );
 
-#endif
-
-  /* !defined(_TYPEDEFS) */
+#endif // _FG_TYPEDEFS