⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 battleoffice.h

📁 游戏编程源码
💻 H
字号:
//-----------------------------------------------------------------
// Battle Office Application
// C++ Header - BattleOffice.h
//-----------------------------------------------------------------

#ifndef BATTLEOFFICE_H
#define BATTLEOFFICE_H

//-----------------------------------------------------------------
// Include Files
//-----------------------------------------------------------------
#include <windows.h>
#include "Resource.h"
#include "GameEngine.h"
#include "Bitmap.h"
#include "Sprite.h"

//-----------------------------------------------------------------
// Global Variables
//-----------------------------------------------------------------
HINSTANCE   g_hInstance;
GameEngine* g_pGame;
HDC         g_hOffscreenDC;
HBITMAP     g_hOffscreenBitmap;
Bitmap*     g_pOfficeBitmap;
Bitmap*     g_pTargetBitmap;
Bitmap*     g_pPowBitmap;
Bitmap*     g_pGuyBitmaps[5];
Bitmap*     g_pSmallGuyBitmap;
Bitmap*     g_pGameOverBitmap;
Sprite*     g_pTargetSprite;
Sprite*     g_pPowSprite;
Sprite*     g_pGuySprites[5];
int         g_iGuyDelay[5];
int         g_iGuyMasterDelay;
int         g_iHits;
int         g_iMisses;
BOOL        g_bGameOver;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -