Exemple #1
0
void CClientObjectManager::UpdateLimitInfo ( void )
{
    CPools* pPools = g_pGame->GetPools ();
    m_iEntryInfoNodeEntries = pPools->GetEntryInfoNodePool ()->GetNumberOfUsedSpaces ();
    m_iPointerNodeSingleLinkEntries = pPools->GetPointerNodeSingleLinkPool ()->GetNumberOfUsedSpaces ();
    m_iPointerNodeDoubleLinkEntries = pPools->GetPointerNodeDoubleLinkPool ()->GetNumberOfUsedSpaces ();
}
void COMMAND_Debug(const char* szCmdLine)
{
    __debugbreak();

    return;

    CPools* pPools = g_pGame->GetPools();
    int     iEntryInfoNodeEntries = pPools->GetEntryInfoNodePool()->GetNumberOfUsedSpaces();
    int     iPointerNodeSingleLinkEntries = pPools->GetPointerNodeSingleLinkPool()->GetNumberOfUsedSpaces();
    int     iPointerNodeDoubleLinkEntries = pPools->GetPointerNodeDoubleLinkPool()->GetNumberOfUsedSpaces();

    g_pCore->GetConsole()->Printf("entry info: %i", iEntryInfoNodeEntries);
    g_pCore->GetConsole()->Printf("single node: %i", iPointerNodeSingleLinkEntries);
    g_pCore->GetConsole()->Printf("dbl node: %i", iPointerNodeDoubleLinkEntries);
}