Searched refs:pathi (Results 1 – 2 of 2) sorted by relevance
127 static int state = 1, pathi = 0; variable530 pathi = 0; in begin_solve_maze()531 path[pathi].x = end_x; in begin_solve_maze()532 path[pathi].y = end_y; in begin_solve_maze()533 path[pathi].dir = -1; in begin_solve_maze()545 pathi--; in solve_maze()546 draw_solid_square( (int)(path[pathi].x), (int)(path[pathi].y), in solve_maze()550 else if ( ! (maze[path[pathi].x][path[pathi].y] & in solve_maze()552 ( (pathi == 0) || ( (path[pathi].dir != in solve_maze()555 pathi++; in solve_maze()[all …]
121 static int state = 1, pathi = 0; variable515 pathi = 0; in begin_solve_maze()516 path[pathi].x = end_x; in begin_solve_maze()517 path[pathi].y = end_y; in begin_solve_maze()518 path[pathi].dir = -1; in begin_solve_maze()529 pathi--; in solve_maze()530 …draw_solid_square((int) (path[pathi].x), (int) (path[pathi].y), (int) (path[pathi].dir), hDC, hBru… in solve_maze()533 else if (!(maze[path[pathi].x][path[pathi].y] & (WALL_TOP >> path[pathi].dir)) && in solve_maze()534 ((pathi == 0) || ((path[pathi].dir != (int) (path[pathi - 1].dir + 2) % 4)))) { in solve_maze()536 pathi++; in solve_maze()[all …]