Ticket #145: boardlib.c.patch

File boardlib.c.patch, 0.9 kB (added by draqo, 2 years ago)
  • gnugo/engine/boardlib.c

    RCS file: /sources/gnugo/gnugo/engine/boardlib.c,v
    retrieving revision 1.12
    diff -u -r1.12 boardlib.c
     
    2828 
    2929/* The board state itself. */ 
    3030int          board_size = DEFAULT_BOARD_SIZE; /* board size */ 
     31int          board_nextrow = MAX_BOARD - DEFAULT_BOARD_SIZE + 2; // used by scan_board 
    3132Intersection board[BOARDSIZE]; 
    3233int          board_ko_pos; 
    3334int          white_captured;    /* number of black and white stones captured */ 
     
    5455/* Hashing of positions. */ 
    5556Hash_data board_hash; 
    5657 
    57 int stackp;             /* stack pointer */ 
     58int stackp;             /* moves stack depth */ 
    5859int position_number;    /* position number */ 
    5960 
    6061/* Some statistics gathered partly in board.c and hash.c */