summaryrefslogtreecommitdiffstats
path: root/include/chc.h
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-15 14:26:17 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-15 14:26:17 +0800
commit98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9 (patch)
tree319ebe57c18b21b8f31c95cd92626163e472b7e2 /include/chc.h
parent5936d5aa8dd56d023c8aa475ac0505406af88268 (diff)
downloadpttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.gz
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.bz2
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.lz
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.xz
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.zst
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.zip
Gomoku convertion to chess.c framework
* versus, watching and personal playing * undo function removed due to the restriction of the framework currently chess.c framework update * resign confirm * invited peer can be watched !!!NOTE!!! Gomoku protocal not backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/chc.h')
-rw-r--r--include/chc.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/chc.h b/include/chc.h
index 900d4dd1..8b7fb23b 100644
--- a/include/chc.h
+++ b/include/chc.h
@@ -1,20 +1,6 @@
-#define SIDE_ROW 7
-#define REAL_TURN_ROW 8
-#define STEP_ROW 9
-#define REAL_TIME_ROW1 10
-#define REAL_TIME_ROW2 11
-#define REAL_WARN_ROW 13
-#define MYWIN_ROW 17
-#define HISWIN_ROW 18
-
-#define PHOTO_TURN_ROW 19
-#define PHOTO_TIME_ROW1 20
-#define PHOTO_TIME_ROW2 21
-#define PHOTO_WARN_ROW 22
#define CHE_O(c) ((c) >> 3)
#define CHE_P(c) ((c) & 7)
-#define dim(x) (sizeof(x) / sizeof(x[0]))
#define CHE(a, b) ((a) | ((b) << 3))
/* TODO let user flip chessboard */
#define REDDOWN(info) ((info)->myturn==RED)
@@ -26,7 +12,6 @@
#define RED_COLOR ANSI_COLOR(1;31)
#define BLACK_REVERSE ANSI_COLOR(1;37;46)
#define RED_REVERSE ANSI_COLOR(1;37;41)
-#define TURN_COLOR ANSI_COLOR(1;33)
#define BRD_ROW 10
#define BRD_COL 9