summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-25 03:42:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-25 03:42:09 +0300
commita4252ba2050b16a53247335cdddd7aa13a532239 (patch)
tree19a41cf0b1c546d5b1cc217194a1fe0a477d545d /src/resources/spritedef.h
parent4afb49eb81f590c2bce56ed28f237a9bf0e2a093 (diff)
downloadmanaverse-a4252ba2050b16a53247335cdddd7aa13a532239.tar.gz
manaverse-a4252ba2050b16a53247335cdddd7aa13a532239.tar.bz2
manaverse-a4252ba2050b16a53247335cdddd7aa13a532239.tar.xz
manaverse-a4252ba2050b16a53247335cdddd7aa13a532239.zip
Add removing palyers sprite logic depend on players direction.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 475ab2e25..8fa64e7b9 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -92,14 +92,14 @@ namespace SpriteAction
enum SpriteDirection
{
DIRECTION_DEFAULT = 0,
- DIRECTION_UP,
- DIRECTION_DOWN,
- DIRECTION_LEFT,
- DIRECTION_RIGHT,
- DIRECTION_UPLEFT,
- DIRECTION_UPRIGHT,
- DIRECTION_DOWNLEFT,
- DIRECTION_DOWNRIGHT,
+ DIRECTION_UP = 1,
+ DIRECTION_DOWN = 2,
+ DIRECTION_LEFT = 3,
+ DIRECTION_RIGHT = 4,
+ DIRECTION_UPLEFT = 5,
+ DIRECTION_UPRIGHT = 6,
+ DIRECTION_DOWNLEFT = 7,
+ DIRECTION_DOWNRIGHT = 8,
DIRECTION_INVALID
};