aboutsummaryrefslogtreecommitdiff
path: root/src/remoteplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteplayer.h')
-rw-r--r--src/remoteplayer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/remoteplayer.h b/src/remoteplayer.h
index e33630841..0ab33adfe 100644
--- a/src/remoteplayer.h
+++ b/src/remoteplayer.h
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "player.h"
#include "skyparams.h"
+#include "lighting.h"
class PlayerSAO;
@@ -125,6 +126,10 @@ public:
*frame_speed = local_animation_speed;
}
+ void setLighting(const Lighting &lighting) { m_lighting = lighting; }
+
+ const Lighting& getLighting() const { return m_lighting; }
+
void setDirty(bool dirty) { m_dirty = true; }
u16 protocol_version = 0;
@@ -160,5 +165,7 @@ private:
MoonParams m_moon_params;
StarParams m_star_params;
+ Lighting m_lighting;
+
session_t m_peer_id = PEER_ID_INEXISTENT;
};