From 9527984dbcfc0a6cc7aa0470430cb6c3aa4103ba Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Wed, 1 Apr 2015 23:01:28 +1000 Subject: Move globals from main.cpp to more sane locations Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h --- src/subgame.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/subgame.cpp') diff --git a/src/subgame.cpp b/src/subgame.cpp index 864732876..f736a78c6 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -21,16 +21,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "porting.h" #include "filesys.h" #include "settings.h" -#include "main.h" #include "log.h" #include "strfnd.h" #include "defaultsettings.h" // for override_default_settings #include "mapgen.h" // for MapgenParams -#include "main.h" // for g_settings +#include "util/string.h" + #ifndef SERVER -#include "client/tile.h" // getImagePath + #include "client/tile.h" // getImagePath #endif -#include "util/string.h" bool getGameMinetestConfig(const std::string &game_path, Settings &conf) { -- cgit v1.2.3