mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add minimap feature
This commit is contained in:
@@ -34,6 +34,7 @@ class IShaderSource;
|
||||
|
||||
|
||||
class MapBlock;
|
||||
struct MinimapMapblock;
|
||||
|
||||
struct MeshMakeData
|
||||
{
|
||||
@@ -108,6 +109,11 @@ public:
|
||||
return m_mesh;
|
||||
}
|
||||
|
||||
MinimapMapblock* getMinimapMapblock()
|
||||
{
|
||||
return m_minimap_mapblock;
|
||||
}
|
||||
|
||||
bool isAnimationForced() const
|
||||
{
|
||||
return m_animation_force_timer == 0;
|
||||
@@ -123,6 +129,7 @@ public:
|
||||
|
||||
private:
|
||||
scene::SMesh *m_mesh;
|
||||
MinimapMapblock *m_minimap_mapblock;
|
||||
IGameDef *m_gamedef;
|
||||
ITextureSource *m_tsrc;
|
||||
IShaderSource *m_shdrsrc;
|
||||
|
Reference in New Issue
Block a user