From 64fe79b53b03b80b5a3636dfe0d3a2d325306301 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 13 Jan 2018 10:34:56 +0100 Subject: Game refactor [2/X]: Various moves (profilergraph, nodePlacementPrediction, create_formspec_menu) * Move profilergraph to dedicated files * Move nodePlacementPrediction to Game class * Rename create_formspec_menu to GUIFormSpecMenu::create --- src/gui/guiFormSpecMenu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/guiFormSpecMenu.h') diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 071efb37f..9cd98f806 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -291,6 +291,9 @@ public: ~GUIFormSpecMenu(); + static void create(GUIFormSpecMenu **cur_formspec, Client *client, + JoystickController *joystick, IFormSource *fs_src, TextDest *txt_dest); + void setFormSpec(const std::string &formspec_string, const InventoryLocation ¤t_inventory_location) { -- cgit v1.2.3