Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Globals.h

Go to the documentation of this file.
00001 
00007 #ifndef _GLOBALS_H_
00008 #define _GLOBALS_H_
00009 
00010 #define _WINSOCKAPI_
00011 #include "../game_netw/gne.h"
00012 //#include <windows.h>
00013 #include "../Util/Log.h"
00014 
00015 #define WM_TOGGLEFULLSCREEN (WM_USER+1)
00016 
00017 #define MOUSE_LEFT      0
00018 #define MOUSE_RIGHT     1
00019 
00020 // mouse
00021 extern bool g_invertMouse;
00022 extern float g_mouseSensibility;
00023 
00024 // screen
00025 extern bool g_fullscreen, g_toggleFullscreen, g_visible;
00026 extern int g_fullscreenWidth, g_fullscreenHeight, g_bitsPerPixel;
00027 extern int g_windowLeft, g_windowRight, g_windowTop, g_windowBottom;
00028 extern int g_width, g_height;
00029 extern int g_middleX, g_middleY;
00030 
00031 // application
00032 extern bool g_running;
00033 
00034 extern bool g_showFPS;
00035 extern float g_time, g_frameTime, g_fps;
00036 extern int g_frames;
00037 
00038 extern bool g_console, g_drawConsole;
00039 
00040 extern bool g_stencilBuffer;
00041 
00042 void initGlobals();
00043 
00044 #endif

Generated on Sun Jun 5 15:47:03 2005 for Defacto by  doxygen 1.4.3