Subversion Repositories Games.Chess Giants

Rev

Rev 161 | Rev 172 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 161 Rev 171
Line 1344... Line 1344...
1344
               Debug_Log (L"===WARNING: unable to interpret server's table state while evaluating its notification of remote player move!===\n%s\n======\n", pretty_movestring);
1344
               Debug_Log (L"===WARNING: unable to interpret server's table state while evaluating its notification of remote player move!===\n%s\n======\n", pretty_movestring);
1345
 
1345
 
1346
            // play the remote opponent's move
1346
            // play the remote opponent's move
1347
            Board_AppendMove (&the_board, move.source[0], move.source[1], move.target[0], move.target[1], move.promotion_type, NULL);
1347
            Board_AppendMove (&the_board, move.source[0], move.source[1], move.target[0], move.target[1], move.promotion_type, NULL);
1348
 
1348
 
1349
            the_board.has_playerchanged = true; // remember players changed
1349
            the_board.players[1 - player->color].should_wakeup = true; // tell the opposite player to wake up
1350
            animation_endtime = current_time + ANIMATION_DURATION; // play move animation now
1350
            animation_endtime = current_time + ANIMATION_DURATION; // play move animation now
1351
         }
1351
         }
1352
 
1352
 
1353
         // else the server is acknowledging the local player's move
1353
         // else the server is acknowledging the local player's move
1354
         else
1354
         else