📄 weiqi.h
字号:
// WeiQi1.h: interface for the CWeiQi class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WEIQI1_H__3883FE60_7C50_11D5_A77C_0040053C48A6__INCLUDED_)
#define AFX_WEIQI1_H__3883FE60_7C50_11D5_A77C_0040053C48A6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define BLACK 1
#define WHITE -1
#define NONE 0
class CWeiQi : public CWnd
{
public:
BOOL m_Found[19][19];
int m_Colors[19][19];
int m_Color;
int m_DajieX;
int m_DajieY;
int m_MaxX;
int m_MinX;
int m_MaxY;
int m_MinY;
int m_LastX;
int m_LastY;
void Init();
void Remove();
void Action(int,int,int);
void Place(int,int,int);
BOOL FindSpace(int,int,int);
BOOL IsDajie(int,int,int);
int CanPlace(int,int,int);
CWeiQi();
virtual ~CWeiQi();
};
#endif // !defined(AFX_WEIQI1_H__3883FE60_7C50_11D5_A77C_0040053C48A6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -