From 544b6475f029f5396bea9ebca0994111e74d1200 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 28 Aug 2005 14:36:54 +0000 Subject: Chess functions: * chc machine readable log - http://www.elephantbase.net/protocol/cchess_pgn.htm - http://www.elephantbase.net/protocol/cchess_move.htm * chc and gomoku replay work * key binding 'z' in pmore() for chess replay * avoid crash when watching (the watchee's mateid is empty) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3105 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/pmore.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mbbsd/pmore.c') diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index 3eddc925..7459a6a4 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -2352,6 +2352,10 @@ pmore(char *fpath, int promptend) MFDISP_DIRTY(); break; #endif + + case 'z': + ChessReplayGame(fpath); + break; } /* DO NOT DO ANYTHING HERE. NOT SAFE RIGHT NOW. */ } -- cgit v1.2.3