diff options
author | Craig Robbins <kde.psych@gmail.com> | 2015-04-01 23:01:28 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-04-01 23:04:25 +1000 |
commit | 9527984dbcfc0a6cc7aa0470430cb6c3aa4103ba (patch) | |
tree | a06f321422fb501ea6c28571a9ac31bf7d09c43a /src/settings.h | |
parent | 113bdd3ec0608655d1ab36886b4708bb8ccb7870 (diff) | |
download | minetest-9527984dbcfc0a6cc7aa0470430cb6c3aa4103ba.tar.gz minetest-9527984dbcfc0a6cc7aa0470430cb6c3aa4103ba.tar.bz2 minetest-9527984dbcfc0a6cc7aa0470430cb6c3aa4103ba.zip |
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
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h index 48708f6cc..d43ad6a20 100644 --- a/src/settings.h +++ b/src/settings.h @@ -31,6 +31,10 @@ with this program; if not, write to the Free Software Foundation, Inc., class Settings; struct NoiseParams; +// Global objects +extern Settings *g_settings; +extern std::string g_settings_path; + /** function type to register a changed callback */ typedef void (*setting_changed_callback)(const std::string, void*); |