⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 type_gchessboard.html

📁 一个非常有用的开源代码
💻 HTML
字号:
<html><head><title>Generated Documentation</title></head><body>	<image src="headerimage.png">	<br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GChessBoard</b></big></big></big><br><br></td><td></td></tr></table><br><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">int <big><b>GetMoves</b></big>(int* pOutMoves, int col, int row)<br><div style="margin-left: 80px;"><font color=brown> Pass in the coordinates of a square with a piece on it and it will return the number of moves that piece can make and put the coordinates of the moves in pOutMoves (first col, then row, so pOutMoves should be big enough to hold 2 * MAX_PIECE_MOVES values)</font></div><br>Piece* <big><b>GetPiece</b></big>(int col, int row, bool* pbWhite)<br>void <big><b>SetPiece</b></big>(int col, int row, Piece piece, bool bWhite)<br></div><br><big><big><i>Protected</i></big></big><br><div style="margin-left: 40px;">bool <big><b>CheckMove</b></big>(int* pOutMoves, int* pnMoves, int col, int row, bool bWhite)<br>bool <big><b>CheckPawnMove</b></big>(int* pOutMoves, int* pnMoves, int col, int row, bool bDiagonal, bool bWhite)<br>int <big><b>Dec</b></big>(int pos)<br>int <big><b>Inc</b></big>(int pos)<br></div><br></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -