mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
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
This commit is contained in:
@@ -33,6 +33,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include <cctype>
|
||||
#include <algorithm>
|
||||
|
||||
static Settings main_settings;
|
||||
Settings *g_settings = &main_settings;
|
||||
std::string g_settings_path;
|
||||
|
||||
Settings::~Settings()
|
||||
{
|
||||
|
Reference in New Issue
Block a user