#include “…\Frame\Frame.h”
#include “vector2.h”
#include"game_input.h"
#include<math.h>
#include<Windows.h>
#include
#include<time.h>
struct QIZI
{
Vector2 qi ;
int color ;
};
struct WEIZHI
{
Vector2 weizhi ;
bool kong ;
};
struct WIN
{
bool win ;
bool heizi ;
};
WIN W_win;
int map[1919] = {} ;
std::vector qizi ;
std::vector W_zhi ;
bool heizi = false;
int dirx[8]={-1,-1,0,1,1,1,0,-1};
int diry[8]={0,-1,-1,-1,0,1,1,1};
void GameInit()
{
GameFrame frame = GameFrame::GetFrame();
CGameAudio* audio = frame->GetAudio();
for(int y = 100 ; y <= 460 ; y += 20)
{
for(int x = 300 ; x <= 660 ; x += 20)
{
Vector2 k(x,y);
WEIZ
win32窗口 五子棋
最新推荐文章于 2019-07-17 08:59:57 发布