From 967121a34bbc60e6b46c7ec470b151f668ef1fef Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 23 Jun 2013 18:30:21 +0200 Subject: Replace C++ mainmenu by formspec powered one --- src/game.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index bcd155a79..44ec9ee37 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -208,33 +208,6 @@ public: Client *m_client; }; -class FormspecFormSource: public IFormSource -{ -public: - FormspecFormSource(std::string formspec,FormspecFormSource** game_formspec) - { - m_formspec = formspec; - m_game_formspec = game_formspec; - } - - ~FormspecFormSource() - { - *m_game_formspec = 0; - } - - void setForm(std::string formspec) { - m_formspec = formspec; - } - - std::string getForm() - { - return m_formspec; - } - - std::string m_formspec; - FormspecFormSource** m_game_formspec; -}; - /* Check if a node is pointable */ -- cgit v1.2.3