20 #ifndef INC_C4PlayerList
21 #define INC_C4PlayerList
53 void JoinNew(
const char *szFilename);
55 bool FileInUse(
const char *szFilename)
const;
58 bool Save(
bool fSaveLocalOnly);
60 bool Remove(
int iPlayer,
bool fDisonnected,
bool fNoCalls);
68 bool CtrlRemove(
int iPlayer,
bool fDisonnected);
71 bool Valid(
int iPlayer)
const;
72 bool Hostile(
int iPlayer1,
int iPlayer2)
const;
87 int32_t
Hostile(int32_t plr1, int32_t plr2);
int32_t Hostile(int32_t plr1, int32_t plr2)
int32_t ValidPlr(int32_t plr)
void ClearPointers(C4Object *pObj)
bool Remove(int iPlayer, bool fDisonnected, bool fNoCalls)
C4Player * GetAtRemoteClient(int iIndex=0) const
C4Player * Join(const char *szFilename, bool fScenarioInit, int iAtClient, const char *szAtClientName, class C4PlayerInfo *pInfo, C4ValueNumbers *)
int CheckColorDw(DWORD dwColor, C4Player *pExclude)
C4Player * GetAtClient(int iClient, int iIndex=0) const
bool Hostile(int iPlayer1, int iPlayer2) const
C4Player * GetByInfoID(int iInfoID) const
C4Player * GetByIndex(int iIndex) const
bool MouseControlTaken() const
bool RemoveUnjoined(int32_t iPlayer)
void DenumeratePointers()
C4Player * GetByName(const char *szName, int iExcluding=NO_OWNER) const
C4Player * Get(int iPlayer) const
bool FileInUse(const char *szFilename) const
int AverageScoreGain() const
bool Retire(C4Player *pPlr)
void RecheckPlayerSort(C4Player *pForPlayer)
bool RemoveAtClient(int iClient, bool fDisconnect)
bool PositionTaken(int iPosition) const
int GetCountNotEliminated() const
bool HasPlayerInTeamSelection()
bool RemoveLocal(bool fDisonnected, bool fNoCalls)
bool SynchronizeLocalFiles()
int GetIndex(C4Player *pPlr) const
void JoinNew(const char *szFilename)
bool Save(bool fSaveLocalOnly)
int GetFreeNumber() const
C4Player * GetLocalByIndex(int iIndex) const
bool CtrlJoin(const class C4Network2ResCore &ResCore, int iClientID, int idPlayerInfo)
bool CtrlRemoveAtClient(int iClient, bool fDisonnected)
bool HostilityDeclared(int iPlayer1, int iPlayer2) const
bool RemoveAtRemoteClient(bool fDisonnected, bool fNoCalls)
bool CtrlRemove(int iPlayer, bool fDisonnected)
bool Valid(int iPlayer) const