summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-21 00:27:32 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-21 00:27:32 +0000
commit43e20b978e424d01ecbe49950b41111081a3ee43 (patch)
tree111336f68e90585acc6eb8b10fa0ad7dd4af5cb1 /src/engine.cpp
parent37b865d2ea580ee9abaf80b7c1efee1b062394c0 (diff)
downloadmana-client-43e20b978e424d01ecbe49950b41111081a3ee43.tar.gz
mana-client-43e20b978e424d01ecbe49950b41111081a3ee43.tar.bz2
mana-client-43e20b978e424d01ecbe49950b41111081a3ee43.tar.xz
mana-client-43e20b978e424d01ecbe49950b41111081a3ee43.zip
A few small fixes.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index c852c861..7785313f 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -62,23 +62,23 @@ EquipmentWindow *equipmentWindow;
ChargeDialog *chargeDialog;
char hairtable[16][4][2] = {
- // S(x,y) W(x,y) N(x,y) E(x,y)
- { { 0, 0}, {-1, 2}, {-1, 2}, {0, 2} }, // STAND
- { { 0, 2}, {-2, 3}, {-1, 2}, {1, 3} }, // WALK 1st frame
- { { 0, 3}, {-2, 4}, {-1, 3}, {1, 4} }, // WALK 2nd frame
- { { 0, 1}, {-2, 2}, {-1, 2}, {1, 2} }, // WALK 3rd frame
- { { 0, 2}, {-2, 3}, {-1, 2}, {1, 3} }, // WALK 4th frame
- { { 0, 1}, {1, 2}, {-1, 3}, {-2, 2} }, // ATTACK 1st frame
- { { 0, 1}, {-1, 2}, {-1, 3}, {0, 2} }, // ATTACK 2nd frame
- { { 0, 2}, {-4, 3}, {0, 4}, {3, 3} }, // ATTACK 3rd frame
- { { 0, 2}, {-4, 3}, {0, 4}, {3, 3} }, // ATTACK 4th frame
- { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 1st frame
- { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 2nd frame
- { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 3rd frame
- { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 4th frame
- { { 0, 4}, {-1, 6}, {-1, 6}, {0, 6} }, // SIT
- { { 0, 0}, {0, 0}, {0, 0}, {0, 0} }, // ?? HIT
- { { 0, 16}, {-1, 6}, {-1, 6}, {0, 6} } // DEAD
+ // S(x,y) W(x,y) N(x,y) E(x,y)
+ { { 0, 0}, {-1, 2}, {-1, 2}, { 0, 2} }, // STAND
+ { { 0, 2}, {-2, 3}, {-1, 2}, { 1, 3} }, // WALK 1st frame
+ { { 0, 3}, {-2, 4}, {-1, 3}, { 1, 4} }, // WALK 2nd frame
+ { { 0, 1}, {-2, 2}, {-1, 2}, { 1, 2} }, // WALK 3rd frame
+ { { 0, 2}, {-2, 3}, {-1, 2}, { 1, 3} }, // WALK 4th frame
+ { { 0, 1}, { 1, 2}, {-1, 3}, {-2, 2} }, // ATTACK 1st frame
+ { { 0, 1}, {-1, 2}, {-1, 3}, { 0, 2} }, // ATTACK 2nd frame
+ { { 0, 2}, {-4, 3}, { 0, 4}, { 3, 3} }, // ATTACK 3rd frame
+ { { 0, 2}, {-4, 3}, { 0, 4}, { 3, 3} }, // ATTACK 4th frame
+ { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 1st frame
+ { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 2nd frame
+ { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 3rd frame
+ { { 0, 0}, {-1, 2}, {-1, 2}, {-1, 2} }, // BOW_ATTACK 4th frame
+ { { 0, 4}, {-1, 6}, {-1, 6}, { 0, 6} }, // SIT
+ { { 0, 0}, { 0, 0}, { 0, 0}, { 0, 0} }, // ?? HIT
+ { { 0, 16}, {-1, 6}, {-1, 6}, { 0, 6} } // DEAD
};
int get_x_offset(Being *being)