[FIX]Some more for FreeCell

Torge Husfeldt jean-jaques.gelee at gmx.de
Tue Dec 21 07:00:39 UTC 1999


------=_NextPart_000_0029_01BF4B89.784D5540
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_002A_01BF4B89.78567D00"



------=_NextPart_001_002A_01BF4B89.78567D00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi FreeCellers!

Found some smaller issues in FreeCell and fixed them.
>From the preamble:
Change Set:  NewFreeCellFixes
Date:   16 December 1999
Author:   Torge Husfeldt

Fixes three more bugs in FreeCell.

1) Picking a new game didn't update the statistics.
2) Picking a new game disabled resuming elapsed Time.
3) Quitting the game didn't count the game as lost.

Removes code duplication (the cause for above bugs 1&2)
in the three methods (and their counterparts for the board)
for beginning new games.

Cosmetical change: prevents overflow of elapsed
Time by initially adding a digit.

Note: Pausing of elapsed time still doesn't work for FreeCell morphs
without owning SystemWindow (don't know how to accomplish this).

Torge

------=_NextPart_001_002A_01BF4B89.78567D00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi FreeCellers!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Found some smaller issues in FreeCell =
and fixed=20
them.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>From the preamble:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Change=20
Set:&nbsp;&nbsp;NewFreeCellFixes<BR>Date:&nbsp;&nbsp;&nbsp;16 December=20
1999<BR>Author:&nbsp;&nbsp;&nbsp;Torge Husfeldt</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Fixes three more bugs in =
FreeCell.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1) Picking a new game didn't update the =

statistics.<BR>2) Picking a new game disabled resuming elapsed =
Time.<BR>3)=20
Quitting the game didn't count the game as lost.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Removes code duplication (the cause for =
above bugs=20
1&amp;2)<BR>in the three methods (and their counterparts for the =
board)<BR>for=20
beginning new games.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cosmetical change: prevents overflow of =

elapsed<BR>Time by initially adding a digit.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Note: Pausing of elapsed time still =
doesn't work=20
for FreeCell morphs<BR>without owning SystemWindow (don't know how to =
accomplish=20
this).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Torge</FONT></DIV></BODY></HTML>

------=_NextPart_001_002A_01BF4B89.78567D00--

------=_NextPart_000_0029_01BF4B89.784D5540
Content-Type: text/plain; name="NewFreeCellFixes.5.cs"
 ; x-mac-type="65417070"
 ; x-mac-creator="43534F6D"
Content-Disposition: attachment; filename="NewFreeCellFixes.5.cs"
Content-Transfer-Encoding: imap_stub

0,2551,2,9152,0,

------=_NextPart_000_0029_01BF4B89.784D5540--





More information about the Squeak-dev mailing list