]> git.lizzy.rs Git - minetest.git/blobdiff - src/content_cao.h
small drawItemStack cleanup
[minetest.git] / src / content_cao.h
index 1e526d1cd4fedce30d8dd265709a98613d96480f..abb242aa4d5906e3a6654f3b189cd1d47bc1085d 100644 (file)
@@ -70,7 +70,6 @@ class GenericCAO : public ClientActiveObject
        scene::IAnimatedMeshSceneNode *m_animated_meshnode;
        WieldMeshSceneNode *m_wield_meshnode;
        scene::IBillboardSceneNode *m_spritenode;
-       video::SColor m_nametag_color;
        scene::ITextSceneNode* m_textnode;
        v3f m_position;
        v3f m_velocity;
@@ -178,6 +177,8 @@ class GenericCAO : public ClientActiveObject
 
        void updateLight(u8 light_at_pos);
 
+       void updateLightNoCheck(u8 light_at_pos);
+
        v3s16 getLightPosition();
 
        void updateNodePos();
@@ -200,6 +201,11 @@ class GenericCAO : public ClientActiveObject
                        float time_from_last_punch=1000000);
 
        std::string debugInfoText();
+       
+       std::string infoText()
+       {
+               return m_prop.infotext;
+       }
 };