summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/SDL2/Xcode-iOS/Demos/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/SDL2/Xcode-iOS/Demos/src/common.h')
-rw-r--r--3rdparty/SDL2/Xcode-iOS/Demos/src/common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/SDL2/Xcode-iOS/Demos/src/common.h b/3rdparty/SDL2/Xcode-iOS/Demos/src/common.h
new file mode 100644
index 00000000000..3e0d94ecf20
--- /dev/null
+++ b/3rdparty/SDL2/Xcode-iOS/Demos/src/common.h
@@ -0,0 +1,12 @@
+/*
+ * common.h
+ * written by Holmes Futrell
+ * use however you want
+ */
+
+#define SCREEN_WIDTH 320
+#define SCREEN_HEIGHT 480
+
+extern int randomInt(int min, int max);
+extern float randomFloat(float min, float max);
+extern void fatalError(const char *string);