ugfx/demos/3rdparty/doom/i_main.c
inmarket 39adfff2a9 demo - DOOM the game.
Runs but not quite functional yet (requires user input to be completed).
Shareware WAD file. Please read README.txt and DOOMLIC.txt
2013-12-24 01:00:14 +10:00

19 lines
267 B
C

#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();
}