From a020d1b653f94fbcaac06c15f9dbab4521fda355 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Sun, 21 Sep 2014 02:23:55 +0200 Subject: Allow taking screenshots of formspecs and move message to chat --- src/guiFormSpecMenu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/guiFormSpecMenu.h') diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 15bc628d1..583cad4a2 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc., class IGameDef; class InventoryManager; class ISimpleTextureSource; +class Client; typedef enum { f_Button, @@ -209,7 +210,8 @@ public: ISimpleTextureSource *tsrc, IFormSource* fs_src, TextDest* txt_dst, - GUIFormSpecMenu** ext_ptr + GUIFormSpecMenu** ext_ptr, + Client* client ); ~GUIFormSpecMenu(); @@ -294,6 +296,7 @@ protected: InventoryManager *m_invmgr; IGameDef *m_gamedef; ISimpleTextureSource *m_tsrc; + Client *m_client; std::string m_formspec_string; InventoryLocation m_current_inventory_location; -- cgit v1.2.3