--- deliantra/Deliantra/Deliantra.pm 2010/05/15 00:30:53 1.142 +++ deliantra/Deliantra/Deliantra.pm 2010/10/06 01:53:51 1.143 @@ -75,7 +75,7 @@ name name_pl custom_name attach title race slaying skill msg lore other_arch sound sound_destroy face animation is_animated - magicmap smoothlevel smoothface + magicmap glyph smoothlevel smoothface str dex con wis pow cha int hp maxhp sp maxsp grace maxgrace exp perm_exp expmul @@ -135,6 +135,26 @@ timer => 12, ); +# 1 up 2 right 4 down 8 left +our %WALLDIR = ( + 0 => 0, + 1_2 => 1, + 1_4 => 2, + 2_2_1 => 3, + 1_1 => 4, + 2_1_1 => 5, + 2_2_2 => 6, + 3_2 => 7, + 1_3 => 8, + 2_2_4 => 9, + 2_1_2 => 10, + 3_1 => 11, + 2_2_3 => 12, + 3_4 => 13, + 3_3 => 14, + 4 => 15, +); + sub MOVE_WALK (){ 0x01 } sub MOVE_FLY_LOW (){ 0x02 } sub MOVE_FLY_HIGH (){ 0x04 }