资 源 简 介
win32编程实现拳王八神的技能释放
//API GDI OpenGL
//-------------------------------------------【包含头文件】--------------------------------------
//描述:包含程序所依赖的头文件
//------------------------------------------------------------------------------------------------
#include
#pragma comment(lib,"winmm.lib") //音乐2步:1.包含库文件
#pragma comment(lib,"Msimg32.lib")
#define WINDOW_TITLE L"八神"
#define WINDOW_CLASS L"为了所有人的IT梦!"
#define WINDOW_WIDTH 800
#define WINDOW_HEIGHT 600
//全局变量
HDC g_hdc = NULL, g_memdc = NULL, g_bufdc = NULL; //全局设备环境句柄
HBITMAP g_hBKBitmap = NULL,g_hBSBitmap = NULL,g_hSkillbmp = NULL;//背景位图
int g_iNum = 0;//标记我们的帧图像的张数
int g_tPre = 0,g_tNow = 0;
int g_flag = 0;
void Game_Paint(HWND hwnd);
BOOL Game_Init(HWND hwnd);
LRESULT CALLBACK WndProc(HWND hwnd, UINT message,WPARAM wParam, LPARAM lParam);
//------------------------------------------【WinMain()函数】-------------------------------------
//描述:Wind