2013-12-23 15:00:14 +00:00
|
|
|
#include "gfx.h"
|
|
|
|
|
|
|
|
#include "doomdef.h"
|
|
|
|
|
|
|
|
#include "m_argv.h"
|
|
|
|
#include "d_main.h"
|
|
|
|
|
|
|
|
// Emulate a command line
|
2013-12-24 09:58:18 +00:00
|
|
|
static const char const *argv[] = { "doom" };
|
2013-12-23 15:00:14 +00:00
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
gfxInit();
|
|
|
|
|
2013-12-24 09:58:18 +00:00
|
|
|
myargc = sizeof(argv)/sizeof(argv[0]);
|
2013-12-23 15:00:14 +00:00
|
|
|
myargv = argv;
|
|
|
|
D_DoomMain();
|
|
|
|
}
|