0345dadebf
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.
18 lines
268 B
C
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();
|
|
}
|