Subversion Repositories Games.Chess Giants

Rev

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

Rev 131 Rev 140
Line 14... Line 14...
14
 
14
 
15
void DialogBox_EndGame (void)
15
void DialogBox_EndGame (void)
16
{
16
{
17
   // helper function to fire up the modeless dialog box
17
   // helper function to fire up the modeless dialog box
18
 
18
 
-
 
19
   is_dialogbox_displayed = true;
19
   _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one
20
   _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new one
20
 
21
 
21
   return; // return as soon as the thread is fired up
22
   return; // return as soon as the thread is fired up
22
}
23
}
23
 
24
 
Line 43... Line 44...
43
//   int line;
44
//   int line;
44
 
45
 
45
   // display the dialog box
46
   // display the dialog box
46
   if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1)
47
   if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1)
47
      is_dialogbox_endgame_validated = true;
48
      is_dialogbox_endgame_validated = true;
-
 
49
   is_dialogbox_displayed = false;
48
 
50
 
49
/*   player = Player_GetCurrent ();
51
/*   player = Player_GetCurrent ();
50
   player->view_distance = CLOSEUP_VIEW_DISTANCE; // zoom on the tragedy
52
   player->view_distance = CLOSEUP_VIEW_DISTANCE; // zoom on the tragedy
51
 
53
 
52
   for (line = 0; line < 8; line++)
54
   for (line = 0; line < 8; line++)