]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_os.hxx
Melchior FRANZ:
[flightgear.git] / src / Main / fg_os.hxx
index 8d05d49cc7f52bdc5deaa0faf462b03ac5737c4b..5b5df9c398658e66f16231c95737c52363c9d535 100644 (file)
@@ -3,7 +3,11 @@
 
 // Plib pui needs to know at compile time what toolkit is in use.
 // Change this when we move to something other than glut.
-#define PU_USE_GLUT
+// #define PU_USE_GLUT -- moved to configure.ac -- EMH
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 
 enum { MOUSE_BUTTON_LEFT,
        MOUSE_BUTTON_MIDDLE,
@@ -38,9 +42,11 @@ enum { KEYMOD_NONE     = 0,
 //
 
 void fgOSInit(int* argc, char** argv);
-void fgOSOpenWindow(int w, int h, int bpp, bool alpha, bool stencil);
+void fgOSOpenWindow(int w, int h, int bpp, bool alpha, bool stencil,
+                    bool fullscreen);
 void fgOSFullScreen();
 void fgOSMainLoop();
+void fgOSExit(int code);
 
 void fgSetMouseCursor(int cursor);
 int  fgGetMouseCursor();