diff options
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h index df40e3b9f..645b9355d 100644 --- a/src/camera.h +++ b/src/camera.h @@ -27,6 +27,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/numeric.h" #include <ICameraSceneNode.h> +#include "client.h" + class LocalPlayer; struct MapDrawControl; class IGameDef; @@ -113,7 +115,8 @@ public: // Update the camera from the local player's position. // busytime is used to adjust the viewing range. void update(LocalPlayer* player, f32 frametime, f32 busytime, - v2u32 screensize, f32 tool_reload_ratio); + v2u32 screensize, f32 tool_reload_ratio, + int current_camera_mode, ClientEnvironment &c_env); // Render distance feedback loop void updateViewingRange(f32 frametime_in, f32 busytime_in); |