rnd-20040816-1-src
[rocksndiamonds.git] / src / libem / display.h
index a13d3a7b15e575420bc820e8f3f4a93f99679fb9..b0511c46e795d6a2050b349aee8054b98ca3184d 100644 (file)
 #include <X11/Xatom.h>
 #include <X11/keysym.h>
 
+#if 0
+
 extern Display *display;
 extern Window window;
-#if 0
-extern Window xwindow;
-#else
 #define xwindow window
+
+#else
+
+#include "../libgame/system.h"
+
+#define xwindow (window->drawable)
+
+#endif
+
+#if 1
+
+extern Bitmap *screenBitmap;
+extern Bitmap *scoreBitmap;
+
+extern Bitmap *objBitmap;
+extern Bitmap *sprBitmap;
+extern Bitmap *ttlBitmap;
+extern Bitmap *botBitmap;
+
 #endif
 
 extern Pixmap screenPixmap;