Code modernization: subfolders (#6283)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 19 Aug 2017 20:23:47 +0000 (22:23 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Aug 2017 20:23:47 +0000 (22:23 +0200)
commit88b436e6a9c98af7215bd115e1b7a3f1a1db99d3
treef07cdd7f93ca26b84192d7b89f7b952e603ba5cf
parent7528986e4449febead9b18b6118f0b096f7cf800
Code modernization: subfolders (#6283)

* Code modernization: subfolders

Modernize various code on subfolders client, network, script, threading, unittests, util

* empty function
* default constructor/destructor
* for range-based loops
* use emplace_back instead of push_back
* C++ STL header style
* Make connection.cpp readable in a pointed place + typo
49 files changed:
src/client/tile.cpp
src/client/tile.h
src/network/clientpackethandler.cpp
src/network/connection.cpp
src/network/connection.h
src/network/networkpacket.h
src/network/serverpackethandler.cpp
src/script/lua_api/l_camera.h
src/script/lua_api/l_client.cpp
src/script/lua_api/l_craft.cpp
src/script/lua_api/l_env.cpp
src/script/lua_api/l_http.cpp
src/script/lua_api/l_inventory.cpp
src/script/lua_api/l_inventory.h
src/script/lua_api/l_item.cpp
src/script/lua_api/l_item.h
src/script/lua_api/l_itemstackmeta.h
src/script/lua_api/l_localplayer.h
src/script/lua_api/l_minimap.h
src/script/lua_api/l_nodemeta.cpp
src/script/lua_api/l_nodemeta.h
src/script/lua_api/l_nodetimer.cpp
src/script/lua_api/l_nodetimer.h
src/script/lua_api/l_noise.cpp
src/script/lua_api/l_noise.h
src/script/lua_api/l_object.cpp
src/script/lua_api/l_object.h
src/script/lua_api/l_particles.cpp
src/script/lua_api/l_settings.cpp
src/script/lua_api/l_storage.h
src/script/lua_api/l_util.cpp
src/script/lua_api/l_vmanip.cpp
src/serverenvironment.cpp
src/threading/semaphore.h
src/unittest/test.h
src/unittest/test_noderesolver.cpp
src/unittest/test_schematic.cpp
src/unittest/test_threading.cpp
src/unittest/test_voxelmanipulator.cpp
src/util/auth.cpp
src/util/base64.cpp
src/util/container.h
src/util/numeric.cpp
src/util/pointedthing.h
src/util/serialize.cpp
src/util/serialize.h
src/util/sha1.cpp
src/util/srp.cpp
src/util/thread.h