Merge branch '28-add-command-to-switch-small-full-map' into 'main/gingo-test'

Resolve "Add command to switch small/full map"

See merge request ryzom/ryzom-core!26
merge-requests/30/head
Nuno Gonçalves (Ulukyn) 3 years ago
commit 568d8ab895

@ -1095,6 +1095,20 @@ public:
REGISTER_ACTION_HANDLER( CHandlerContextWebPage, "context_web_page"); REGISTER_ACTION_HANDLER( CHandlerContextWebPage, "context_web_page");
// ***************************************************************************
class CHandlerFullMap : public IActionHandler
{
public:
void execute (CCtrlBase * /* pCaller */, const std::string &/* sParams */)
{
CInterfaceManager *pIM= CInterfaceManager::getInstance();
CLuaManager::getInstance().executeLuaScript("game:openFullMap()", true);
}
};
REGISTER_ACTION_HANDLER( CHandlerFullMap, "fullmap");
// *************************************************************************** // ***************************************************************************

Loading…
Cancel
Save