ugfx/demos/3rdparty/doom/i_main.c
inmarket 0345dadebf Fixes to DOOM demo to remove some operating system dependancies.
Also now has working input (although not perfect) - Needs mouse or touch.
Also now supports screen size doubling when the screen is significantly larger than doom's screen.
2013-12-24 19:58:18 +10:00

18 lines
268 B
C

#include "gfx.h"
#include "doomdef.h"
#include "m_argv.h"
#include "d_main.h"
// Emulate a command line
static const char const *argv[] = { "doom" };
int main(void) {
gfxInit();
myargc = sizeof(argv)/sizeof(argv[0]);
myargv = argv;
D_DoomMain();
}