This repository has been archived on 2022-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
Xash3DArchive/engine/engine.c

27 lines
648 B
C
Raw Normal View History

2008-06-09 22:00:00 +02:00
//=======================================================================
// Copyright XashXT Group 2007 <20>
// engine.c - engine entry base
//=======================================================================
#include "common.h"
/*
=================
Base Entry Point
=================
*/
launch_exp_t DLLEXPORT *CreateAPI( stdlib_api_t *input, void *unused )
{
static launch_exp_t Host;
com = *input;
2009-09-10 22:00:00 +02:00
Host.api_size = sizeof( launch_exp_t );
Host.com_size = sizeof( stdlib_api_t );
2008-06-09 22:00:00 +02:00
Host.Init = Host_Init;
Host.Main = Host_Main;
Host.Free = Host_Free;
Host.CPrint = Host_Print;
return &Host;
}