This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

43
CryFont/ICryFont.cpp Normal file
View File

@@ -0,0 +1,43 @@
//////////////////////////////////////////////////////////////////////
//
// 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