mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
21 lines
594 B
C++
21 lines
594 B
C++
|
//===========================================================================//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//===========================================================================//
|
||
|
#include "tier1/interface.h"
|
||
|
|
||
|
// ------------------------------------------------------------------------- //
|
||
|
// InterfaceReg.
|
||
|
// ------------------------------------------------------------------------- //
|
||
|
|
||
|
InterfaceReg** s_ppInterfaceRegs;
|
||
|
|
||
|
InterfaceReg::InterfaceReg(InstantiateInterfaceFn fn, const char* pName) :
|
||
|
m_pName(pName)
|
||
|
{
|
||
|
m_CreateFn = fn;
|
||
|
m_pNext = *s_ppInterfaceRegs;
|
||
|
*s_ppInterfaceRegs = this;
|
||
|
}
|