summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-21 23:23:16 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-21 23:23:16 +0200
commit63112267be277e38224b510ec5745421dd7d4917 (patch)
treeab3ae7990cb49d61382bd0cd225fbe53d329f4a0 /src/resources/spritedef.h
parent05ea95733e9ec89626e08989e0688e73d1408d3a (diff)
downloadmv-63112267be277e38224b510ec5745421dd7d4917.tar.gz
mv-63112267be277e38224b510ec5745421dd7d4917.tar.bz2
mv-63112267be277e38224b510ec5745421dd7d4917.tar.xz
mv-63112267be277e38224b510ec5745421dd7d4917.zip
Add diagonal animations.
New animation names: upleft, upright, downleft, downright Tested atleast at mobs.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 5ab4bcc2b..34786d783 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -90,6 +90,10 @@ enum SpriteDirection
DIRECTION_DOWN,
DIRECTION_LEFT,
DIRECTION_RIGHT,
+ DIRECTION_UPLEFT,
+ DIRECTION_UPRIGHT,
+ DIRECTION_DOWNLEFT,
+ DIRECTION_DOWNRIGHT,
DIRECTION_INVALID
};