rnd-20000917-1-src
[rocksndiamonds.git] / src / msdos.h
index 32d6a4c23700f07214b740a3ac27c672d88d40b8..ce86234e85e33f83331565e04006008b9a28e1aa 100644 (file)
 *  msdos.h                                                 *
 ***********************************************************/
 
+#ifndef MSDOS_H
+#define MSDOS_H
+
 #include <allegro.h>
 #include <time.h>
 
+
+/* system dependent definitions */
+
+#define PLATFORM_STRING                "DOS"
+
 /* allegro defines TRUE as -1 */
 #ifdef TRUE
 #undef TRUE
 
 #define XFlush(a)
 #define XGetImage(a,b,c,d,e,f,g,h)             ((XImage *) NULL)
-#define XAutoRepeatOn(a)
-#define XAutoRepeatOff(a)
 #define XDisplayName(a)                                ((char *) NULL)
 #define XFreeColors(a,b,c,d,e)
 #define XpmFreeAttributes(a)
@@ -678,7 +684,6 @@ typedef union _XEvent
   XKeyEvent xkey;
 } XEvent;
 
-unsigned char get_ascii(KeySym);
 void XMapWindow(Display *, Window);
 Display *XOpenDisplay(char *);
 Window XCreateSimpleWindow(Display *, Window, int, int,
@@ -711,4 +716,10 @@ int XLookupString(XKeyEvent *, char *, int, KeySym *, XComposeStatus *);
 void XSetForeground(Display *, GC, unsigned long);
 void XDrawLine(Display *, Drawable, GC, int, int, int, int);
 void XDestroyImage(XImage *);
+Bool XQueryPointer(Display *, Window, Window *, Window *, int *, int *,
+                  int *, int *, unsigned int *);
+void XAutoRepeatOn(Display *);
+void XAutoRepeatOff(Display *);
 void NetworkServer(int, int);
+
+#endif /* MSDOS_H */