aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty/doom/i_main.c
blob: 0c618a5ba59d88e0f3fa62592267d4860d21c5cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "gfx.h"

#include "doomdef.h"

#include "m_argv.h"
#include "d_main.h"

// Emulate a command line
static int argc = 1;
static const char * const *argv = { "doom", };

int main(void) {
	gfxInit();

    myargc = argc; 
    myargv = argv; 
    D_DoomMain();
}