]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation.h
Prepare to cleanup animation loading
[lugaru.git] / Source / Animation.h
index 1e5ad1019ffcbf95e5088e04b78cb8d2eab79961..b8e821b721dff7e41daff1f2996d09b5c718e799 100644 (file)
@@ -22,11 +22,21 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef ANIMATION_H
 #define        ANIMATION_H
 
+enum anim_attack_type {
+  neutral, normalattack, reversed, reversal
+};
+
+enum anim_height_type {
+  lowheight, middleheight, highheight
+};
+
+
 enum animation_types {
-#define DECLARE_ANIM(id) id,
+#define DECLARE_ANIM(id, file, height, attack) id,
 #include "Animation.def"
 #undef DECLARE_ANIM
 animation_count
 };
 
+extern Animation animation[animation_count];
 #endif