1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Move object nametags to camera

This commit is contained in:
RealBadAngel 2016-02-15 14:01:01 +01:00 committed by est31
parent 4c654557ec
commit c3b279750e
9 changed files with 138 additions and 54 deletions

View file

@ -32,6 +32,8 @@ class IShaderSource;
class MtEventManager;
class IRollbackManager;
class EmergeManager;
class Camera;
namespace irr { namespace scene {
class IAnimatedMesh;
class ISceneManager;
@ -67,6 +69,10 @@ public:
{ return NULL; }
virtual scene::ISceneManager* getSceneManager()=0;
virtual Camera* getCamera()
{ return NULL; }
virtual void setCamera(Camera *camera) {}
// Only usable on the server, and NOT thread-safe. It is usable from the
// environment thread.
virtual IRollbackManager* getRollbackManager(){return NULL;}