Replace various std::map with UNORDERED_MAP + various cleanups
authorLoic Blot <loic.blot@unix-experience.fr>
Wed, 5 Oct 2016 07:03:55 +0000 (09:03 +0200)
committerNer'zhul <nerzhul@users.noreply.github.com>
Wed, 5 Oct 2016 08:53:19 +0000 (10:53 +0200)
commit613797a3048907275ceebe29582b9fc2761b1f25
tree1d8f90a75c86dd3a32a72d3789bc108042d8f65d
parent5f084cd98d7b3326b51320455364337539710efd
Replace various std::map with UNORDERED_MAP + various cleanups

This is part 2 for 5f084cd98d7b3326b51320455364337539710efd

Other improvements:

* Use the defined ItemGroupList when used
* make Client::checkPrivilege const
* inline some trivial functions
* Add ActiveObjectMap typedef
* Add SettingsEntries typedef
23 files changed:
src/client.cpp
src/client.h
src/clientiface.cpp
src/clientiface.h
src/content_cao.cpp
src/content_cao.h
src/emerge.cpp
src/emerge.h
src/environment.cpp
src/environment.h
src/game.cpp
src/itemdef.cpp
src/itemgroup.h
src/mapsector.cpp
src/mapsector.h
src/mg_schematic.cpp
src/script/common/c_content.cpp
src/script/common/c_content.h
src/script/common/c_converter.h
src/script/lua_api/l_util.cpp
src/server.cpp
src/settings.cpp
src/settings.h