Changeset 74 for trunk/UCore.pas
- Timestamp:
- Oct 4, 2014, 9:19:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r72 r74 75 75 SEndGame = 'End game?'; 76 76 SEndGameQuestion = 'Do you want to end current game?'; 77 SRestartGame = 'Restart game?'; 78 SRestartGameQuestion = 'Do you want to restart current game?'; 77 79 78 80 … … 203 205 procedure TCore.AGameRestartExecute(Sender: TObject); 204 206 begin 205 Game.New; 206 Game.Running := True; 207 FormMain.AZoomAll.Execute; 208 FormMain.Redraw; 209 UpdateActions; 207 if MessageDlg(SRestartGame, SRestartGameQuestion, mtConfirmation, mbYesNo, 0) = mrYes then begin 208 Game.New; 209 Game.Running := True; 210 FormMain.AZoomAll.Execute; 211 FormMain.Redraw; 212 UpdateActions; 213 end; 210 214 end; 211 215
Note:
See TracChangeset
for help on using the changeset viewer.