X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=a4ce8d648970442a5dd40f8e3e3416c7ff366607;hb=884db54d739f5838243315f390d28634cb99a7d9;hp=fcc566edbc849673b42d7707593ac00c6ed6eeec;hpb=efd0d0abb853018aa3ccc3c727b39bd7f5ba679d;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index fcc566ed..a4ce8d64 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -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 */