2023-09-30 14:49:35 +02:00
|
|
|
#ifndef CONCRETEENTITYLIST_H
|
|
|
|
#define CONCRETEENTITYLIST_H
|
|
|
|
|
|
|
|
#include "entityidentity.h"
|
|
|
|
|
|
|
|
class CConcreteEntityList
|
|
|
|
{
|
|
|
|
struct CList
|
|
|
|
{
|
|
|
|
CEntityIdentity* m_pHead;
|
|
|
|
CEntityIdentity* m_pTail;
|
2024-10-07 01:33:33 +03:00
|
|
|
int m_nCount;
|
2023-09-30 14:49:35 +02:00
|
|
|
};
|
|
|
|
public:
|
|
|
|
CEntityIdentity* m_pIdentityChunks[MAX_ENTITY_LISTS];
|
|
|
|
CEntityIdentity* m_pFirstActiveEntity; // 512
|
|
|
|
CConcreteEntityList::CList m_usedList; // 520
|
|
|
|
CConcreteEntityList::CList m_dormantList; // 544
|
|
|
|
CConcreteEntityList::CList m_freeNetworkableList; // 568
|
|
|
|
CConcreteEntityList::CList m_freeNonNetworkableList; // 592
|
|
|
|
uint32 m_nNetworkableEntityLimit; // 0x268
|
|
|
|
uint32 m_nNonNetworkableEntityLimit; // 0x26c
|
|
|
|
uint32 m_nMaxPlayers;
|
|
|
|
CBitVec<16384> m_PVSBits;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONCRETEENTITYLIST_H
|