Cleanup components includes

pull/3228/head
elsid 2 years ago
parent 856fcb7742
commit cc8c7002ea
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -4,6 +4,7 @@
#include "importscri.hpp" #include "importscri.hpp"
#include <components/esm3/loadscpt.hpp> #include <components/esm3/loadscpt.hpp>
#include <components/esm/esmcommon.hpp>
namespace ESM namespace ESM
{ {

@ -48,6 +48,7 @@
#include <components/vfs/manager.hpp> #include <components/vfs/manager.hpp>
#include <components/widgets/tags.hpp> #include <components/widgets/tags.hpp>
#include <components/widgets/widgets.hpp>
#include <components/misc/resourcehelpers.hpp> #include <components/misc/resourcehelpers.hpp>
#include <components/misc/frameratelimiter.hpp> #include <components/misc/frameratelimiter.hpp>

@ -3,6 +3,7 @@
#include <LinearMath/btTransform.h> #include <LinearMath/btTransform.h>
#include <BulletCollision/CollisionShapes/btCollisionShape.h> #include <BulletCollision/CollisionShapes/btCollisionShape.h>
#include <BulletCollision/Gimpact/btBoxCollision.h>
inline bool operator==(const btAABB& lhs, const btAABB& rhs) inline bool operator==(const btAABB& lhs, const btAABB& rhs)
{ {

@ -4,7 +4,6 @@
#include "parser.hpp" #include "parser.hpp"
#include "scriptparser.hpp" #include "scriptparser.hpp"
#include "locals.hpp" #include "locals.hpp"
#include "literals.hpp"
namespace Compiler namespace Compiler
{ {

@ -3,7 +3,6 @@
#include "cellref.hpp" #include "cellref.hpp"
#include "components/esm/defs.hpp" #include "components/esm/defs.hpp"
#include "effectlist.hpp"
#include <string> #include <string>
#include <vector> #include <vector>

@ -3,7 +3,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <stdint.h> #include <cstdint>
namespace ESM namespace ESM
{ {

@ -4,7 +4,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "components/esm/esmcommon.hpp"
#include "components/esm/defs.hpp" #include "components/esm/defs.hpp"
namespace ESM namespace ESM

@ -5,7 +5,6 @@
#include <vector> #include <vector>
#include "components/esm/defs.hpp" #include "components/esm/defs.hpp"
#include "components/esm/esmcommon.hpp"
namespace ESM namespace ESM
{ {

@ -5,7 +5,6 @@
#include <vector> #include <vector>
#include "components/esm/defs.hpp" #include "components/esm/defs.hpp"
#include "components/esm/esmcommon.hpp"
namespace ESM namespace ESM
{ {

@ -18,8 +18,6 @@
#include <components/misc/strings/format.hpp> #include <components/misc/strings/format.hpp>
#include <components/debug/debuglog.hpp> #include <components/debug/debuglog.hpp>
#include "pass.hpp"
namespace fx namespace fx
{ {
namespace Types namespace Types

@ -11,7 +11,6 @@
#include <components/misc/strings/format.hpp> #include <components/misc/strings/format.hpp>
#include "technique.hpp"
#include "types.hpp" #include "types.hpp"
namespace Gui namespace Gui

@ -3,6 +3,7 @@
#include <sol/sol.hpp> #include <sol/sol.hpp>
#include <MyGUI_Types.h> #include <MyGUI_Types.h>
#include <MyGUI_Colour.h>
#include <osg/Vec2> #include <osg/Vec2>
#include <components/lua/luastate.hpp> #include <components/lua/luastate.hpp>

@ -1,6 +1,8 @@
#ifndef OPENMW_COMPONENTS_MISC_BUDGETMEASUREMENT_H #ifndef OPENMW_COMPONENTS_MISC_BUDGETMEASUREMENT_H
#define OPENMW_COMPONENTS_MISC_BUDGETMEASUREMENT_H #define OPENMW_COMPONENTS_MISC_BUDGETMEASUREMENT_H
#include <array>
#include <cstddef>
namespace Misc namespace Misc
{ {

@ -24,10 +24,9 @@
#ifndef OPENMW_COMPONENTS_NIF_DATA_HPP #ifndef OPENMW_COMPONENTS_NIF_DATA_HPP
#define OPENMW_COMPONENTS_NIF_DATA_HPP #define OPENMW_COMPONENTS_NIF_DATA_HPP
#include "base.hpp"
#include "nifkey.hpp" #include "nifkey.hpp"
#include "niftypes.hpp" // Transformation #include "niftypes.hpp" // Transformation
#include "recordptr.hpp"
namespace Nif namespace Nif
{ {

@ -1,13 +1,24 @@
#ifndef OPENMW_COMPONENTS_NIF_PHYSICS_HPP #ifndef OPENMW_COMPONENTS_NIF_PHYSICS_HPP
#define OPENMW_COMPONENTS_NIF_PHYSICS_HPP #define OPENMW_COMPONENTS_NIF_PHYSICS_HPP
#include "base.hpp" #include "record.hpp"
#include "recordptr.hpp"
#include <osg/Vec3f>
#include <osg/Vec4f>
#include <osg/Quat>
#include <cstdint>
#include <vector>
// This header contains certain record definitions // This header contains certain record definitions
// specific to Bethesda implementation of Havok physics // specific to Bethesda implementation of Havok physics
namespace Nif namespace Nif
{ {
class NIFStream;
class NIFFile;
/// Non-record data types /// Non-record data types
struct bhkWorldObjCInfoProperty struct bhkWorldObjCInfoProperty

@ -8,8 +8,6 @@
#include <osg/ref_ptr> #include <osg/ref_ptr>
#include <osg/Referenced> #include <osg/Referenced>
#include "controller.hpp"
namespace osg namespace osg
{ {
class Node; class Node;

@ -21,6 +21,8 @@
#include <components/debug/debuglog.hpp> #include <components/debug/debuglog.hpp>
#include <components/nifosg/nifloader.hpp> #include <components/nifosg/nifloader.hpp>
#include <components/nifosg/controller.hpp>
#include <components/nif/niffile.hpp> #include <components/nif/niffile.hpp>
#include <components/misc/pathhelpers.hpp> #include <components/misc/pathhelpers.hpp>

@ -6,9 +6,9 @@
#include <osg/ref_ptr> #include <osg/ref_ptr>
#include <osgAnimation/UpdateMatrixTransform> #include <osgAnimation/UpdateMatrixTransform>
#include <components/sceneutil/controller.hpp> #include "nodecallback.hpp"
#include <components/sceneutil/nodecallback.hpp> #include "keyframe.hpp"
#include <components/sceneutil/keyframe.hpp>
#include <components/resource/animation.hpp> #include <components/resource/animation.hpp>
namespace SceneUtil namespace SceneUtil

@ -10,9 +10,10 @@
#include <memory> #include <memory>
#include <array> #include <array>
#include <components/stereo/types.hpp>
#include <components/shader/shadermanager.hpp> #include <components/shader/shadermanager.hpp>
#include "types.hpp"
namespace osg namespace osg
{ {
class FrameBufferObject; class FrameBufferObject;

@ -3,8 +3,6 @@
#include <osg/StateSet> #include <osg/StateSet>
#include "defs.hpp"
namespace osg namespace osg
{ {
class Texture2D; class Texture2D;

@ -1,9 +1,7 @@
#ifndef COMPONENTS_TERRAIN_VIEW_H #ifndef COMPONENTS_TERRAIN_VIEW_H
#define COMPONENTS_TERRAIN_VIEW_H #define COMPONENTS_TERRAIN_VIEW_H
#include <osg/ref_ptr>
#include <osg/Referenced> #include <osg/Referenced>
#include <osg/Vec3f>
namespace Terrain namespace Terrain
{ {

@ -10,7 +10,6 @@
#include <components/sceneutil/nodecallback.hpp> #include <components/sceneutil/nodecallback.hpp>
#include "defs.hpp"
#include "cellborder.hpp" #include "cellborder.hpp"
namespace osg namespace osg

@ -1,10 +1,10 @@
#ifndef OPENMW_WIDGETS_WRAPPER_H #ifndef OPENMW_WIDGETS_WRAPPER_H
#define OPENMW_WIDGETS_WRAPPER_H #define OPENMW_WIDGETS_WRAPPER_H
#include "widgets.hpp"
#include <components/settings/settings.hpp> #include <components/settings/settings.hpp>
#include <algorithm>
namespace Gui namespace Gui
{ {
template<class T> template<class T>

Loading…
Cancel
Save