on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfix
authorKahrl <kahrl@gmx.net>
Sat, 24 Mar 2012 17:52:50 +0000 (18:52 +0100)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 29 Mar 2012 11:27:09 +0000 (14:27 +0300)
commita9ddbb4bebd05f8fd9e2ee6876a34e8cbb0d8c2f
treef1a347e8fa04632175d370fed57e7f75f677401c
parentf8c3743991a6897c7133bf35dc2699b8b5f9df7c
on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfix

Add minetest.register_on_joinplayer and minetest.register_on_leaveplayer,
make adding new callbacks to scriptapi.cpp easier by adding
scriptapi_run_callbacks, also fix a minor bug with PlayerSAO <->
singleplayer mode interaction
builtin/builtin.lua
src/scriptapi.cpp
src/scriptapi.h
src/server.cpp