123
This commit is contained in:
43
CryFont/ICryFont.cpp
Normal file
43
CryFont/ICryFont.cpp
Normal 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
|
||||
Reference in New Issue
Block a user