[CSM] sound_play & sound_stop support + client_lua_api doc (#5096)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 22 Jan 2017 10:17:41 +0000 (11:17 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Mon, 13 Mar 2017 22:56:05 +0000 (23:56 +0100)
commit2c19d51409ca903021e0b508e5bc15299c4e51dc
tree8df932580abc289160aadbc40487099fd033c7d8
parentd7bc346981e189851e490f2417ed015a38bca79b
[CSM] sound_play & sound_stop support + client_lua_api doc (#5096)

* squashed: CSM: Implement register_globalstep
  * Re-use fatal error mechanism from server to disconnect client on CSM error
  * Little client functions cleanups

* squashed: CSM: add core.after function
  * core.after is shared code between client & server
  * ModApiUtil get_us_time feature enabled for client
23 files changed:
builtin/client/init.lua
builtin/client/preview.lua
builtin/client/register.lua
builtin/common/after.lua [new file with mode: 0644]
builtin/game/init.lua
builtin/game/misc.lua
doc/client_lua_api.txt [new file with mode: 0644]
src/client.cpp
src/client.h
src/clientenvironment.cpp
src/clientenvironment.h
src/guiEngine.h
src/script/clientscripting.cpp
src/script/cpp_api/s_client.cpp
src/script/cpp_api/s_client.h
src/script/lua_api/CMakeLists.txt
src/script/lua_api/l_client.h
src/script/lua_api/l_mainmenu.cpp
src/script/lua_api/l_mainmenu.h
src/script/lua_api/l_sound.cpp [new file with mode: 0644]
src/script/lua_api/l_sound.h [new file with mode: 0644]
src/script/lua_api/l_util.cpp
src/script/scripting_mainmenu.cpp