2011-11-24 06:48:54 +00:00
|
|
|
#ifndef _GAME_RENDER_CREATUREANIMATION_H
|
|
|
|
#define _GAME_RENDER_CREATUREANIMATION_H
|
|
|
|
|
|
|
|
#include "animation.hpp"
|
|
|
|
#include <components/nif/node.hpp>
|
2011-12-12 03:40:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include "../mwworld/refdata.hpp"
|
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
#include "../mwworld/environment.hpp"
|
|
|
|
#include "components/nifogre/ogre_nif_loader.hpp"
|
|
|
|
|
|
|
|
|
2011-11-24 06:48:54 +00:00
|
|
|
namespace MWRender{
|
|
|
|
|
2011-12-12 03:40:00 +00:00
|
|
|
class CreatureAnimation: public Animation{
|
2011-12-26 03:37:26 +00:00
|
|
|
std::vector<Nif::NiTriShapeCopy>* shapes; //All the NiTriShapeData for this creature
|
2011-12-12 03:40:00 +00:00
|
|
|
public:
|
2011-12-12 04:42:39 +00:00
|
|
|
~CreatureAnimation();
|
2011-12-12 03:40:00 +00:00
|
|
|
CreatureAnimation(const MWWorld::Ptr& ptr, MWWorld::Environment& _env, OEngine::Render::OgreRenderer& _rend);
|
2011-12-26 03:37:26 +00:00
|
|
|
virtual void runAnimation(float timepassed);
|
|
|
|
|
|
|
|
|
2011-11-24 06:48:54 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|