rnd-20001204-3-src
[rocksndiamonds.git] / src / libgame / sdl.h
index 9c48d515b8ce2ec9cd3b1707c82db6d0197f4b9e..a8ae4536a1eb628bd1e6d8fe0de0b0fa2ea228be 100644 (file)
@@ -37,6 +37,7 @@
 typedef struct SDLSurfaceInfo  *Bitmap;
 typedef struct SDLSurfaceInfo  *DrawBuffer;
 typedef struct SDLSurfaceInfo  *DrawWindow;
+typedef Uint32                 Pixel;
 
 typedef SDLKey                 Key;
 
@@ -65,6 +66,11 @@ struct SDLSurfaceInfo
   GC stored_clip_gc;
 };
 
+struct XY
+{
+  short x, y;
+};
+
 
 /* SDL symbol definitions */
 
@@ -314,6 +320,9 @@ inline boolean SDLSetVideoMode(DrawBuffer *, boolean);
 inline void SDLCopyArea(Bitmap, Bitmap, int, int, int, int, int, int, int);
 inline void SDLFillRectangle(Bitmap, int, int, int, int, unsigned int);
 inline void SDLDrawSimpleLine(SDL_Surface *, int, int, int, int, unsigned int);
+inline void SDLDrawLine(SDL_Surface *, int, int, int, int, Uint32);
+/* functions from SGE library */
+void sge_Line(SDL_Surface *, Sint16, Sint16, Sint16, Sint16, Uint32);
 
 inline boolean SDLOpenAudio(void);
 inline void SDLCloseAudio(void);