X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=543e90ab89965ab304b6a94796810bffbf7d42c2;hb=fe158e864d3fa4b0221e9c88d8dfff0157051396;hp=fcc566edbc849673b42d7707593ac00c6ed6eeec;hpb=efd0d0abb853018aa3ccc3c727b39bd7f5ba679d;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index fcc566ed..543e90ab 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -60,6 +60,7 @@ typedef int Colormap; struct SDLSurfaceInfo { + char *source_filename; SDL_Surface *surface; SDL_Surface *surface_masked; GC gc; @@ -330,4 +331,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 */