-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathD_MAIN.H
46 lines (32 loc) · 1.1 KB
/
D_MAIN.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
// d_main.h : game startup, and main loop code, system specific
#ifndef __D_MAIN__
#define __D_MAIN__
#include "d_event.h"
#include "w_wad.h" // for MAX_WADFILES
//extern char* startupwadfiles[MAX_WADFILES];
//void D_AddFile (char *file);
// make sure not to write back the config until it's been correctly loaded
extern ULONG rendergametic;
// the infinite loop of D_DoomLoop() called from win_main for windows version
void D_DoomInnerLoop (void);
//
// D_DoomMain()
// Not a globally visible function, just included for source reference,
// calls all startup code, parses command line options.
// If not overrided by user input, calls N_AdvanceDemo.
//
void D_DoomMain (void);
// Called by IO functions when input is detected.
void D_PostEvent (event_t* ev);
void D_PostEvent_end (void); // delimiter for locking memory
void D_ProcessEvents (void);
void D_DoAdvanceDemo (void);
//
// BASE LEVEL
//
void D_PageTicker (void);
// pagename is lumpname of a 320x200 patch to fill the screen
void D_PageDrawer (char* pagename);
void D_AdvanceDemo (void);
void D_StartTitle (void);
#endif //__D_MAIN__