_DoDirection() is only used within STemWin.
 
Symbols
loading...
Files
loading...

_DoDirection() function

Do Direction

Syntax

static void _DoDirection(BOARD * pBoard,     int x,     int y,     int dx,     int dy);

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

References

LocationReferrerText
game_win.c:266
static void _DoDirection(BOARD * pBoard, int x, int y, int dx, int dy) {
game_win.c:285_MakeMove()
if (Valid & (U8)(1 << 0)) { _DoDirection(pBoard, x, y, -1, -1); }
game_win.c:286_MakeMove()
if (Valid & (U8)(1 << 1)) { _DoDirection(pBoard, x, y, 0, -1); }
game_win.c:287_MakeMove()
if (Valid & (U8)(1 << 2)) { _DoDirection(pBoard, x, y, 1, -1); }
game_win.c:288_MakeMove()
if (Valid & (U8)(1 << 3)) { _DoDirection(pBoard, x, y, 1, 0); }
game_win.c:289_MakeMove()
if (Valid & (U8)(1 << 4)) { _DoDirection(pBoard, x, y, 1, 1); }
game_win.c:290_MakeMove()
if (Valid & (U8)(1 << 5)) { _DoDirection(pBoard, x, y, 0, 1); }
game_win.c:291_MakeMove()
if (Valid & (U8)(1 << 6)) { _DoDirection(pBoard, x, y, -1, 1); }
game_win.c:292_MakeMove()
if (Valid & (U8)(1 << 7)) { _DoDirection(pBoard, x, y, -1, 0); }

Call Tree

Functions calling _DoDirection()
Functions called by _DoDirection()
all items filtered out
_DoDirection()
all items filtered out
Data read by _DoDirection()
Data written by _DoDirection()
_DoDirection()