]> git.lizzy.rs Git - minetest.git/blobdiff - src/map.h
Initially add small and tight logging facility
[minetest.git] / src / map.h
index 6248a56657d0845d35a5fd8fc282f06b9f7a87ef..b58ba047be1a0aace8b92162ec6bb35f239f5d4f 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -518,11 +518,12 @@ class ClientMap : public Map, public scene::ISceneNode
                ISceneNode::drop();
        }
 
-       void updateCamera(v3f pos, v3f dir)
+       void updateCamera(v3f pos, v3f dir, f32 fov)
        {
                JMutexAutoLock lock(m_camera_mutex);
                m_camera_position = pos;
                m_camera_direction = dir;
+               m_camera_fov = fov;
        }
 
        /*
@@ -552,6 +553,8 @@ class ClientMap : public Map, public scene::ISceneNode
 
        void renderMap(video::IVideoDriver* driver, s32 pass);
 
+       void renderPostFx();
+
        /*
                Methods for setting temporary modifications to nodes for
                drawing.
@@ -601,6 +604,7 @@ class ClientMap : public Map, public scene::ISceneNode
 
        v3f m_camera_position;
        v3f m_camera_direction;
+       f32 m_camera_fov;
        JMutex m_camera_mutex;
        
        core::map<v2s16, bool> m_last_drawn_sectors;