mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-22 10:40:56 +00:00
21 lines
389 B
C
21 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
|
|
}
|