navigation.h (362B)
1 #ifndef NAVIGATION_H 2 #define NAVIGATION_H 3 4 #include "main.h" 5 #include "minesweeper.h" 6 7 void navigate (Board *b, int *mv); 8 void getmv (const Board *b, int *mv, int *y, int *x); 9 void mvup (int *y); 10 void mvdown (int *y, int xmax); 11 void mvleft (int *x); 12 void mvright (int *x, int xmax); 13 void update_curs(const Board *b, int y, int x); 14 15 #endif /* NAVIGATION_H */