mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
Remove unused includes
This commit is contained in:
parent
cc68316f72
commit
a2bc1569e0
@ -5,7 +5,8 @@
|
||||
#include <future>
|
||||
#include <system_error>
|
||||
|
||||
#include <osgDB/WriteFile>
|
||||
#include <osgDB/ReaderWriter>
|
||||
#include <osgDB/Registry>
|
||||
#include <osgViewer/ViewerEventHandlers>
|
||||
|
||||
#include <SDL.h>
|
||||
@ -28,7 +29,6 @@
|
||||
|
||||
#include <components/compiler/extensions0.hpp>
|
||||
|
||||
#include <components/stereo/multiview.hpp>
|
||||
#include <components/stereo/stereomanager.hpp>
|
||||
|
||||
#include <components/sceneutil/glextensions.hpp>
|
||||
|
@ -1,13 +1,7 @@
|
||||
#include "animationbindings.hpp"
|
||||
|
||||
#include <components/esm3/loadmgef.hpp>
|
||||
#include <components/esm3/loadstat.hpp>
|
||||
#include <components/lua/asyncpackage.hpp>
|
||||
#include <components/lua/luastate.hpp>
|
||||
#include <components/lua/utilpackage.hpp>
|
||||
#include <components/misc/finitenumbers.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/settings/values.hpp>
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
#include "../mwbase/mechanicsmanager.hpp"
|
||||
@ -15,11 +9,8 @@
|
||||
|
||||
#include "../mwmechanics/character.hpp"
|
||||
|
||||
#include "../mwworld/esmstore.hpp"
|
||||
|
||||
#include "context.hpp"
|
||||
#include "luamanagerimp.hpp"
|
||||
#include "objectvariant.hpp"
|
||||
|
||||
namespace MWLua
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "../mwbase/environment.hpp"
|
||||
|
||||
#include "idcollectionbindings.hpp"
|
||||
#include "types/types.hpp"
|
||||
#include "recordstore.hpp"
|
||||
|
||||
namespace sol
|
||||
{
|
||||
|
@ -1,7 +1,5 @@
|
||||
#include "cellbindings.hpp"
|
||||
|
||||
#include <components/esm/esmbridge.hpp>
|
||||
|
||||
#include <components/esm3/loadacti.hpp>
|
||||
#include <components/esm3/loadalch.hpp>
|
||||
#include <components/esm3/loadappa.hpp>
|
||||
@ -27,7 +25,6 @@
|
||||
#include <components/esm4/loadammo.hpp>
|
||||
#include <components/esm4/loadarmo.hpp>
|
||||
#include <components/esm4/loadbook.hpp>
|
||||
#include <components/esm4/loadcell.hpp>
|
||||
#include <components/esm4/loadclot.hpp>
|
||||
#include <components/esm4/loadcont.hpp>
|
||||
#include <components/esm4/loaddoor.hpp>
|
||||
@ -38,7 +35,6 @@
|
||||
#include <components/esm4/loadligh.hpp>
|
||||
#include <components/esm4/loadmisc.hpp>
|
||||
#include <components/esm4/loadmstt.hpp>
|
||||
#include <components/esm4/loadrefr.hpp>
|
||||
#include <components/esm4/loadscol.hpp>
|
||||
#include <components/esm4/loadstat.hpp>
|
||||
#include <components/esm4/loadtree.hpp>
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <components/lua/luastate.hpp>
|
||||
|
||||
#include "idcollectionbindings.hpp"
|
||||
#include "types/types.hpp"
|
||||
#include "recordstore.hpp"
|
||||
|
||||
namespace sol
|
||||
{
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include <stdexcept>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/esm3/loadfact.hpp>
|
||||
#include <components/lua/l10n.hpp>
|
||||
#include <components/lua/luastate.hpp>
|
||||
#include <components/lua/serialization.hpp>
|
||||
|
@ -1,9 +1,5 @@
|
||||
#include "localscripts.hpp"
|
||||
|
||||
#include <components/esm3/loadcell.hpp>
|
||||
#include <components/esm3/loadweap.hpp>
|
||||
#include <components/misc/strings/lower.hpp>
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
#include "../mwbase/mechanicsmanager.hpp"
|
||||
#include "../mwmechanics/aicombat.hpp"
|
||||
|
@ -1,9 +1,7 @@
|
||||
#ifndef MWLUA_LOCALSCRIPTS_H
|
||||
#define MWLUA_LOCALSCRIPTS_H
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <components/lua/luastate.hpp>
|
||||
|
@ -5,6 +5,10 @@
|
||||
#include <MyGUI_InputManager.h>
|
||||
#include <osg/Stats>
|
||||
|
||||
#include <sol/object.hpp>
|
||||
#include <sol/table.hpp>
|
||||
#include <sol/types.hpp>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
|
||||
#include <components/esm/luascripts.hpp>
|
||||
@ -15,7 +19,6 @@
|
||||
|
||||
#include <components/l10n/manager.hpp>
|
||||
|
||||
#include <components/lua_ui/content.hpp>
|
||||
#include <components/lua_ui/registerscriptsettings.hpp>
|
||||
#include <components/lua_ui/util.hpp>
|
||||
|
||||
|
@ -3,9 +3,10 @@
|
||||
|
||||
#include <filesystem>
|
||||
#include <map>
|
||||
#include <osg/Stats>
|
||||
#include <set>
|
||||
|
||||
#include <osg/Stats>
|
||||
|
||||
#include <components/lua/inputactions.hpp>
|
||||
#include <components/lua/luastate.hpp>
|
||||
#include <components/lua/scripttracker.hpp>
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "luamanagerimp.hpp"
|
||||
#include "objectlists.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace
|
||||
{
|
||||
template <class T = MWWorld::Ptr>
|
||||
|
@ -1,9 +1,7 @@
|
||||
#ifndef MWLUA_OBJECT_H
|
||||
#define MWLUA_OBJECT_H
|
||||
|
||||
#include <map>
|
||||
#include <stdexcept>
|
||||
#include <typeindex>
|
||||
|
||||
#include <sol/sol.hpp>
|
||||
|
||||
|
@ -1,9 +1,5 @@
|
||||
#include "objectlists.hpp"
|
||||
|
||||
#include <components/esm3/esmreader.hpp>
|
||||
#include <components/esm3/esmwriter.hpp>
|
||||
#include <components/esm3/loadcell.hpp>
|
||||
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "../mwworld/esmstore.hpp"
|
||||
|
||||
#include "idcollectionbindings.hpp"
|
||||
#include "types/types.hpp"
|
||||
#include "recordstore.hpp"
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -1,10 +1,16 @@
|
||||
#ifndef MWLUA_RECORDSTORE_H
|
||||
#define MWLUA_RECORDSTORE_H
|
||||
|
||||
#include <sol/sol.hpp>
|
||||
#include <type_traits>
|
||||
|
||||
#include <sol/forward.hpp>
|
||||
#include <sol/overload.hpp>
|
||||
#include <sol/state_view.hpp>
|
||||
#include <sol/table.hpp>
|
||||
#include <sol/types.hpp>
|
||||
#include <sol/unsafe_function.hpp>
|
||||
#include <sol/usertype.hpp>
|
||||
|
||||
#include <components/esm/defs.hpp>
|
||||
#include <components/lua/luastate.hpp>
|
||||
#include <components/lua/util.hpp>
|
||||
|
||||
#include "apps/openmw/mwbase/environment.hpp"
|
||||
|
@ -1,9 +1,11 @@
|
||||
#include "stats.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <variant>
|
||||
|
||||
#include <components/esm3/loadclas.hpp>
|
||||
|
@ -1,7 +1,8 @@
|
||||
#ifndef MWLUA_USERDATASERIALIZER_H
|
||||
#define MWLUA_USERDATASERIALIZER_H
|
||||
|
||||
#include "object.hpp"
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
namespace LuaUtil
|
||||
{
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include <components/esm3/loadclot.hpp>
|
||||
#include <components/esm3/loadligh.hpp>
|
||||
#include <components/esm3/loadmisc.hpp>
|
||||
#include <components/esm3/loadskil.hpp>
|
||||
#include <components/esm3/loadweap.hpp>
|
||||
#include <components/lua/luastate.hpp>
|
||||
#include <components/misc/finitenumbers.hpp>
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <variant>
|
||||
|
@ -10,10 +10,8 @@
|
||||
|
||||
#include <osg/io_utils>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
namespace DetourNavigator
|
||||
@ -79,7 +77,7 @@ namespace DetourNavigator
|
||||
return;
|
||||
}
|
||||
|
||||
const auto data
|
||||
const std::unique_ptr<PreparedNavMeshData> data
|
||||
= prepareNavMeshTileData(*recastMesh, mWorldspace, mTilePosition, mAgentBounds, mSettings.mRecast);
|
||||
|
||||
if (data == nullptr)
|
||||
|
@ -3,8 +3,6 @@
|
||||
#include "exceptions.hpp"
|
||||
#include "flags.hpp"
|
||||
#include "navmeshdata.hpp"
|
||||
#include "navmeshdb.hpp"
|
||||
#include "navmeshtilescache.hpp"
|
||||
#include "offmeshconnection.hpp"
|
||||
#include "preparednavmeshdata.hpp"
|
||||
#include "recastcontext.hpp"
|
||||
@ -22,8 +20,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <iomanip>
|
||||
#include <limits>
|
||||
|
||||
namespace DetourNavigator
|
||||
{
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include <DetourCommon.h>
|
||||
#include <DetourNavMesh.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
#include <tuple>
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
namespace DetourNavigator
|
||||
{
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
#include <Recast.h>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
namespace
|
||||
{
|
||||
void initPolyMeshDetail(rcPolyMeshDetail& value) noexcept
|
||||
|
@ -3,9 +3,10 @@
|
||||
|
||||
#include "flags.hpp"
|
||||
|
||||
#include <optional>
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <optional>
|
||||
|
||||
class dtNavMeshQuery;
|
||||
|
||||
namespace DetourNavigator
|
||||
|
@ -11,9 +11,7 @@
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <numeric>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "configurationmanager.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <map>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/fallback/validate.hpp>
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef COMPONENTS_FILES_CONFIGURATIONMANAGER_HPP
|
||||
#define COMPONENTS_FILES_CONFIGURATIONMANAGER_HPP
|
||||
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <stack>
|
||||
#include <string_view>
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <osg/ClipControl>
|
||||
|
||||
#include <sstream>
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include "glextensions.hpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user