summaryrefslogtreecommitdiff
path: root/noncore/games
authorzecke <zecke>2004-04-30 13:27:34 (UTC)
committer zecke <zecke>2004-04-30 13:27:34 (UTC)
commitb313bfcc63e972b1dfe059d91fe364d535478c7c (patch) (side-by-side diff)
tree36c52526da889598133698cb7c914fbe134c9594 /noncore/games
parent7829ac6b0577bf2398110f327a4b5e40435c105b (diff)
downloadopie-b313bfcc63e972b1dfe059d91fe364d535478c7c.zip
opie-b313bfcc63e972b1dfe059d91fe364d535478c7c.tar.gz
opie-b313bfcc63e972b1dfe059d91fe364d535478c7c.tar.bz2
some long outstanding 'freeze' bug..
having a function pause(){} conflicts with linux version of pause. So instead of doing nothing... we were forced to pause(2)
Diffstat (limited to 'noncore/games') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/go/goplayutils.c2
-rw-r--r--noncore/games/go/killable.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/games/go/goplayutils.c b/noncore/games/go/goplayutils.c
index 9e2ce4c..91c6db2 100644
--- a/noncore/games/go/goplayutils.c
+++ b/noncore/games/go/goplayutils.c
@@ -913,13 +913,13 @@ short gx, gy, *savex, *savey;
*savex = plist3.p[i].px;
*savey = plist3.p[i].py;
if (legal[*savex][*savey])
{
smark = playMark;
tryPlay(*savex, *savey, me);
- pause();
+//pause();
if (gList[gMap[groupIDs[*savex][*savey]]].libC > 1)
if (gList[gMap[groupIDs[gx][gy]]].libC > treeLibLim)
{
restoreState();
/* sClearChar(sChar, rXor); */
return TRUE;
diff --git a/noncore/games/go/killable.c b/noncore/games/go/killable.c
index 3ed2d2e..23a133d 100644
--- a/noncore/games/go/killable.c
+++ b/noncore/games/go/killable.c
@@ -59,13 +59,13 @@ short tx, ty, gx, gy, *escape, tkMark;
return FALSE;
}
/* write(sChar); */
depth = depth + 1;
curMark = playMark;
tryPlay(tx, ty, me); /* try my move */
- pause();
+// pause();
if (gList[gMap[groupIDs[tx][ty]]].libC == 0) /* I'm dead */
{
result = FALSE;
goto one;
}
else if (killFlag) /* I killed something of his */
@@ -149,13 +149,13 @@ short tx, ty, gx, gy, *escape, tkMark;
for (i = 1; i <= lList1.indx + 1; i++) /* try his responses */
{
mark2 = playMark;
if (i <= lList1.indx) /* try his move */
{
tryPlay(lList1.p[i].px, lList1.p[i].py, him); /* play his response */
- pause();
+// pause();
if (gList[gMap[groupIDs[lList1.p[i].px]
[lList1.p[i].py]]].libC < 2)
goto two; /* a bogus move */
}
else if (gList[gMap[groupIDs[gx][gy]]].libC <= 1)
{