mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +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
|
@ -50,6 +50,7 @@ struct PointedThing;
|
|||
class Database;
|
||||
class Mapper;
|
||||
struct MinimapMapblock;
|
||||
class Camera;
|
||||
|
||||
struct QueuedMeshUpdate
|
||||
{
|
||||
|
@ -507,6 +508,12 @@ public:
|
|||
Mapper* getMapper ()
|
||||
{ return m_mapper; }
|
||||
|
||||
void setCamera(Camera* camera)
|
||||
{ m_camera = camera; }
|
||||
|
||||
Camera* getCamera ()
|
||||
{ return m_camera; }
|
||||
|
||||
bool isMinimapDisabledByServer()
|
||||
{ return m_minimap_disabled_by_server; }
|
||||
|
||||
|
@ -589,6 +596,7 @@ private:
|
|||
ParticleManager m_particle_manager;
|
||||
con::Connection m_con;
|
||||
IrrlichtDevice *m_device;
|
||||
Camera *m_camera;
|
||||
Mapper *m_mapper;
|
||||
bool m_minimap_disabled_by_server;
|
||||
// Server serialization version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue