projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make getters of the Settings class const
[oweals/minetest.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 126445b0334a1388a22b045e94ed5f7c1580e443..191b418873096abc447e358d723cf2703b532847 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-1,6
+1,6
@@
/*
Minetest
/*
Minetest
-Copyright (C) 201
0
celeron55, Perttu Ahola <celeron55@gmail.com>
+Copyright (C) 201
3
celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@
-20,14
+20,25
@@
with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef MAIN_HEADER
#define MAIN_HEADER
#ifndef MAIN_HEADER
#define MAIN_HEADER
+#include <string>
+
// Settings
class Settings;
extern Settings *g_settings;
// Settings
class Settings;
extern Settings *g_settings;
+extern std::string g_settings_path;
// Global profiler
class Profiler;
extern Profiler *g_profiler;
// Global profiler
class Profiler;
extern Profiler *g_profiler;
+// Menu clouds
+class Clouds;
+extern Clouds *g_menuclouds;
+
+// Scene manager used for menu clouds
+namespace irr{namespace scene{class ISceneManager;}}
+extern irr::scene::ISceneManager *g_menucloudsmgr;
+
// Debug streams
#include <fstream>
// Debug streams
#include <fstream>