From 2ac20982e0772b94b21d95b53519bd2164632d98 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 24 Jul 2012 20:57:17 +0300 Subject: [PATCH] Detached inventories --- doc/lua_api.txt | 6 + games/minimal/mods/experimental/init.lua | 7 ++ src/client.cpp | 34 ++++++ src/client.h | 4 + src/clientserver.h | 9 ++ src/guiFormSpecMenu.cpp | 17 ++- src/guiFormSpecMenu.h | 6 +- src/inventorymanager.cpp | 40 +++---- src/inventorymanager.h | 16 ++- src/scriptapi.cpp | 18 +++ src/server.cpp | 137 ++++++++++++++--------- src/server.h | 13 +++ 12 files changed, 222 insertions(+), 85 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 176745a2d..c9fafd65f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -677,6 +677,7 @@ size[,] ^ deprecated: invsize[,;] list[;;,;,;] +list[;;,;,;] ^ Show an inventory list image[,;,;] @@ -726,10 +727,12 @@ image_button_exit[,;,;;;