diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-21 17:26:02 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-21 17:26:02 +0800 |
commit | e9a7b75babb76e1a3341161bcb6e80f3753b83c7 (patch) | |
tree | 04debdc816cd5405bba70904a1eea16ca6fca663 /mbbsd/gomo1.c | |
parent | 1428a82d1644166fdaa5285c67f236ac02687818 (diff) | |
download | pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.gz pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.bz2 pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.lz pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.xz pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.zst pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.zip |
indent -i4
fix indent's word error
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/gomo1.c')
-rw-r--r-- | mbbsd/gomo1.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/gomo1.c b/mbbsd/gomo1.c index 462ceb47..260ce88f 100644 --- a/mbbsd/gomo1.c +++ b/mbbsd/gomo1.c @@ -1,18 +1,18 @@ -/* $Id: gomo1.c,v 1.3 2002/07/05 17:10:27 in2 Exp $ */ +/* $Id: gomo1.c,v 1.4 2002/07/21 09:26:02 in2 Exp $ */ #include "bbs.h" #define QCAST int (*)(const void *, const void *) /* pattern and advance map */ -static int +static int intrevcmp(const void *a, const void *b) { return (*(int *)b - *(int *)a); } /* x,y: 0..BRDSIZ-1 ; color: CBLACK,CWHITE ; dx,dy: -1,0,+1 */ -static int +static int gomo_getindex(int x, int y, int color, int dx, int dy) { int i, k, n; @@ -36,7 +36,7 @@ gomo_getindex(int x, int y, int color, int dx, int dy) return n; } -int +int chkwin(int style, int limit) { if (style == 0x0c) @@ -52,7 +52,7 @@ chkwin(int style, int limit) } /* x,y: 0..BRDSIZ-1 ; color: CBLACK,CWHITE ; limit:1,0 ; dx,dy: 0,1 */ -static int +static int dirchk(int x, int y, int color, int limit, int dx, int dy) { int le, ri, loc, style = 0; @@ -100,7 +100,7 @@ dirchk(int x, int y, int color, int limit, int dx, int dy) /* 四三=7 活四=6 斷四=5 死四=4 活三=3 斷三=2 保留=1 無效=0 */ /* x,y: 0..BRDSIZ-1 ; color: CBLACK,CWHITE ; limit: 1,0 */ -int +int getstyle(int x, int y, int color, int limit) { int i, j, dir[4], style; |