summaryrefslogtreecommitdiffstats
path: root/sdl/sdltools.h
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/sdltools.h')
-rw-r--r--sdl/sdltools.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sdl/sdltools.h b/sdl/sdltools.h
new file mode 100644
index 0000000..63478ec
--- /dev/null
+++ b/sdl/sdltools.h
@@ -0,0 +1,15 @@
+#ifndef _SDL_TOOLS_
+#define _SDL_TOOLS_
+
+#define FRAMES_PER_SECOND 60
+
+extern const char *arrow[];
+
+/* function prototypes */
+extern void sdlFrameControl(unsigned int);
+SDL_Cursor *sdlInitCursor(const char *image[]);
+unsigned int sdlTimerCallback(unsigned int, void *);
+GLuint sdltLoadGLTexture(SDL_Surface *, GLfloat *);
+
+#endif
+