Subversion Repositories Games.Chess Giants

Rev

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

Rev 21 Rev 75
Line 60... Line 60...
60
   }
60
   }
61
   else
61
   else
62
   {
62
   {
63
      Board_Init (&the_board, PLAYER_HUMAN, PLAYER_HUMAN, FENSTARTUP_STANDARDCHESS); // we want a human opponent
63
      Board_Init (&the_board, PLAYER_HUMAN, PLAYER_HUMAN, FENSTARTUP_STANDARDCHESS); // we want a human opponent
64
      the_board.game_state = STATE_PLAYING; // game starts immediately
64
      the_board.game_state = STATE_PLAYING; // game starts immediately
-
 
65
      DialogBox_RenameSides (); // pop up the opponents naming dialog box
65
   }
66
   }
66
   Scene_Init (&the_scene, &the_board); // initialize scene
67
   Scene_Init (&the_scene, &the_board); // initialize scene
67
 
68
 
68
   SetWindowText (hMainWnd, PROGRAM_NAME); // update window title
69
   SetWindowText (hMainWnd, PROGRAM_NAME); // update window title
69
   the_board.reevaluate = true; // evaluate the new board
70
   the_board.reevaluate = true; // evaluate the new board