]> git.cworth.org Git - loudgame/blobdiff - loa-board.h
Use loa_move_t structure instead of two x,y pairs
[loudgame] / loa-board.h
index 4a4f690855fdd1541d365c29af262e6b5c0acfab..da48c7238e72cbf90ed1cfb7617ceeeaa35bd362 100644 (file)
@@ -114,8 +114,7 @@ loa_board_is_won (loa_board_t *board, int x, int y);
  * set to a string describing why the move is illegal.*/
 int
 loa_board_move (loa_board_t *board,
-               int x1, int y1,
-               int x2, int y2,
+               loa_move_t *move,
                char **error);
 
 /* Execute a 'pass'---changing the player-to-move from the current