2011-11-24 06:48:54 +00:00
|
|
|
#ifndef _GAME_RENDER_ANIMATION_H
|
|
|
|
#define _GAME_RENDER_ANIMATION_H
|
|
|
|
#include <components/nif/data.hpp>
|
2011-12-12 03:40:00 +00:00
|
|
|
#include <openengine/ogre/renderer.hpp>
|
|
|
|
#include "../mwworld/refdata.hpp"
|
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
#include "../mwworld/actiontalk.hpp"
|
|
|
|
#include "../mwworld/environment.hpp"
|
|
|
|
|
2011-11-24 06:48:54 +00:00
|
|
|
namespace MWRender{
|
2011-12-12 03:40:00 +00:00
|
|
|
|
2011-11-24 06:48:54 +00:00
|
|
|
class Animation{
|
2011-12-12 03:40:00 +00:00
|
|
|
protected:
|
|
|
|
OEngine::Render::OgreRenderer &mRend;
|
|
|
|
MWWorld::Environment& mEnvironment;
|
|
|
|
|
|
|
|
|
2011-11-24 06:48:54 +00:00
|
|
|
std::vector<Nif::NiKeyframeData> transformations;
|
|
|
|
std::map<std::string,float> textmappings;
|
2011-12-12 03:40:00 +00:00
|
|
|
Ogre::Entity* base;
|
|
|
|
public:
|
|
|
|
Animation(MWWorld::Environment& _env, OEngine::Render::OgreRenderer& _rend): mRend(_rend), mEnvironment(_env){};
|
|
|
|
|
2011-11-24 06:48:54 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|