summaryrefslogtreecommitdiffhomepage
path: root/src/player.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-12 17:34:21 -0400
committerrealtradam <[email protected]>2024-05-12 17:34:21 -0400
commit8475767975a0f07507908ba53dba894b97b48795 (patch)
tree4d5bf2f8c49eb92f8d9777e0606d944dca01905d /src/player.h
parentf5311cc940fd94aa70808f19a38581c80b764615 (diff)
downloadtojam2024-8475767975a0f07507908ba53dba894b97b48795.tar.gz
tojam2024-8475767975a0f07507908ba53dba894b97b48795.zip
shooting bullets
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 3d9db39..0e94080 100644
--- a/src/player.h
+++ b/src/player.h
@@ -4,6 +4,9 @@
#include "raylib.h"
#include "input.h"
+// for camera_style
+// 0 = first person
+// 1 = third person
typedef
struct
{
@@ -11,6 +14,7 @@ struct
Vector3 direction;
float speed;
Color color;
+ int camera_mode;
}
Player;