39adfff2a9
Runs but not quite functional yet (requires user input to be completed). Shareware WAD file. Please read README.txt and DOOMLIC.txt
19 lines
267 B
C
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();
|
|
}
|