-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGHC.h
38 lines (35 loc) · 1.16 KB
/
GHC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//-----------------------------------------------------------------
// UFO Application
// C++ Header - UFO.h
//-----------------------------------------------------------------
#pragma once
//-----------------------------------------------------------------
// Include Files
//-----------------------------------------------------------------
#include <windows.h>
#include "Resources.h"
#include "GameEngine.h"
#include "Bitmap.h"
#include "Scene.h"
#include "SimpleAI.h"
//-----------------------------------------------------------------
// Global Variables
//-----------------------------------------------------------------
HINSTANCE _hInstance;
HBITMAP _hOffscreenBitmap;
HDC _hOffscreenDC;
GameEngine* _pGame;
const int _iMAXSPEED = 8;
Bitmap* _pBackground;
Bitmap *_pLife, *_pGameOver, *_pFireIcon, *char_null;
PlayerCharacter* _sCharacter;
Scene* _Scene; // Scene pointer her chapter bir scene den oluşur diye düþündüm ama birden fazla oluşabilir.
std::vector<SimpleAI*> ais;
bool editMod = false; // mod kontrol için tutuluyor
int sceneBlock = 0;
int x = 0;
int vx = 0;
int xThreshold = 32;
int maxSp = 0;
int fireReloadDelay = 120;
int score = 0;