diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-04 15:55:01 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-04 15:55:01 +0800 |
commit | 45cf571a04e8a8781c1664cc6e993f4a09118e07 (patch) | |
tree | c34dbcc5b2aa76b0c8630f6a88c48cdeec9df454 /include | |
parent | e4562242b17b1d5d0dbf779a87e486528295c600 (diff) | |
download | pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.tar pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.tar.gz pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.tar.bz2 pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.tar.lz pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.tar.xz pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.tar.zst pttbbs-45cf571a04e8a8781c1664cc6e993f4a09118e07.zip |
GO game merged from FPG.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2113 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/bbs.h | 1 | ||||
-rw-r--r-- | include/modes.h | 4 | ||||
-rw-r--r-- | include/proto.h | 4 | ||||
-rw-r--r-- | include/pttstruct.h | 6 |
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] |