1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Allow taking screenshots of formspecs and move message to chat

This commit is contained in:
BlockMen 2014-09-21 02:23:55 +02:00
parent 2b7a1ca572
commit a020d1b653
6 changed files with 53 additions and 40 deletions

View file

@ -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;