|
|
@ -5,6 +5,7 @@
|
|
|
|
#include "cellimp.hpp"
|
|
|
|
#include "cellimp.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
#include "OgreColourValue.h"
|
|
|
|
#include "OgreColourValue.h"
|
|
|
|
|
|
|
|
#include <OgreSceneNode.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ogre
|
|
|
|
namespace Ogre
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -53,6 +54,7 @@ namespace MWRender
|
|
|
|
Ogre::SceneNode *base;
|
|
|
|
Ogre::SceneNode *base;
|
|
|
|
|
|
|
|
|
|
|
|
Ogre::SceneNode *insert;
|
|
|
|
Ogre::SceneNode *insert;
|
|
|
|
|
|
|
|
Ogre::SceneNode *npcPart;
|
|
|
|
|
|
|
|
|
|
|
|
// 0 normal, 1 more bright, 2 max
|
|
|
|
// 0 normal, 1 more bright, 2 max
|
|
|
|
int ambientMode;
|
|
|
|
int ambientMode;
|
|
|
@ -61,10 +63,10 @@ namespace MWRender
|
|
|
|
|
|
|
|
|
|
|
|
/// start inserting a new reference.
|
|
|
|
/// start inserting a new reference.
|
|
|
|
virtual void insertBegin (ESM::CellRef &ref);
|
|
|
|
virtual void insertBegin (ESM::CellRef &ref);
|
|
|
|
|
|
|
|
virtual void rotateMesh(Ogre::Vector3 axis, Ogre::Radian angle, std::string sceneNodeName[], int elements);
|
|
|
|
/// insert a mesh related to the most recent insertBegin call.
|
|
|
|
/// insert a mesh related to the most recent insertBegin call.
|
|
|
|
virtual void insertMesh(const std::string &mesh);
|
|
|
|
virtual void insertMesh(const std::string &mesh);
|
|
|
|
|
|
|
|
virtual void insertMesh(const std::string &mesh, Ogre::Vector3 vec, Ogre::Vector3 axis, Ogre::Radian angle, std::string sceneNodeName, std::string sceneParent[], int elements);
|
|
|
|
/// insert a light related to the most recent insertBegin call.
|
|
|
|
/// insert a light related to the most recent insertBegin call.
|
|
|
|
virtual void insertLight(float r, float g, float b, float radius);
|
|
|
|
virtual void insertLight(float r, float g, float b, float radius);
|
|
|
|
|
|
|
|
|
|
|
@ -79,6 +81,7 @@ namespace MWRender
|
|
|
|
|
|
|
|
|
|
|
|
void setAmbientMode();
|
|
|
|
void setAmbientMode();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
InteriorCellRender(ESMS::CellStore<MWWorld::RefData> &_cell, MWWorld::Environment& environment,
|
|
|
|
InteriorCellRender(ESMS::CellStore<MWWorld::RefData> &_cell, MWWorld::Environment& environment,
|
|
|
|