Rev 140 | Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 140 | Rev 145 | ||
---|---|---|---|
Line 179... | Line 179... | ||
179 | DialogBox_Quit (); // if a game has started OR if we are online against somebody, ask for confirmation |
179 | DialogBox_Quit (); // if a game has started OR if we are online against somebody, ask for confirmation |
180 | else |
180 | else |
181 | is_dialogbox_quit_validated = true; // if game hasn't started yet, quit without question |
181 | is_dialogbox_quit_validated = true; // if game hasn't started yet, quit without question |
182 | } |
182 | } |
183 | 183 | ||
184 | // |
184 | // move menu, cancel last move |
185 | else if (wParam_loword == MENUID_MOVE_CANCELLASTMOVE) |
185 | else if (wParam_loword == MENUID_MOVE_CANCELLASTMOVE) |
186 | the_board.players[current_viewer].wants_cancel = true; // remember this player wants to cancel his last move |
186 | the_board.players[current_viewer].wants_cancel = true; // remember this player wants to cancel his last move |
187 | 187 | ||
188 | // |
188 | // move menu, suggest move |
189 | else if (wParam_loword == MENUID_MOVE_SUGGESTMOVE) |
189 | else if (wParam_loword == MENUID_MOVE_SUGGESTMOVE) |
190 | the_board.players[current_viewer].wants_hint = true; // remember this player wants a hint |
190 | the_board.players[current_viewer].wants_hint = true; // remember this player wants a hint |
191 | 191 | ||
192 | // |
192 | // move menu, comment move |
193 | else if (wParam_loword == MENUID_MOVE_COMMENTMOVE) |
193 | else if (wParam_loword == MENUID_MOVE_COMMENTMOVE) |
194 | DialogBox_Comment (); // fire up the comment dialog box |
194 | DialogBox_Comment (); // fire up the comment dialog box |
195 | 195 | ||
196 | // |
196 | // move menu, go to move |
197 | else if (wParam_loword == MENUID_MOVE_GOTOMOVE) |
197 | else if (wParam_loword == MENUID_MOVE_GOTOMOVE) |
198 | DialogBox_GoToMove (); // fire up the go to move dialog box |
198 | DialogBox_GoToMove (); // fire up the go to move dialog box |
199 | 199 | ||
200 | // chessboard menu, swap sides |
200 | // chessboard menu, swap sides |
201 | else if (wParam_loword == MENUID_CHESSBOARD_SWAPSIDES) |
201 | else if (wParam_loword == MENUID_CHESSBOARD_SWAPSIDES) |