summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-02-15 14:01:01 +0100
committerest31 <MTest31@outlook.com>2016-02-18 16:43:29 +0100
commitc3b279750ece0b5144bf8e973d55108347462223 (patch)
tree1c7acbe456ed6e29a34fd7486c7d888df4d8f2fa /src/content_cao.h
parent4c654557ecc32620b78c146bd6d90f531a71d25a (diff)
downloadminetest-c3b279750ece0b5144bf8e973d55108347462223.tar.gz
minetest-c3b279750ece0b5144bf8e973d55108347462223.tar.bz2
minetest-c3b279750ece0b5144bf8e973d55108347462223.zip
Move object nametags to camera
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index f71dfeb1f..a166ff494 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -26,6 +26,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "object_properties.h"
#include "itemgroup.h"
+class Camera;
+struct Nametag;
+
/*
SmoothTranslator
*/
@@ -65,12 +68,14 @@ private:
//
scene::ISceneManager *m_smgr;
IrrlichtDevice *m_irr;
+ Camera* m_camera;
+ IGameDef *m_gamedef;
aabb3f m_selection_box;
scene::IMeshSceneNode *m_meshnode;
scene::IAnimatedMeshSceneNode *m_animated_meshnode;
WieldMeshSceneNode *m_wield_meshnode;
scene::IBillboardSceneNode *m_spritenode;
- scene::ITextSceneNode* m_textnode;
+ Nametag* m_nametag;
v3f m_position;
v3f m_velocity;
v3f m_acceleration;