summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/SDL2/Xcode-iOS/Demos/src/common.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-27 16:28:05 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-27 16:53:49 +0100
commitcf6dc7d370407914020f3e623719f09c8668c692 (patch)
tree46b3416d091b4c09b50fba7ffcbd310aed032cc8 /3rdparty/SDL2/Xcode-iOS/Demos/src/common.h
parent64135e73f973d9b95beb0c60b65feb34fbfec64a (diff)
Placed SDL2 source since we need it on some platforms (nw)
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);