Devilution
Diablo devolved - magic behind the 1996 computer game

◆ path_directions

char path_directions[9] = { 5, 1, 6, 2, 0, 3, 8, 4, 7 }

each step direction is assigned a number like this: dx -1 0 1 +--— -1|5 1 6 dy 0|2 0 3 1|8 4 7

Definition at line 44 of file path.cpp.