[CSM] Add function to set minimap shape (#5569)
authorbigfoot547 <bigfoot547@users.noreply.github.com>
Fri, 14 Apr 2017 07:04:41 +0000 (02:04 -0500)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Fri, 14 Apr 2017 07:04:41 +0000 (09:04 +0200)
commite80a83d1cb9d01273ddca1c075c25cd01c291ca7
tree277bc42c60466ca4e35fd29072c3eae5e6511391
parent6f641df8a52ccb84452a289416527e3d1a36621a
[CSM] Add function to set minimap shape (#5569)

* [CSM] Add function to set minimap shape

Also deprecates `toggle_shape`.

* Oh fish, I messed that one up!

* Fix Style

* Sorry, I missed something

I still had the `luamethod` call in there!

* Add getters

* Remove extra line

* Remove useless variable

Please review again @nerzhul . Thanks!

* Satisfy nerzhul
clientmods/preview/init.lua
doc/client_lua_api.md
src/minimap.cpp
src/minimap.h
src/script/lua_api/l_minimap.cpp
src/script/lua_api/l_minimap.h