Hello folks,
i'm trying to port CEntity to csgo and i'm a long way there i believe.
But i'm just one file away to have CEntity files compiled along with an extension and start debugging it.
Code:
CUtlMemoryPool *g_EntityListPool = NULL;
CBaseEntityOutput::~CBaseEntityOutput()
{
CEventAction *ev = m_ActionList;
while (ev != NULL)
{
CEventAction *pNext = ev->m_pNext;
g_EntityListPool->Free(ev);
ev = pNext;
}
}
Is why i need the include.
EntityOuput.cpp throws me sdk errors from mempool.h and threadtools.h and my lack of knowledge from the sdk prevents me from understanding why.
Is there a work around to free a CEventAction var type so i can discard the mempool.h include? Or a way to discard the error it throws me in the picture i sent later on here?
Here's a picture of what it throws
http://imgur.com/sPp8MA1 !
Any idea or explaination would be great if a kind soul read this is gladly welcome and thanked !
Could it be that my gcc version is too recent?
NVM fixed it by replacing it with its equivalent from csgo found at cbase.cpp