_DoDirection() function
Do Direction
Arguments
pBoard
pointer to the board stack
x
X position
y
Y position
dx
difference between current and previous X position
dy
difference between current and previous Y position
Return value
None
Location | Referrer | Text |
games_win.c:267 | | |
games_win.c:286 | _MakeMove() | if (Valid & (U8)(1 << 0)) { _DoDirection(pBoard, x, y, -1, -1); } |
games_win.c:287 | _MakeMove() | if (Valid & (U8)(1 << 1)) { _DoDirection(pBoard, x, y, 0, -1); } |
games_win.c:288 | _MakeMove() | if (Valid & (U8)(1 << 2)) { _DoDirection(pBoard, x, y, 1, -1); } |
games_win.c:289 | _MakeMove() | if (Valid & (U8)(1 << 3)) { _DoDirection(pBoard, x, y, 1, 0); } |
games_win.c:290 | _MakeMove() | if (Valid & (U8)(1 << 4)) { _DoDirection(pBoard, x, y, 1, 1); } |
games_win.c:291 | _MakeMove() | if (Valid & (U8)(1 << 5)) { _DoDirection(pBoard, x, y, 0, 1); } |
games_win.c:292 | _MakeMove() | if (Valid & (U8)(1 << 6)) { _DoDirection(pBoard, x, y, -1, 1); } |
games_win.c:293 | _MakeMove() | if (Valid & (U8)(1 << 7)) { _DoDirection(pBoard, x, y, -1, 0); } |
Functions calling _DoDirection()
Functions called by _DoDirection()
_DoDirection()
Data read by _DoDirection()
Data written by _DoDirection()
_DoDirection()