projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020424-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.h
diff --git
a/src/libgame/sdl.h
b/src/libgame/sdl.h
index fcc566edbc849673b42d7707593ac00c6ed6eeec..a4ce8d648970442a5dd40f8e3e3416c7ff366607 100644
(file)
--- a/
src/libgame/sdl.h
+++ b/
src/libgame/sdl.h
@@
-60,6
+60,9
@@
typedef int Colormap;
struct SDLSurfaceInfo
{
struct SDLSurfaceInfo
{
+ char *source_filename;
+
+ int width, height;
SDL_Surface *surface;
SDL_Surface *surface_masked;
GC gc;
SDL_Surface *surface;
SDL_Surface *surface_masked;
GC gc;
@@
-330,4
+333,8
@@
inline void SDLCloseAudio(void);
inline void SDLNextEvent(Event *);
inline void SDLNextEvent(Event *);
+void HandleJoystickEvent(Event *);
+void SDLInitJoysticks(void);
+boolean SDLReadJoystick(int, int *, int *, boolean *, boolean *);
+
#endif /* SDL_H */
#endif /* SDL_H */