bind set{Width,Height} of g_map to lua
This commit is contained in:
parent
9154c0a678
commit
95610de5f3
|
@ -127,6 +127,8 @@ void Client::registerLuaFunctions()
|
||||||
g_lua.bindSingletonFunction("g_map", "getSpawnFile", &Map::getSpawnFile, &g_map);
|
g_lua.bindSingletonFunction("g_map", "getSpawnFile", &Map::getSpawnFile, &g_map);
|
||||||
g_lua.bindSingletonFunction("g_map", "setSpawnFile", &Map::setSpawnFile, &g_map);
|
g_lua.bindSingletonFunction("g_map", "setSpawnFile", &Map::setSpawnFile, &g_map);
|
||||||
g_lua.bindSingletonFunction("g_map", "createTile", &Map::createTile, &g_map);
|
g_lua.bindSingletonFunction("g_map", "createTile", &Map::createTile, &g_map);
|
||||||
|
g_lua.bindSingletonFunction("g_map", "setWidth", &Map::setWidth, &g_map);
|
||||||
|
g_lua.bindSingletonFunction("g_map", "setHeight", &Map::setHeight, &g_map);
|
||||||
g_lua.bindSingletonFunction("g_map", "getSize", &Map::getSize, &g_map);
|
g_lua.bindSingletonFunction("g_map", "getSize", &Map::getSize, &g_map);
|
||||||
g_lua.bindSingletonFunction("g_map", "setDescription", &Map::setDescription, &g_map);
|
g_lua.bindSingletonFunction("g_map", "setDescription", &Map::setDescription, &g_map);
|
||||||
g_lua.bindSingletonFunction("g_map", "getDescriptions", &Map::getDescriptions, &g_map);
|
g_lua.bindSingletonFunction("g_map", "getDescriptions", &Map::getDescriptions, &g_map);
|
||||||
|
|
Loading…
Reference in New Issue