23 lines
555 B
C
23 lines
555 B
C
//=======================================================================
|
|
// Copyright XashXT Group 2007 ©
|
|
// launcher.c - main engine launcher
|
|
//=======================================================================
|
|
|
|
#include "launch.h"
|
|
|
|
/*
|
|
=================
|
|
Base Entry Point
|
|
=================
|
|
*/
|
|
DLLEXPORT int CreateAPI( char *funcname )
|
|
{
|
|
// memeber name
|
|
com_strncpy( Sys.progname, funcname, sizeof(Sys.progname));
|
|
|
|
Sys_Init();
|
|
Sys.Main();
|
|
Sys_Exit();
|
|
|
|
return 0;
|
|
} |