www.pudn.com > fchess_src.zip > fchesvw.h
// fchesvw.h : interface of the CFchessView class
//
/////////////////////////////////////////////////////////////////////////////
#define XVALUE 20
#define YVALUE 15
#define XSTART 14
#define YSTART 14
#define XSIZE 28
#define BLACK_CHESS 1
#define WHITE_CHESS 2
#define I_WIN 1
#define I_LOST 2
#define NEED_TO_GO 3
typedef struct strChessPos
{
BYTE bX,bY;
} CHESSPOS;
#define SetQuit(CP) (CP.bX=CP.bY=0XFF)
#define IsAskToQuit(CP) (CP.bX==0XFF&&CP.bY==0XFF)
#define SetMessage(CP) (CP.bX=CP.bY=0XEE)
#define IsMessage(CP) (CP.bX==0XEE&&CP.bY==0XEE)
#define IsValid(CP) (CP.bX