diff options
author | Quentin Bazin <quent42340@gmail.com> | 2018-11-28 20:01:49 +0100 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-11-28 20:01:49 +0100 |
commit | 5f1cd555cd9d1c64426e173b30b5b792d211c835 (patch) | |
tree | 2c8508467d3bf28d549cce2d25144fa8ef42beae /src/gui | |
parent | ddd9317b733857630499972179caebc236b4d991 (diff) | |
download | minetest-5f1cd555cd9d1c64426e173b30b5b792d211c835.tar.gz minetest-5f1cd555cd9d1c64426e173b30b5b792d211c835.tar.bz2 minetest-5f1cd555cd9d1c64426e173b30b5b792d211c835.zip |
Move client-specific files to 'src/client' (#7902)
Update Android.mk
Remove 'src/client' from include_directories
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guiChatConsole.cpp | 6 | ||||
-rw-r--r-- | src/gui/guiConfirmRegistration.cpp | 2 | ||||
-rw-r--r-- | src/gui/guiEngine.cpp | 6 | ||||
-rw-r--r-- | src/gui/guiFormSpecMenu.cpp | 12 | ||||
-rw-r--r-- | src/gui/guiKeyChangeMenu.h | 2 | ||||
-rw-r--r-- | src/gui/guiPasswordChange.cpp | 2 | ||||
-rw-r--r-- | src/gui/guiTable.cpp | 2 |
7 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/guiChatConsole.cpp b/src/gui/guiChatConsole.cpp index b194834e2..1ccb4e6d1 100644 --- a/src/gui/guiChatConsole.cpp +++ b/src/gui/guiChatConsole.cpp @@ -19,14 +19,14 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiChatConsole.h" #include "chat.h" -#include "client.h" +#include "client/client.h" #include "debug.h" #include "gettime.h" -#include "keycode.h" +#include "client/keycode.h" #include "settings.h" #include "porting.h" #include "client/tile.h" -#include "fontengine.h" +#include "client/fontengine.h" #include "log.h" #include "gettext.h" #include <string> diff --git a/src/gui/guiConfirmRegistration.cpp b/src/gui/guiConfirmRegistration.cpp index a13929a48..9a374b405 100644 --- a/src/gui/guiConfirmRegistration.cpp +++ b/src/gui/guiConfirmRegistration.cpp @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include "guiConfirmRegistration.h" -#include "client.h" +#include "client/client.h" #include <IGUICheckBox.h> #include <IGUIButton.h> #include <IGUIStaticText.h> diff --git a/src/gui/guiEngine.cpp b/src/gui/guiEngine.cpp index 67ab6437d..a3ef1b9a6 100644 --- a/src/gui/guiEngine.cpp +++ b/src/gui/guiEngine.cpp @@ -32,11 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiMainMenu.h" #include "sound.h" #include "client/sound_openal.h" -#include "clouds.h" +#include "client/clouds.h" #include "httpfetch.h" #include "log.h" -#include "fontengine.h" -#include "guiscalingfilter.h" +#include "client/fontengine.h" +#include "client/guiscalingfilter.h" #include "irrlicht_changes/static_text.h" #ifdef __ANDROID__ diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index f23055821..c52a6ee27 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiTable.h" #include "constants.h" #include "gamedef.h" -#include "keycode.h" +#include "client/keycode.h" #include "util/strfnd.h" #include <IGUICheckBox.h> #include <IGUIEditBox.h> @@ -47,13 +47,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "mainmenumanager.h" #include "porting.h" #include "settings.h" -#include "client.h" -#include "fontengine.h" +#include "client/client.h" +#include "client/fontengine.h" #include "util/hex.h" #include "util/numeric.h" #include "util/string.h" // for parseColorString() #include "irrlicht_changes/static_text.h" -#include "guiscalingfilter.h" +#include "client/guiscalingfilter.h" #include "guiEditBoxWithScrollbar.h" #include "intlGUIEditBox.h" @@ -673,10 +673,10 @@ void GUIFormSpecMenu::parseBackground(parserData* data, const std::string &eleme pos.Y = stoi(v_pos[1]); //acts as offset clip = true; } - + if (!data->explicit_size && !clip) warningstream << "invalid use of unclipped background without a size[] element" << std::endl; - + m_backgrounds.emplace_back(name, pos, geom, clip); return; diff --git a/src/gui/guiKeyChangeMenu.h b/src/gui/guiKeyChangeMenu.h index eded61e4c..0aaa05e18 100644 --- a/src/gui/guiKeyChangeMenu.h +++ b/src/gui/guiKeyChangeMenu.h @@ -24,7 +24,7 @@ #include "irrlichttypes_extrabloated.h" #include "modalMenu.h" #include "gettext.h" -#include "keycode.h" +#include "client/keycode.h" #include <string> #include <vector> diff --git a/src/gui/guiPasswordChange.cpp b/src/gui/guiPasswordChange.cpp index e29ef27e6..469c38dbe 100644 --- a/src/gui/guiPasswordChange.cpp +++ b/src/gui/guiPasswordChange.cpp @@ -17,7 +17,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include "guiPasswordChange.h" -#include "client.h" +#include "client/client.h" #include <IGUICheckBox.h> #include <IGUIEditBox.h> #include <IGUIButton.h> diff --git a/src/gui/guiTable.cpp b/src/gui/guiTable.cpp index b1a027e9b..a123bdd6d 100644 --- a/src/gui/guiTable.cpp +++ b/src/gui/guiTable.cpp @@ -36,7 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/string.h" // for parseColorString() #include "settings.h" // for settings #include "porting.h" // for dpi -#include "guiscalingfilter.h" +#include "client/guiscalingfilter.h" /* GUITable |