X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FAnimation.hh;fp=src%2Fanimation.hh;h=57ce6a8ffe6f280b5a8396d77725bef07b8b86c2;hp=ca565818d569b07442a88ebb28623880b080948d;hb=c2321281bf12a7efaedde930422c7ddbc92080d4;hpb=87bc17e55b0c1dc73ecc66df856d3f08fd7a7724 diff --git a/src/animation.hh b/src/Moof/Animation.hh similarity index 84% rename from src/animation.hh rename to src/Moof/Animation.hh index ca56581..57ce6a8 100644 --- a/src/animation.hh +++ b/src/Moof/Animation.hh @@ -26,11 +26,11 @@ *******************************************************************************/ -#ifndef _ANIMATION_HH_ -#define _ANIMATION_HH_ +#ifndef _MOOF_ANIMATION_HH_ +#define _MOOF_ANIMATION_HH_ /** - * @file animation.hh + * @file Animation.hh * Motion picture!! */ @@ -38,11 +38,11 @@ #include -#include "resource.hh" -#include "math.hh" +#include +#include -namespace dc { +namespace Mf { /** @@ -53,27 +53,27 @@ namespace dc { * anything to whatever drawing context is used to render the frame. */ -class animation : public resource +class Animation : public Resource { public: - animation(const std::string& name); + Animation(const std::string& name); - void startSequence(const std::string& sequenceName); + void startSequence(const std::string& name); - void update(scalar t, scalar dt); + void update(Scalar t, Scalar dt); unsigned getFrame() const; static std::string getPathToResource(const std::string& name); private: - class animation_impl; - boost::shared_ptr impl; + class AnimationImpl; + boost::shared_ptr impl_; }; -} // namespace dc +} // namespace Mf -#endif // _ANIMATION_HH_ +#endif // _MOOF_ANIMATION_HH_ /** vim: set ts=4 sw=4 tw=80: *************************************************/