]> git.lizzy.rs Git - minetest.git/blobdiff - src/localplayer.h
Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ServerMap...
[minetest.git] / src / localplayer.h
index bfe476b70360068e64e74c1d26066ce963819048..16b66716da66e1874fdbee00690663b2ab8b9379 100644 (file)
@@ -32,14 +32,14 @@ enum LocalPlayerAnimations {NO_ANIM, WALK_ANIM, DIG_ANIM, WD_ANIM};  // no local
 class LocalPlayer : public Player
 {
 public:
-       LocalPlayer(IGameDef *gamedef);
+       LocalPlayer(IGameDef *gamedef, const char *name);
        virtual ~LocalPlayer();
 
        bool isLocal() const
        {
                return true;
        }
-       
+
        ClientActiveObject *parent;
 
        bool isAttached;
@@ -71,6 +71,8 @@ class LocalPlayer : public Player
        std::string hotbar_image;
        std::string hotbar_selected_image;
 
+       video::SColor light_color;
+
        GenericCAO* getCAO() const {
                return m_cao;
        }