mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Minimap as HUD element with API control
Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
This commit is contained in:
committed by
SmallJoker
parent
3068853e8a
commit
81c66d6efb
@@ -377,4 +377,7 @@ private:
|
||||
|
||||
// send_mapblock(pos)
|
||||
static int l_send_mapblock(lua_State *L);
|
||||
|
||||
// set_minimap_modes(self, modes, wanted_mode)
|
||||
static int l_set_minimap_modes(lua_State *L);
|
||||
};
|
||||
|
Reference in New Issue
Block a user