// SnakeDemo.cpp : 定义应用程序的入口点。
//
#include "stdafx.h"
#include "SnakeDemo.h"
#define MAX_LOADSTRING 100
struct Node//蛇的节点
{
int x,y;
int way;
struct Node* pNext;
};
struct Mouse//老鼠
{
int x,y;
};
Mouse* m_mouse;
Node* m_head;
HDC m_memdc;
HBITMAP m_membmp;
HWND m_hwnd;
int m_Shudu=200;//蛇的速度
相关下载链接:
//download.csdn.net/download/mop519475552/2573556?utm_source=bbsseo