Move globals from main.cpp to more sane locations
authorCraig Robbins <kde.psych@gmail.com>
Wed, 1 Apr 2015 13:01:28 +0000 (23:01 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Wed, 1 Apr 2015 13:04:25 +0000 (23:04 +1000)
commit9527984dbcfc0a6cc7aa0470430cb6c3aa4103ba
treea06f321422fb501ea6c28571a9ac31bf7d09c43a
parent113bdd3ec0608655d1ab36886b4708bb8ccb7870
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
72 files changed:
build/android/jni/Android.mk
src/CMakeLists.txt
src/camera.cpp
src/client.cpp
src/client/clientlauncher.cpp
src/client/tile.cpp
src/clientiface.cpp
src/clientmap.cpp
src/clientmedia.cpp
src/clouds.cpp
src/clouds.h
src/collision.cpp
src/content_abm.cpp
src/content_cao.cpp
src/content_mapblock.cpp
src/content_sao.cpp
src/convert_json.cpp
src/database-sqlite3.cpp
src/drawscene.cpp
src/dungeongen.cpp
src/emerge.cpp
src/environment.cpp
src/fontengine.cpp
src/guiChatConsole.cpp
src/guiEngine.cpp
src/guiFormSpecMenu.cpp
src/guiKeyChangeMenu.cpp
src/guiTable.cpp
src/guiVolumeChange.cpp
src/guiscalingfilter.cpp
src/httpfetch.cpp
src/hud.cpp
src/inventorymanager.cpp
src/itemdef.cpp
src/keycode.cpp
src/localplayer.cpp
src/log.cpp
src/log.h
src/main.cpp
src/main.h [deleted file]
src/mainmenumanager.h
src/map.cpp
src/mapblock_mesh.cpp
src/mapgen.cpp
src/mapgen_v5.cpp
src/mapgen_v6.cpp
src/mapgen_v7.cpp
src/mapnode.cpp
src/mg_biome.cpp
src/mods.cpp
src/network/connection.cpp
src/network/serverpackethandler.cpp
src/nodedef.cpp
src/particles.cpp
src/porting.cpp
src/profiler.cpp [new file with mode: 0644]
src/profiler.h
src/script/common/c_internal.cpp
src/script/lua_api/l_internal.h
src/script/lua_api/l_mainmenu.cpp
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_util.cpp
src/server.cpp
src/serverlist.cpp
src/settings.cpp
src/settings.h
src/shader.cpp
src/sky.cpp
src/socket.cpp
src/subgame.cpp
src/test.cpp
src/wieldmesh.cpp