1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add minimap feature

This commit is contained in:
RealBadAngel 2015-06-22 04:34:56 +02:00 committed by est31
parent 3376d2e114
commit ffd16e3fec
23 changed files with 883 additions and 30 deletions

View file

@ -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;