Include some more required Ogre headers explicitely.

actorid
scrawl 11 years ago
parent 195071efc7
commit edb5a54092

@ -8,6 +8,8 @@
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>
#include <OgreEntity.h> #include <OgreEntity.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreSceneNode.h>
#include <OgreViewport.h>
#include "navigation.hpp" #include "navigation.hpp"

@ -1,6 +1,7 @@
#include "engine.hpp" #include "engine.hpp"
#include <stdexcept> #include <stdexcept>
#include <iomanip>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>

@ -1,5 +1,7 @@
#include "enchantingdialog.hpp" #include "enchantingdialog.hpp"
#include <iomanip>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"

@ -1,6 +1,12 @@
#include "loadingscreen.hpp" #include "loadingscreen.hpp"
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>
#include <OgreMaterialManager.h>
#include <OgreTechnique.h>
#include <OgreRectangle2D.h>
#include <OgreSceneNode.h>
#include <OgreTextureManager.h>
#include <OgreViewport.h>
#include <openengine/ogre/fader.hpp> #include <openengine/ogre/fader.hpp>

@ -2,6 +2,7 @@
#define MWGUI_LOADINGSCREEN_H #define MWGUI_LOADINGSCREEN_H
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreTimer.h>
#include "windowbase.hpp" #include "windowbase.hpp"

@ -3,6 +3,7 @@
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include <OgreSceneNode.h> #include <OgreSceneNode.h>
#include <OgreVector2.h>
#include "../mwbase/windowmanager.hpp" #include "../mwbase/windowmanager.hpp"
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"

@ -1,5 +1,7 @@
#include "repair.hpp" #include "repair.hpp"
#include <iomanip>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"

@ -1,5 +1,7 @@
#include "tooltips.hpp" #include "tooltips.hpp"
#include <iomanip>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"

@ -3,6 +3,8 @@
#include <cassert> #include <cassert>
#include <iterator> #include <iterator>
#include <OgreTextureManager.h>
#include "MyGUI_UString.h" #include "MyGUI_UString.h"
#include "MyGUI_IPointer.h" #include "MyGUI_IPointer.h"
#include "MyGUI_ResourceImageSetPointer.h" #include "MyGUI_ResourceImageSetPointer.h"

@ -6,6 +6,8 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <iomanip>
#include <boost/format.hpp> #include <boost/format.hpp>
#include <components/esm/loadskil.hpp> #include <components/esm/loadskil.hpp>
@ -509,4 +511,4 @@ void MWMechanics::NpcStats::readState (const ESM::NpcStats& state)
mTimeToStartDrowning = state.mTimeToStartDrowning; mTimeToStartDrowning = state.mTimeToStartDrowning;
mLastDrowningHit = state.mLastDrowningHit; mLastDrowningHit = state.mLastDrowningHit;
mLevelHealthBonus = state.mLevelHealthBonus; mLevelHealthBonus = state.mLevelHealthBonus;
} }

@ -10,6 +10,8 @@
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreControllerManager.h> #include <OgreControllerManager.h>
#include <OgreStaticGeometry.h> #include <OgreStaticGeometry.h>
#include <OgreSceneNode.h>
#include <OgreTechnique.h>
#include <components/esm/loadligh.hpp> #include <components/esm/loadligh.hpp>
#include <components/esm/loadweap.hpp> #include <components/esm/loadweap.hpp>

@ -1,10 +1,13 @@
#include "characterpreview.hpp" #include "characterpreview.hpp"
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreSceneNode.h>
#include <OgreTextureManager.h>
#include <OgreViewport.h>
#include <OgreRenderTexture.h>
#include <libs/openengine/ogre/selectionbuffer.hpp> #include <libs/openengine/ogre/selectionbuffer.hpp>

@ -3,6 +3,7 @@
#include <OgreRenderTarget.h> #include <OgreRenderTarget.h>
#include <OgreMaterialManager.h> #include <OgreMaterialManager.h>
#include <OgreVector3.h>
#include <components/esm/loadnpc.hpp> #include <components/esm/loadnpc.hpp>

@ -7,6 +7,8 @@
#include <OgreMaterial.h> #include <OgreMaterial.h>
#include <OgreMaterialManager.h> #include <OgreMaterialManager.h>
#include <OgreManualObject.h> #include <OgreManualObject.h>
#include <OgreTechnique.h>
#include <OgreSceneNode.h>
#include <openengine/bullet/physic.hpp> #include <openengine/bullet/physic.hpp>

@ -2,6 +2,8 @@
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreParticleSystem.h> #include <OgreParticleSystem.h>
#include <OgreSceneNode.h>
#include <OgreTechnique.h>
#include "animation.hpp" #include "animation.hpp"
#include "renderconst.hpp" #include "renderconst.hpp"

@ -6,6 +6,8 @@
#include <OgreSceneNode.h> #include <OgreSceneNode.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreTextureManager.h> #include <OgreTextureManager.h>
#include <OgreRenderTexture.h>
#include <OgreViewport.h>
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"

@ -4,6 +4,11 @@
#include <OgreEntity.h> #include <OgreEntity.h>
#include <OgreParticleSystem.h> #include <OgreParticleSystem.h>
#include <OgreSubEntity.h> #include <OgreSubEntity.h>
#include <OgreSkeleton.h>
#include <OgreSkeletonInstance.h>
#include <OgreSceneNode.h>
#include <OgreBone.h>
#include <OgreTechnique.h>
#include <extern/shiny/Main/Factory.hpp> #include <extern/shiny/Main/Factory.hpp>

@ -9,6 +9,8 @@
#include <OgreMeshManager.h> #include <OgreMeshManager.h>
#include <OgreMaterialManager.h> #include <OgreMaterialManager.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreSceneNode.h>
#include <OgreMesh.h>
#include "renderconst.hpp" #include "renderconst.hpp"

@ -7,6 +7,8 @@
#include <OgreRenderTarget.h> #include <OgreRenderTarget.h>
#include <OgreViewport.h> #include <OgreViewport.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreRenderTexture.h>
#include <OgreSceneNode.h>
#include <extern/shiny/Main/Factory.hpp> #include <extern/shiny/Main/Factory.hpp>

@ -5,12 +5,14 @@
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreSceneNode.h>
#include <OgreViewport.h> #include <OgreViewport.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreTextureManager.h> #include <OgreTextureManager.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreControllerManager.h> #include <OgreControllerManager.h>
#include <OgreMeshManager.h> #include <OgreMeshManager.h>
#include <OgreRenderTexture.h>
#include <SDL_video.h> #include <SDL_video.h>

@ -4,6 +4,10 @@
#include <OgreStringConverter.h> #include <OgreStringConverter.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreRectangle2D.h>
#include <OgreSceneNode.h>
#include <OgreRenderTexture.h>
#include <OgreViewport.h>
#include <extern/shiny/Main/Factory.hpp> #include <extern/shiny/Main/Factory.hpp>

@ -9,6 +9,8 @@
#include <OgreShadowCameraSetupPSSM.h> #include <OgreShadowCameraSetupPSSM.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreRenderTexture.h>
#include <OgreViewport.h>
#include <extern/shiny/Main/Factory.hpp> #include <extern/shiny/Main/Factory.hpp>

@ -11,6 +11,7 @@
#include <OgreBillboardSet.h> #include <OgreBillboardSet.h>
#include <OgreEntity.h> #include <OgreEntity.h>
#include <OgreSubEntity.h> #include <OgreSubEntity.h>
#include <OgreTechnique.h>
#include <OgreMeshManager.h> #include <OgreMeshManager.h>

@ -9,6 +9,11 @@
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreRenderWindow.h> #include <OgreRenderWindow.h>
#include <OgreTextureManager.h>
#include <OgreTechnique.h>
#include <OgreRectangle2D.h>
#include <OgreMaterialManager.h>
#include <OgreSceneNode.h>
#include <boost/thread.hpp> #include <boost/thread.hpp>

@ -1,11 +1,16 @@
#include "water.hpp" #include "water.hpp"
#include <OgreRenderTarget.h> #include <OgreRenderTexture.h>
#include <OgreEntity.h> #include <OgreEntity.h>
#include <OgreMeshManager.h> #include <OgreMeshManager.h>
#include <OgreMaterialManager.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreTextureManager.h>
#include <OgreViewport.h>
#include <OgreSceneNode.h>
#include <OgreTechnique.h>
#include "sky.hpp" #include "sky.hpp"
#include "renderingmanager.hpp" #include "renderingmanager.hpp"

@ -8,6 +8,7 @@
#include <OgreViewport.h> #include <OgreViewport.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreTextureManager.h> #include <OgreTextureManager.h>
#include <OgreSceneNode.h>
#include <openengine/bullet/trace.h> #include <openengine/bullet/trace.h>
#include <openengine/bullet/physic.hpp> #include <openengine/bullet/physic.hpp>

@ -29,6 +29,7 @@
#include <OgreArchive.h> #include <OgreArchive.h>
#include <OgreArchiveFactory.h> #include <OgreArchiveFactory.h>
#include <OgreArchiveManager.h> #include <OgreArchiveManager.h>
#include <OgreResourceGroupManager.h>
#include "bsa_file.hpp" #include "bsa_file.hpp"
#include "../files/constrainedfiledatastream.hpp" #include "../files/constrainedfiledatastream.hpp"

@ -11,6 +11,8 @@
#include <OgreSkeletonManager.h> #include <OgreSkeletonManager.h>
#include <OgreRenderSystem.h> #include <OgreRenderSystem.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreSkeleton.h>
#include <OgreKeyFrame.h>
#include <components/nif/node.hpp> #include <components/nif/node.hpp>
#include <components/misc/stringops.hpp> #include <components/misc/stringops.hpp>

@ -38,6 +38,9 @@
#include <OgreMaterialManager.h> #include <OgreMaterialManager.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreSkeletonInstance.h>
#include <OgreSceneNode.h>
#include <OgreMesh.h>
#include <extern/shiny/Main/Factory.hpp> #include <extern/shiny/Main/Factory.hpp>

@ -5,6 +5,7 @@
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreParticleEmitterFactory.h> #include <OgreParticleEmitterFactory.h>
#include <OgreParticleSystemManager.h> #include <OgreParticleSystemManager.h>
#include <OgreLogManager.h>
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
#include <OSX/macUtils.h> #include <OSX/macUtils.h>

@ -2,6 +2,7 @@
#include <OgreSceneNode.h> #include <OgreSceneNode.h>
#include <OgreHardwareBufferManager.h> #include <OgreHardwareBufferManager.h>
#include <OgreRenderQueue.h>
#include "quadtreenode.hpp" #include "quadtreenode.hpp"
#include "world.hpp" #include "world.hpp"

@ -2,6 +2,9 @@
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreManualObject.h> #include <OgreManualObject.h>
#include <OgreSceneNode.h>
#include <OgreMaterialManager.h>
#include <OgreTextureManager.h>
#include "world.hpp" #include "world.hpp"
#include "chunk.hpp" #include "chunk.hpp"

@ -4,7 +4,11 @@
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreHardwareBufferManager.h> #include <OgreHardwareBufferManager.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreTextureManager.h>
#include <OgreRenderTexture.h>
#include <OgreSceneNode.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreTimer.h> // TEMP
#include "storage.hpp" #include "storage.hpp"
#include "quadtreenode.hpp" #include "quadtreenode.hpp"

@ -1,6 +1,7 @@
#include "sdlcursormanager.hpp" #include "sdlcursormanager.hpp"
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreTextureManager.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <openengine/ogre/imagerotate.hpp> #include <openengine/ogre/imagerotate.hpp>

@ -2,6 +2,7 @@
#include <OgreStringConverter.h> #include <OgreStringConverter.h>
#include <OgreRoot.h> #include <OgreRoot.h>
#include <OgreTextureManager.h>
#include <SDL_syswm.h> #include <SDL_syswm.h>
#include <SDL_endian.h> #include <SDL_endian.h>

@ -1,5 +1,7 @@
#include "OgreTextureUnitState.hpp" #include "OgreTextureUnitState.hpp"
#include <iomanip>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>

@ -6,6 +6,7 @@
#include <OgreResourceGroupManager.h> #include <OgreResourceGroupManager.h>
#include <OgreRectangle2D.h> #include <OgreRectangle2D.h>
#include <OgreSceneManager.h> #include <OgreSceneManager.h>
#include <OgreSceneNode.h>
using namespace Ogre; using namespace Ogre;

@ -8,6 +8,13 @@
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreTextureUnitState.h> #include <OgreTextureUnitState.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreTechnique.h>
#include <OgreMaterialManager.h>
#include <OgreRectangle2D.h>
#include <OgreSceneNode.h>
#include <OgreTextureManager.h>
#include <OgreRenderTexture.h>
#include <OgreViewport.h>
using namespace Ogre; using namespace Ogre;
using namespace OEngine::Render; using namespace OEngine::Render;

@ -9,6 +9,7 @@
#include <OgreTexture.h> #include <OgreTexture.h>
#include <OgreHardwarePixelBuffer.h> #include <OgreHardwarePixelBuffer.h>
#include <OgreCamera.h> #include <OgreCamera.h>
#include <OgreViewport.h>
#include <extern/sdl4ogre/sdlwindowhelper.hpp> #include <extern/sdl4ogre/sdlwindowhelper.hpp>

@ -5,6 +5,9 @@
#include <OgreSubEntity.h> #include <OgreSubEntity.h>
#include <OgreEntity.h> #include <OgreEntity.h>
#include <OgreTechnique.h> #include <OgreTechnique.h>
#include <OgreTextureManager.h>
#include <OgreViewport.h>
#include <stdexcept> #include <stdexcept>
#include <extern/shiny/Main/Factory.hpp> #include <extern/shiny/Main/Factory.hpp>

@ -5,6 +5,7 @@
#include <OgreTexture.h> #include <OgreTexture.h>
#include <OgreRenderTarget.h> #include <OgreRenderTarget.h>
#include <OgreMaterialManager.h> #include <OgreMaterialManager.h>
#include <OgreColourValue.h>
namespace OEngine namespace OEngine
{ {

Loading…
Cancel
Save