Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
- Loading branch information
Showing
with
471 additions
and 145 deletions.
- +32 −1 doc/lua_api.txt
- +1 −0 src/client/client.cpp
- +1 −0 src/client/client.h
- +29 −46 src/client/game.cpp
- +29 −1 src/client/hud.cpp
- +2 −0 src/client/hud.h
- +1 −1 src/client/mapblock_mesh.cpp
- +178 −59 src/client/minimap.cpp
- +22 −19 src/client/minimap.h
- +1 −0 src/hud.cpp
- +11 −2 src/hud.h
- +1 −0 src/network/clientopcodes.cpp
- +41 −5 src/network/clientpackethandler.cpp
- +13 −1 src/network/networkprotocol.h
- +1 −0 src/network/serveropcodes.cpp
- +14 −10 src/script/lua_api/l_minimap.cpp
- +62 −0 src/script/lua_api/l_object.cpp
- +3 −0 src/script/lua_api/l_object.h
- +17 −0 src/server.cpp
- +12 −0 src/server.h
Oops, something went wrong.