X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAnimation%2FAnimation.h;h=91205abe0341400bca884f6f0d1f62fc14f96e26;hb=b84825978803615f45a9f128232e62431042aec0;hp=4ed5dbefa88926c21a36b38c3be1d43e48ec21d9;hpb=9bd0be2befdf81aa4b5d377eaf29656935044faf;p=lugaru.git diff --git a/Source/Animation/Animation.h b/Source/Animation/Animation.h index 4ed5dbe..91205ab 100644 --- a/Source/Animation/Animation.h +++ b/Source/Animation/Animation.h @@ -21,6 +21,7 @@ along with Lugaru. If not, see . #define ANIMATION_H #include +#include "Math/Quaternions.h" enum anim_attack_type { neutral, normalattack, reversed, reversal @@ -84,8 +85,8 @@ public: static std::vector animations; static void loadAll(); - int height; - int attack; + anim_height_type height; + anim_attack_type attack; int numjoints; std::vector frames; @@ -93,7 +94,6 @@ public: XYZ offset; Animation(); - Animation(const std::string& fileName, int aheight, int aattack); - ~Animation(); + Animation(const std::string& fileName, anim_height_type aheight, anim_attack_type aattack); }; #endif