wanderer.h

来自「游戏开发入门」· C头文件 代码 · 共 33 行

H
33
字号
//-----------------------------------------------------------------
// Wanderer Application
// C++ Header - Wanderer.h
//-----------------------------------------------------------------

#pragma once

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

//-----------------------------------------------------------------
// Global Variables
//-----------------------------------------------------------------
HINSTANCE             g_hInstance;
GameEngine*           g_pGame;
HDC                   g_hOffscreenDC;
HBITMAP               g_hOffscreenBitmap;
BackgroundLayer*      g_pBGLandscapeLayer;
BackgroundLayer*      g_pFGCloudsLayer;
ScrollingBackground*  g_pBackground;
ScrollingBackground*  g_pForeground;
Bitmap*               g_pPersonBitmap;
PersonSprite*         g_pPersonSprite;
int                   g_iInputDelay;

⌨️ 快捷键说明

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