mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-10 19:32:10 +00:00
Move object nametags to camera
This commit is contained in:
parent
4c654557ec
commit
c3b279750e
9 changed files with 138 additions and 54 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue