mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 22:45:38 +00:00
removed Ogre.h include; replaced by individual include files and a couple of forward declarations
This commit is contained in:
parent
aa59d9244f
commit
3bcb86881c
5 changed files with 29 additions and 2 deletions
|
@ -2,6 +2,13 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include "OgreRoot.h"
|
||||
#include "OgreRenderWindow.h"
|
||||
#include "OgreSceneManager.h"
|
||||
#include "OgreViewport.h"
|
||||
#include "OgreCamera.h"
|
||||
#include "OgreTextureManager.h"
|
||||
|
||||
using namespace Render;
|
||||
using namespace Ogre;
|
||||
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
|
||||
#include "ogre/renderer.hpp"
|
||||
|
||||
namespace Ogre
|
||||
{
|
||||
class Camera;
|
||||
class Viewport;
|
||||
class SceneManager;
|
||||
class SceneNode;
|
||||
}
|
||||
|
||||
namespace Render
|
||||
{
|
||||
/** Class responsible for Morrowind-specific interfaces to OGRE.
|
||||
|
|
|
@ -2,12 +2,14 @@
|
|||
#include <assert.h>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
#include "OgreRenderWindow.h"
|
||||
|
||||
using namespace Input;
|
||||
using namespace Ogre;
|
||||
using namespace OIS;
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
void OISManager::setup(Render::OgreRenderer *rend)
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#include "renderer.hpp"
|
||||
|
||||
#include "OgreRoot.h"
|
||||
#include "OgreRenderWindow.h"
|
||||
#include "OgreLogManager.h"
|
||||
#include "OgreLog.h"
|
||||
|
||||
using namespace Ogre;
|
||||
using namespace Render;
|
||||
|
||||
|
|
|
@ -5,9 +5,14 @@
|
|||
Ogre renderer class
|
||||
*/
|
||||
|
||||
#include <Ogre.h>
|
||||
#include <string>
|
||||
|
||||
namespace Ogre
|
||||
{
|
||||
class Root;
|
||||
class RenderWindow;
|
||||
}
|
||||
|
||||
namespace Render
|
||||
{
|
||||
class OgreRenderer
|
||||
|
|
Loading…
Reference in a new issue