Rev 124 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 124 | Rev 140 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | return; // consistency check |
27 | return; // consistency check |
28 | 28 | ||
29 | if (lastonlineplayers_time + 5.0f < current_time) |
29 | if (lastonlineplayers_time + 5.0f < current_time) |
30 | Player_SendBuffer_Add (network_player, 1000, L"who\n"); // request a players list update |
30 | Player_SendBuffer_Add (network_player, 1000, L"who\n"); // request a players list update |
31 | 31 | ||
- | 32 | is_dialogbox_displayed = true; |
|
32 | _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new message box thread |
33 | _beginthread (StartThread_ThisDialog, 0, NULL); // fire up a new message box thread |
33 | 34 | ||
34 | return; // return as soon as the thread is fired up |
35 | return; // return as soon as the thread is fired up |
35 | } |
36 | } |
36 | 37 | ||
Line 52... | Line 53... | ||
52 | // to implement a non-modal message box using the Common Controls library. |
53 | // to implement a non-modal message box using the Common Controls library. |
53 | 54 | ||
54 | // display the dialog box |
55 | // display the dialog box |
55 | if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1) |
56 | if (DialogBox (hAppInstance, MAKEINTRESOURCE (THIS_DIALOG), hMainWnd, DialogProc_ThisDialog) == 1) |
56 | is_dialogbox_playerinfoname_validated = true; |
57 | is_dialogbox_playerinfoname_validated = true; |
- | 58 | is_dialogbox_displayed = false; |
|
57 | 59 | ||
58 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
60 | the_board.reevaluate = true; // refresh the GUI buttons if needed |
59 | return; // _endthread() implied |
61 | return; // _endthread() implied |
60 | } |
62 | } |
61 | 63 |