summaryrefslogtreecommitdiff
path: root/include/playerObject.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/playerObject.h
parente84e232f8d003f3cf3340517d8bf6b65ba430143 (diff)
downloadgeometry-dash-gba-723f879f85f25c2d466146e08261e0ae993c72b6.tar.gz
geometry-dash-gba-723f879f85f25c2d466146e08261e0ae993c72b6.zip
Added basic camera controls
Diffstat (limited to 'include/playerObject.h')
-rw-r--r--include/playerObject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/playerObject.h b/include/playerObject.h
index 7feb894..acfadbc 100644
--- a/include/playerObject.h
+++ b/include/playerObject.h
@@ -4,6 +4,7 @@
#include "toolbox.h"
#include "fixed.h"
#include "sinlut.h"
+#include "camera.h"
#ifndef PLAYEROBJECT_H
#define PLAYEROBJECT_H
@@ -11,6 +12,7 @@
#define GRAVITY 0.75
typedef struct playerObject {
+ CAMERA camera;
VELOCITY vel;
POINT pt;
u32 rotation; // Rotation amount