mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
[CSM] storage + fixes
This commit is contained in:
parent
a50d07d39a
commit
ba66fce833
7 changed files with 9 additions and 11 deletions
|
@ -25,5 +25,6 @@ set(common_SCRIPT_LUA_API_SRCS
|
|||
set(client_SCRIPT_LUA_API_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/l_client.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/l_mainmenu.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/l_storage.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/l_sound.cpp
|
||||
PARENT_SCOPE)
|
||||
|
|
|
@ -23,8 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#include "lua_api/l_base.h"
|
||||
|
||||
class ModApiClient:
|
||||
public ModApiBase
|
||||
class ModApiClient: public ModApiBase
|
||||
{
|
||||
private:
|
||||
// get_current_modname()
|
||||
|
|
|
@ -532,12 +532,6 @@ void ModApiUtil::InitializeClient(lua_State *L, int top)
|
|||
|
||||
API_FCT(get_us_time);
|
||||
|
||||
API_FCT(setting_set);
|
||||
API_FCT(setting_get);
|
||||
API_FCT(setting_setbool);
|
||||
API_FCT(setting_getbool);
|
||||
API_FCT(setting_save);
|
||||
|
||||
API_FCT(parse_json);
|
||||
API_FCT(write_json);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue