Changeset 21 for trunk/UGame.pas


Ignore:
Timestamp:
Oct 5, 2019, 2:23:25 PM (5 years ago)
Author:
chronos
Message:
  • Added: Debian packaging information.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r20 r21  
    9898  SGameOverMessage = 'Game over!';
    9999  SWinCaption = 'Win';
    100   SWinMessage = 'You won! Do you want to continue to play?';
     100  SWinMessage = 'You reached %d and won! You can continue to play to get higher score.';
    101101  SScore = 'Score';
    102102  STopScore = 'Top score';
     
    265265procedure TGame.Win;
    266266begin
    267   if MessageDlg(SWinCaption, SWinMessage, mtConfirmation,
    268   mbYesNo, 0) = mrNo then begin
    269     Running := False;
    270   end;
     267  MessageDlg(SWinCaption, Format(SWinMessage, [WinScore]), mtInformation, [mbOk], 0);
    271268end;
    272269
     
    658655  FBoardUndo.LoadFromRegistry(TRegistryContext.Create(RegContext.RootKey, RegContext.Key + '\BoardUndo'));
    659656  Board.LoadFromRegistry(TRegistryContext.Create(RegContext.RootKey, RegContext.Key + '\Board'));
     657  DoChange;
    660658end;
    661659
Note: See TracChangeset for help on using the changeset viewer.