summaryrefslogtreecommitdiff
path: root/include/camera.h
diff options
context:
space:
mode:
authorSimponic <loganthebean222@gmail.com>2020-08-11 22:13:56 -0600
committerSimponic <loganthebean222@gmail.com>2020-08-11 22:13:56 -0600
commit723f879f85f25c2d466146e08261e0ae993c72b6 (patch)
tree185f367c712554f92c14b0074503ff0667e098c3 /include/camera.h
parente84e232f8d003f3cf3340517d8bf6b65ba430143 (diff)
downloadgeometry-dash-gba-723f879f85f25c2d466146e08261e0ae993c72b6.tar.gz
geometry-dash-gba-723f879f85f25c2d466146e08261e0ae993c72b6.zip
Added basic camera controls
Diffstat (limited to 'include/camera.h')
-rw-r--r--include/camera.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/camera.h b/include/camera.h
new file mode 100644
index 0000000..7984763
--- /dev/null
+++ b/include/camera.h
@@ -0,0 +1,14 @@
+#include "types.h"
+
+#ifndef CAMERA_H
+#define CAMERA_H
+
+typedef struct CAMERA {
+ int x;
+ int y;
+} ALIGN(4) CAMERA;
+
+CAMERA createCamera();
+void applyCameraShift();
+
+#endif // CAMERA_H