mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-22 02:30:55 +00:00
22 lines
389 B
C
22 lines
389 B
C
|
#include "../doomdef.h"
|
||
|
#include "../d_main.h"
|
||
|
#include "../m_argv.h"
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
myargc = argc;
|
||
|
myargv = argv; /// \todo pull out path to exe from this string
|
||
|
|
||
|
// startup SRB2
|
||
|
CONS_Printf("Setting up SRB2...\n");
|
||
|
D_SRB2Main();
|
||
|
CONS_Printf("Entering main game loop...\n");
|
||
|
// never return
|
||
|
D_SRB2Loop();
|
||
|
|
||
|
// return to OS
|
||
|
#ifndef __GNUC__
|
||
|
return 0;
|
||
|
#endif
|
||
|
}
|