Files
FC1/CryFont/ICryFont.cpp
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

43 lines
856 B
C++

//////////////////////////////////////////////////////////////////////
//
// CryFont Source Code
//
// File: ICryFont.cpp
// Description: Create the font interface.
//
// History:
// - August 17, 2001: Created by Alberto Demichelis
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#ifndef _XBOX
_ACCESS_POOL;
#endif //_XBOX
#include "CryFont.h"
ISystem *gISystem = 0;
//! Get the system interface
ISystem *GetISystem()
{
return gISystem;
}
///////////////////////////////////////////////
extern "C" ICryFont* CreateCryFontInterface(ISystem *pSystem)
{
gISystem = pSystem;
return new CCryFont(pSystem);
}
///////////////////////////////////////////////
#ifndef _XBOX
#ifndef PS2
BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
return TRUE;
}
#endif
#endif