FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DXGameProject_Test/main.h at master · ottoGithub/DXGameProject_Test · GitHub
ottoGithub
/
DXGameProject_Test
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
DXGameProject_Test
/
main.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
49 lines (38 loc) · 984 Bytes
Breadcrumbs
DXGameProject_Test
/
main.h
Copy path
File metadata and controls
49 lines (38 loc) · 984 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
47
48
49
/*
Demo Name: Game Project 4
Author: Allen Sherrod
Chapter: Chapter 5
*/
#ifndef
_UGP_MAIN_H_
#define
_UGP_MAIN_H_
#include
<stdio.h>
#include
"engine.h"
//#pragma comment(lib, "lib/StrandedEngine.lib")
#define
WINDOW_CLASS
"StrandedGame"
#define
WINDOW_NAME
"Stranded"
#define
WIN_WIDTH
800
#define
WIN_HEIGHT
600
#define
FULLSCREEN
0
// Function Prototypes...
bool
InitializeEngine
();
void
ShutdownEngine
();
// Menu functions.
bool
InitializeMainMenu
();
void
MainMenuCallback
(
int
id
,
int
state
);
void
MainMenuRender
();
// Main game functions.
bool
GameInitialize
();
void
GameLoop
();
void
GameShutdown
();
// Main menu defines.
#define
GUI_MAIN_SCREEN
1
#define
GUI_START_SCREEN
2
#define
GUI_CREDITS_SCREEN
3
// ids for our GUI controls.
#define
STATIC_TEXT_ID
1
#define
BUTTON_START_ID
2
#define
BUTTON_CREDITS_ID
3
#define
BUTTON_QUIT_ID
4
#define
BUTTON_BACK_ID
5
#define
BUTTON_LEVEL_1_ID
6
#endif
Back
|
FazBrowse Home
|
New Git URL