2024-02-06 22:20:05 +08:00
|
|
|
|
|
|
|
#include "../main.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------
|
|
|
|
|
|
|
|
CPlayerPool::CPlayerPool()
|
|
|
|
{
|
|
|
|
// loop through and initialize all net players to null and slot states to false
|
|
|
|
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
|
2024-10-16 16:24:02 +08:00
|
|
|
m_pPlayers[playerId] = NULL;
|
2024-02-06 22:20:05 +08:00
|
|
|
field_2A[playerId] = 0;
|
|
|
|
}
|
2024-02-15 22:41:04 +08:00
|
|
|
m_pLocalPlayer = new CLocalPlayer();
|
2024-02-06 22:20:05 +08:00
|
|
|
field_0 = 0;
|
|
|
|
field_22 = 0;
|
2024-10-17 17:34:21 +08:00
|
|
|
m_LocalPlayerID = 0;
|
2024-02-06 22:20:05 +08:00
|
|
|
field_2F3A = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------
|