projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move location of main camera to g_render
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_common.h
diff --git
a/player_common.h
b/player_common.h
index 91298fcaed3bb90682736c61154929b595db1977..b32faee6fc6fd1e778e236cb980313c63f1ddaa7 100644
(file)
--- a/
player_common.h
+++ b/
player_common.h
@@
-1,8
+1,16
@@
-#ifndef PLAYER_COMMON_H
-#define PLAYER_COMMON_H
-
+#pragma once
#include "player_api.h"
#include "player_api.h"
-void player_look( player_instance *player, v3f angles );
+static float
+ k_cam_spring = 20.0f,
+ k_cam_damp = 6.7f,
+ k_cam_punch = -1.0f,
+ k_cam_shake_strength = 0.0001f,
+ k_cam_shake_trackspeed = 0.2f;
+
+static i32 k_player_debug_info = 0;
+static ui_rect g_player_debugger;
-#endif /* PLAYER_COMMON_H */
+void player_look( v3f angles, float speed );
+void player__cam_iterate(void);
+f32 player_get_heading_yaw(void);