summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bbs.h1
-rw-r--r--include/modes.h4
-rw-r--r--include/proto.h4
-rw-r--r--include/pttstruct.h6
4 files changed, 13 insertions, 2 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 075db9a7..45ca1292 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -65,7 +65,6 @@
#include "modes.h"
#include "chc.h"
#include "proto.h"
-#include "gomo.h"
#ifdef ASSESS
#include "assess.h"
diff --git a/include/modes.h b/include/modes.h
index 6d0cacf6..d4f8c926 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -99,7 +99,8 @@
#define REEDIT 79
#define BLOGGING 80
#define CHESSWATCHING 81
-#define MODE_MAX 81 /* 所有其他選單動態須在此之前 */
+#define GO 82
+#define MODE_MAX 82 /* 所有其他選單動態須在此之前 */
/* menu.c 中的模式 */
#define QUIT 0x666 /* Return value to abort recursive functions */
@@ -156,6 +157,7 @@ enum {STRIP_ALL = 0, ONLY_COLOR, NO_RELOAD};
#define SIG_GOMO 3
#define SIG_CHC 4
#define SIG_DARK 5
+#define SIG_GO 6
/* talk.c 中的模式 */
#define WATERBALL_GENERAL 0
diff --git a/include/proto.h b/include/proto.h
index b0307d54..53d606b0 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -254,6 +254,10 @@ int ticket_main(void);
int openticket(int bid);
int ticket(int bid);
+/* go */
+int gochess(int fd);
+int GoBot(void);
+
/* gomo */
int gomoku(int fd);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 6c4dbf1e..a6863a96 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -509,6 +509,12 @@ typedef struct
int recno;
} TagItem;
+/* type in gomo.c, structure passing through socket */
+typedef struct {
+ char x;
+ char y;
+} Horder_t;
+
#ifdef OUTTACACHE
typedef struct {
int index; // 在 SHM->uinfo[index]