diff --git a/include/window.h b/include/window.h new file mode 100644 index 0000000..a3cf9fd --- /dev/null +++ b/include/window.h @@ -0,0 +1,29 @@ +#ifndef __window_h__ +#define __window_h__ + +#include "screen.h" +#ifdef __linux +#include +#include +#include +#endif + +namespace OpenArena +{ + class Window: public SCREEN + { + public: + #ifdef __linux + Display* display; + int screen; + ::Window window; + GLXContext hRC; + XSetWindowAttributes attributes; + bool doubleBuffered; + XF86VidModeModeInfo vidMode; + int x, y; + #endif + }; +}; + +#endif