mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 23:51:49 +00:00
50 lines
770 B
C
50 lines
770 B
C
/*
|
|
** This file contains glue linked into the "shared" object
|
|
*/
|
|
|
|
#define DEBUG 1
|
|
|
|
#include <aros/debug.h>
|
|
#include <exec/types.h>
|
|
|
|
#include "sys/aros/dll/dll.h"
|
|
|
|
extern void *GetGameAPI(void *);
|
|
|
|
void* dllFindResource(int id, char *pType)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
void* dllLoadResource(void *pHandle)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
void dllFreeResource(void *pHandle)
|
|
{
|
|
return;
|
|
}
|
|
|
|
dll_tExportSymbol DLL_ExportSymbols[] =
|
|
{
|
|
{dllFindResource, "dllFindResource"},
|
|
{dllLoadResource, "dllLoadResource"},
|
|
{dllFreeResource, "dllFreeResource"},
|
|
{(void *)GetGameAPI, "GetGameAPI"},
|
|
{0,0}
|
|
};
|
|
|
|
dll_tImportSymbol DLL_ImportSymbols[] =
|
|
{
|
|
{0,0,0,0}
|
|
};
|
|
|
|
int DLL_Init(void)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
void DLL_DeInit(void)
|
|
{
|
|
}
|