mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00: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:
parent
113bdd3ec0
commit
9527984dbc
72 changed files with 120 additions and 194 deletions
|
@ -24,12 +24,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <matrix4.h>
|
||||
#include "log.h"
|
||||
#include "mapsector.h"
|
||||
#include "main.h" // dout_client, g_settings
|
||||
#include "nodedef.h"
|
||||
#include "mapblock.h"
|
||||
#include "profiler.h"
|
||||
#include "settings.h"
|
||||
#include "camera.h" // CameraModes
|
||||
#include "camera.h" // CameraModes
|
||||
#include "util/mathconstants.h"
|
||||
#include <algorithm>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue