Subversion Repositories Games.Chess Giants

Rev

Rev 124 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 124 Rev 130
Line 105... Line 105...
105
 
105
 
106
   // load the requested PGN game
106
   // load the requested PGN game
107
   if (PGNFile_LoadGame (&the_board, load_pathname, chosen_game))
107
   if (PGNFile_LoadGame (&the_board, load_pathname, chosen_game))
108
   {
108
   {
109
      animation_endtime = current_time + ANIMATION_DURATION; // start with an animation
109
      animation_endtime = current_time + ANIMATION_DURATION; // start with an animation
110
      sound_playtime = current_time + ANIMATION_DURATION - 0.1f; // play sound near the end of animation
-
 
111
      the_board.reevaluate = true; // evaluate the new board
110
      the_board.reevaluate = true; // evaluate the new board
112
      the_scene.update = true; // update scene
111
      the_scene.update = true; // update scene
113
   }
112
   }
114
   else
113
   else
115
   {
114
   {