planets.h
来自「游戏编程源码」· C头文件 代码 · 共 30 行
H
30 行
//-----------------------------------------------------------------
// Planets Application
// C++ Header - Planets.h
//-----------------------------------------------------------------
#ifndef PLANETS_H
#define PLANETS_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;
Bitmap* g_pGalaxyBitmap;
Bitmap* g_pPlanetBitmap[3];
Sprite* g_pPlanetSprite[3];
BOOL g_bDragging;
int g_iDragPlanet;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?