onemove.h
来自「EVC4.0开发的国际象棋的元代码」· C头文件 代码 · 共 19 行
H
19 行
/****************************************************
Author: S. Senthil kumar
Class Name: OneMove
Purpose: Stores a move.
******************************************************/
struct OneMove
{
int piece; //piece Id
int destx; //Destination square x coordinate
int desty; //Destination square y coordinate
int sourcex; //Source square x coordinate
int sourcey; //Source square y coordinate
//int norm_or_attack;
OneMove *next; //Pointer to itself. Used only in Move Generator
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?