diff options
author | BlockMen <nmuelll@web.de> | 2014-09-21 02:23:55 +0200 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2014-09-21 19:15:48 +0200 |
commit | a020d1b653f94fbcaac06c15f9dbab4521fda355 (patch) | |
tree | 81668a035756bf88a0d3b60b31488761d4b78191 /src/guiFormSpecMenu.h | |
parent | 2b7a1ca57245409df5b79c9629facb90746898cc (diff) | |
download | minetest-a020d1b653f94fbcaac06c15f9dbab4521fda355.tar.gz minetest-a020d1b653f94fbcaac06c15f9dbab4521fda355.tar.bz2 minetest-a020d1b653f94fbcaac06c15f9dbab4521fda355.zip |
Allow taking screenshots of formspecs and move message to chat
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r-- | src/guiFormSpecMenu.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |