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:
parent
3376d2e114
commit
ffd16e3fec
23 changed files with 883 additions and 30 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue