Merge branch 'cleanup_openmw_includes' into 'master'

Cleanup openmw render, physics, world, dialogue, gui, input includes

See merge request OpenMW/openmw!2291
pull/3228/head
psi29a 2 years ago
commit 4f6c97fa10

@ -16,8 +16,6 @@
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"
#include "../mwbase/windowmanager.hpp" #include "../mwbase/windowmanager.hpp"
#include "../mwgui/messagebox.hpp"
namespace MWDialogue namespace MWDialogue
{ {
Quest& Journal::getQuest (const std::string& id) Quest& Journal::getQuest (const std::string& id)

@ -6,6 +6,7 @@
#include "MyGUI_RenderManager.h" #include "MyGUI_RenderManager.h"
#include "MyGUI_TextureUtility.h" #include "MyGUI_TextureUtility.h"
#include "MyGUI_FactoryManager.h" #include "MyGUI_FactoryManager.h"
#include "MyGUI_FontManager.h"
#include <components/misc/utf8stream.hpp> #include <components/misc/utf8stream.hpp>
#include <components/sceneutil/depth.hpp> #include <components/sceneutil/depth.hpp>

@ -3,7 +3,7 @@
#include "MyGUI_Colour.h" #include "MyGUI_Colour.h"
#include "MyGUI_Widget.h" #include "MyGUI_Widget.h"
#include "MyGUI_FontManager.h" #include "MyGUI_IFont.h"
#include <functional> #include <functional>
#include <memory> #include <memory>

@ -15,6 +15,7 @@
#include <components/interpreter/interpreter.hpp> #include <components/interpreter/interpreter.hpp>
#include "../mwscript/extensions.hpp" #include "../mwscript/extensions.hpp"
#include "../mwscript/interpretercontext.hpp"
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwbase/scriptmanager.hpp" #include "../mwbase/scriptmanager.hpp"

@ -12,7 +12,6 @@
#include "../mwbase/windowmanager.hpp" #include "../mwbase/windowmanager.hpp"
#include "../mwscript/compilercontext.hpp" #include "../mwscript/compilercontext.hpp"
#include "../mwscript/interpretercontext.hpp"
#include "referenceinterface.hpp" #include "referenceinterface.hpp"
#include "windowbase.hpp" #include "windowbase.hpp"

@ -13,6 +13,7 @@
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwbase/mechanicsmanager.hpp" #include "../mwbase/mechanicsmanager.hpp"
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"
#include "../mwbase/windowmanager.hpp"
#include "../mwworld/class.hpp" #include "../mwworld/class.hpp"
#include "../mwworld/containerstore.hpp" #include "../mwworld/containerstore.hpp"

@ -3,8 +3,6 @@
#include "spellcreationdialog.hpp" #include "spellcreationdialog.hpp"
#include "../mwbase/windowmanager.hpp"
#include "../mwmechanics/enchanting.hpp" #include "../mwmechanics/enchanting.hpp"
namespace MWGui namespace MWGui

@ -17,7 +17,6 @@
#include "../mwworld/player.hpp" #include "../mwworld/player.hpp"
#include "../mwworld/class.hpp" #include "../mwworld/class.hpp"
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwmechanics/npcstats.hpp" #include "../mwmechanics/npcstats.hpp"
#include "../mwmechanics/actorutil.hpp" #include "../mwmechanics/actorutil.hpp"

@ -11,8 +11,6 @@
#include "../mwbase/inputmanager.hpp" #include "../mwbase/inputmanager.hpp"
#include "../mwgui/mode.hpp"
#include "actions.hpp" #include "actions.hpp"
namespace MWWorld namespace MWWorld

@ -3,6 +3,7 @@
#include <LinearMath/btVector3.h> #include <LinearMath/btVector3.h>
#include <BulletCollision/CollisionDispatch/btCollisionObject.h> #include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <BulletCollision/BroadphaseCollision/btBroadphaseInterface.h>
#include <algorithm> #include <algorithm>

@ -28,6 +28,7 @@
#include "../mwworld/class.hpp" #include "../mwworld/class.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwworld/inventorystore.hpp"
#include "../mwmechanics/actorutil.hpp" #include "../mwmechanics/actorutil.hpp"
#include "../mwmechanics/weapontype.hpp" #include "../mwmechanics/weapontype.hpp"
#include "../mwmechanics/drawstate.hpp" #include "../mwmechanics/drawstate.hpp"

@ -42,6 +42,7 @@
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwworld/class.hpp" #include "../mwworld/class.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/containerstore.hpp"
#include "../mwmechanics/character.hpp" // FIXME: for MWMechanics::Priority #include "../mwmechanics/character.hpp" // FIXME: for MWMechanics::Priority

@ -10,7 +10,6 @@
#include <components/fx/technique.hpp> #include <components/fx/technique.hpp>
#include "postprocessor.hpp"
#include "luminancecalculator.hpp" #include "luminancecalculator.hpp"
namespace Shader namespace Shader

@ -12,7 +12,6 @@
#include "vismask.hpp" #include "vismask.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
namespace MWRender namespace MWRender

@ -11,6 +11,7 @@
#include <components/shader/shadermanager.hpp> #include <components/shader/shadermanager.hpp>
#include <components/stereo/multiview.hpp> #include <components/stereo/multiview.hpp>
#include <components/stereo/stereomanager.hpp> #include <components/stereo/stereomanager.hpp>
#include <components/sceneutil/depth.hpp>
#include "vismask.hpp" #include "vismask.hpp"

@ -2,14 +2,13 @@
#define OPENMW_MWRENDER_TRANSPARENTPASS_H #define OPENMW_MWRENDER_TRANSPARENTPASS_H
#include <array> #include <array>
#include <memory>
#include <osg/FrameBufferObject> #include <osg/FrameBufferObject>
#include <osg/StateSet> #include <osg/StateSet>
#include <osgUtil/RenderBin> #include <osgUtil/RenderBin>
#include "postprocessor.hpp"
namespace Shader namespace Shader
{ {
class ShaderManager; class ShaderManager;

@ -1,7 +1,6 @@
#include "action.hpp" #include "action.hpp"
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/soundmanager.hpp" #include "../mwbase/soundmanager.hpp"
#include "../mwbase/windowmanager.hpp" #include "../mwbase/windowmanager.hpp"

@ -3,8 +3,6 @@
#include "containerstore.hpp" #include "containerstore.hpp"
#include "../mwmechanics/magiceffects.hpp"
namespace ESM namespace ESM
{ {
struct MagicEffect; struct MagicEffect;

@ -3,11 +3,9 @@
#include <map> #include <map>
#include "../mwworld/refdata.hpp"
#include "../mwworld/livecellref.hpp" #include "../mwworld/livecellref.hpp"
#include "../mwmechanics/drawstate.hpp" #include "../mwmechanics/drawstate.hpp"
#include "../mwmechanics/stat.hpp"
#include <components/esm3/loadskil.hpp> #include <components/esm3/loadskil.hpp>
#include <components/esm/attr.hpp> #include <components/esm/attr.hpp>

@ -6,7 +6,6 @@
#include <osg/ref_ptr> #include <osg/ref_ptr>
#include "ptr.hpp" #include "ptr.hpp"
#include "globals.hpp"
#include <set> #include <set>
#include <memory> #include <memory>

@ -11,7 +11,7 @@
#include "../mwbase/soundmanager.hpp" #include "../mwbase/soundmanager.hpp"
#include "../mwrender/sky.hpp" #include "../mwrender/skyutil.hpp"
namespace ESM namespace ESM
{ {

Loading…
Cancel
Save