diff options
author | sapier <Sapier at GMX dot net> | 2013-06-23 18:30:21 +0200 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-07-02 19:58:20 -0400 |
commit | 967121a34bbc60e6b46c7ec470b151f668ef1fef (patch) | |
tree | e5cc5ec845d3c286bcb0e203e3a5f146950bfaf1 /src/game.cpp | |
parent | fe4ce03d529f70346b2e2c4872223ebdcd37fffa (diff) | |
download | minetest-967121a34bbc60e6b46c7ec470b151f668ef1fef.tar.gz minetest-967121a34bbc60e6b46c7ec470b151f668ef1fef.tar.bz2 minetest-967121a34bbc60e6b46c7ec470b151f668ef1fef.zip |
Replace C++ mainmenu by formspec powered one
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
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 */ |