summaryrefslogtreecommitdiffstats
path: root/mbbsd/othello.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 00:26:20 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 00:26:20 +0800
commit91f6682a7690a4dd6ae160804b2009a0a98f8122 (patch)
treed82c7c3071bd444ac397ad7f14e247be031914d3 /mbbsd/othello.c
parentb640fe2c00e591888ecc1ca594e5e51336c3bf44 (diff)
downloadpttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.gz
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.bz2
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.lz
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.xz
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.zst
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.zip
integrate igetkey igetch egetch
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/othello.c')
-rw-r--r--mbbsd/othello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/othello.c b/mbbsd/othello.c
index 96fea2e2..eba90375 100644
--- a/mbbsd/othello.c
+++ b/mbbsd/othello.c
@@ -124,7 +124,7 @@ get_key(char nowx, char nowy)
int ch;
move(STARTX - 1 + nowx * 2, STARTY - 1 + nowy * 4);
- ch = igetkey();
+ ch = igetch();
move(STARTX - 1 + nowx * 2, STARTY - 2 + nowy * 4);
if (nowboard[(int)nowx][(int)nowy] != HINT || if_hint == 1)
outs(CHESS_TYPE[(int)nowboard[(int)nowx][(int)nowy]]);
@@ -274,7 +274,7 @@ end_of_game(int quit)
if (fp)
fclose(fp);
move(1, 1);
- igetkey();
+ igetch();
}
static void