1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-27 22:06:43 +00:00
openmw-tes3mp/apps/openmw/mwrender/animation.hpp
2011-12-11 23:42:39 -05:00

27 lines
No EOL
710 B
C++

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