54 CRail(
int src0,
int dest0,
int src1,
int dest1,
UINT w);
Defines, enumerated types, and typedefs.
int m_nDest0
Index of cell at the other end of first edge.
int m_nWidth
Width of chessboard.
void GetEdge0(int &src, int &dest)
Get first edge.
unsigned int UINT
Abbreviation for unsigned integer.
bool IsKnightMove(int i, int j)
Knight's move test.
void GetEdge1(int &src, int &dest)
Get second edge.
int m_nSrc1
Index of cell at one end of second edge.
#define UNUSED
Contents of unused square on the chessboard.
int m_nSrc0
Index of cell at one end of first edge.
int m_nDest1
Index of cell at the other end of second edge.
CRail(int src0, int dest0, int src1, int dest1, UINT w)
Constructor.