+ std::string hotbar_image = "";
+ std::string hotbar_selected_image = "";
+
+ video::SColor light_color = video::SColor(255, 255, 255, 255);
+
+ float hurt_tilt_timer = 0.0f;
+ float hurt_tilt_strength = 0.0f;
+
+ GenericCAO *getCAO() const { return m_cao; }
+
+ void setCAO(GenericCAO *toset)
+ {
+ assert(!m_cao); // Pre-condition
+ m_cao = toset;
+ }
+
+ u32 maxHudId() const { return hud.size(); }
+
+ u16 getBreath() const { return m_breath; }
+ void setBreath(u16 breath) { m_breath = breath; }
+
+ v3s16 getLightPosition() const;
+
+ void setYaw(f32 yaw) { m_yaw = yaw; }
+ f32 getYaw() const { return m_yaw; }
+
+ void setPitch(f32 pitch) { m_pitch = pitch; }
+ f32 getPitch() const { return m_pitch; }
+
+ inline void setPosition(const v3f &position)
+ {
+ m_position = position;
+ m_sneak_node_exists = false;
+ }
+
+ v3f getPosition() const { return m_position; }
+ v3f getEyePosition() const { return m_position + getEyeOffset(); }
+ v3f getEyeOffset() const;
+ void setEyeHeight(float eye_height) { m_eye_height = eye_height; }
+
+ void setCollisionbox(const aabb3f &box) { m_collisionbox = box; }
+
+ float getZoomFOV() const { return m_zoom_fov; }
+ void setZoomFOV(float zoom_fov) { m_zoom_fov = zoom_fov; }