rnd-20020424-1-src
[rocksndiamonds.git] / src / libgame / sdl.h
index fcc566edbc849673b42d7707593ac00c6ed6eeec..a4ce8d648970442a5dd40f8e3e3416c7ff366607 100644 (file)
@@ -60,6 +60,9 @@ typedef int                   Colormap;
 
 struct SDLSurfaceInfo
 {
+  char *source_filename;
+
+  int width, height;
   SDL_Surface *surface;
   SDL_Surface *surface_masked;
   GC gc;
@@ -330,4 +333,8 @@ inline void SDLCloseAudio(void);
 
 inline void SDLNextEvent(Event *);
 
+void HandleJoystickEvent(Event *);
+void SDLInitJoysticks(void);
+boolean SDLReadJoystick(int, int *, int *, boolean *, boolean *);
+
 #endif /* SDL_H */