2007-06-21 22:00:00 +02:00
|
|
|
|
//=======================================================================
|
|
|
|
|
// Copyright XashXT Group 2007 <20>
|
|
|
|
|
// editor.c - game editor dll
|
|
|
|
|
//=======================================================================
|
|
|
|
|
|
|
|
|
|
#include "editor.h"
|
|
|
|
|
|
2007-11-30 22:00:00 +01:00
|
|
|
|
stdlib_api_t com;
|
2007-06-21 22:00:00 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
==================
|
|
|
|
|
DllMain
|
|
|
|
|
|
|
|
|
|
==================
|
|
|
|
|
*/
|
2007-11-25 22:00:00 +01:00
|
|
|
|
launch_exp_t DLLEXPORT *CreateAPI( stdlib_api_t *input, void *unused )
|
2007-06-21 22:00:00 +02:00
|
|
|
|
{
|
2007-09-14 22:00:00 +02:00
|
|
|
|
static launch_exp_t Editor;
|
2007-06-21 22:00:00 +02:00
|
|
|
|
|
2007-11-30 22:00:00 +01:00
|
|
|
|
com = *input;
|
2007-09-11 22:00:00 +02:00
|
|
|
|
|
2007-09-14 22:00:00 +02:00
|
|
|
|
Editor.api_size = sizeof(launch_exp_t);
|
2007-06-21 22:00:00 +02:00
|
|
|
|
|
2007-08-13 22:00:00 +02:00
|
|
|
|
Editor.Init = InitEditor;
|
|
|
|
|
Editor.Main = EditorMain;
|
|
|
|
|
Editor.Free = FreeEditor;
|
2007-11-30 22:00:00 +01:00
|
|
|
|
Editor.CPrint = GUI_Print;
|
2007-06-21 22:00:00 +02:00
|
|
|
|
|
2007-08-17 22:00:00 +02:00
|
|
|
|
return &Editor;
|
2007-06-21 22:00:00 +02:00
|
|
|
|
}
|