-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.h
46 lines (36 loc) · 1.02 KB
/
global.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
39
40
41
42
43
44
45
46
#ifndef _global_h_
#define _global_h_
#define MAX_LOADSTRING 100
#define MAX_LEVELS 3
#define MAX_LENGTH 30
#define LEVEL_1 1
#define LEVEL_2 2
#define LEVEL_3 3
typedef struct {
int level;
int life;
char name[MAX_LENGTH];
int guns;
int chosen_level;
} game_data;
extern TCHAR szTitle[MAX_LOADSTRING];
extern TCHAR szWindowClass[MAX_LOADSTRING];
extern HGLRC hRC;
extern HDC hDC;
extern HWND hWnd;
extern HINSTANCE hInst;
extern BOOL bActive;
extern BOOL bFullscreen;
extern BOOL bUseLighting;
extern BOOL bCullFaces;
extern BOOL bDrawNormals;
extern BOOL bNoClipping;
extern BOOL bArrKeys[256];
extern BOOL lp;
extern BOOL xp;
extern BOOL sp;
extern BOOL np;
extern BOOL fog;
extern BOOL fsP;
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
#endif