mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 10:49:57 +00:00
94b93227d3
Kinda hacky, but it's the only way to get animated activators (flags, silt striders, etc) to work properly.
23 lines
399 B
C++
23 lines
399 B
C++
#ifndef _GAME_RENDER_ACTIVATORANIMATION_H
|
|
#define _GAME_RENDER_ACTIVATORANIMATION_H
|
|
|
|
#include "animation.hpp"
|
|
|
|
namespace MWWorld
|
|
{
|
|
class Ptr;
|
|
}
|
|
|
|
namespace MWRender
|
|
{
|
|
class ActivatorAnimation : public Animation
|
|
{
|
|
public:
|
|
ActivatorAnimation(const MWWorld::Ptr& ptr);
|
|
virtual ~ActivatorAnimation();
|
|
|
|
virtual void runAnimation(float timepassed);
|
|
};
|
|
}
|
|
|
|
#endif
|