summaryrefslogtreecommitdiff
path: root/video.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-03-30 22:30:35 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-03-30 22:30:35 +0200
commitd8a69e6abeea2034c17d84ef74009b137faa06cc (patch)
tree7ed3fbd07adc8328aba71cfb26ffc3eb5ff5ebf7 /video.h
Initial commit.
Diffstat (limited to 'video.h')
-rw-r--r--video.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/video.h b/video.h
new file mode 100644
index 0000000..5bb694b
--- /dev/null
+++ b/video.h
@@ -0,0 +1,18 @@
+#ifndef VIDEO_H
+#define VIDEO_H
+
+#include <SDL.h>
+
+namespace video {
+ extern int width;
+ extern int height;
+
+ void init();
+ void free();
+ void persp();
+ void ortho();
+
+ extern SDL_Surface *surface;
+} /* video */
+
+#endif