structs are structs, classes are classes

This commit is contained in:
Choupom 2011-04-19 11:54:44 +02:00 committed by oy
parent 4dfcfc6913
commit c2f75b0017
5 changed files with 9 additions and 9 deletions

View file

@ -32,20 +32,20 @@ class CRegister
int m_RegisterFirst;
int m_RegisterCount;
class CMasterserverInfo m_aMasterserverInfo[IMasterServer::MAX_MASTERSERVERS];
CMasterserverInfo m_aMasterserverInfo[IMasterServer::MAX_MASTERSERVERS];
int m_RegisterRegisteredServer;
void RegisterNewState(int State);
void RegisterSendFwcheckresponse(NETADDR *pAddr);
void RegisterSendHeartbeat(NETADDR Addr);
void RegisterSendCountRequest(NETADDR Addr);
void RegisterGotCount(class CNetChunk *pChunk);
void RegisterGotCount(struct CNetChunk *pChunk);
public:
CRegister();
void Init(class CNetServer *pNetServer, class IEngineMasterServer *pMasterServer, class IConsole *pConsole);
void RegisterUpdate(int Nettype);
int RegisterProcessPacket(class CNetChunk *pPacket);
int RegisterProcessPacket(struct CNetChunk *pPacket);
};
#endif

View file

@ -36,7 +36,7 @@ class CConsole : public IConsole
{
public:
const char *m_pFilename;
struct CExecFile *m_pPrev;
CExecFile *m_pPrev;
};
CExecFile *m_pFirstExec;

View file

@ -6,7 +6,7 @@
// raw datafile access
class CDataFileReader
{
class CDatafile *m_pDataFile;
struct CDatafile *m_pDataFile;
void *GetDataImpl(int Index, int Swap);
public:
CDataFileReader() : m_pDataFile(0) {}

View file

@ -30,7 +30,7 @@ class CMapChecker
public:
CMapChecker();
void AddMaplist(class CMapVersion *pMaplist, int Num);
void AddMaplist(struct CMapVersion *pMaplist, int Num);
bool IsMapValid(const char *pMapName, unsigned MapCrc, unsigned MapSize);
bool ReadAndValidateMap(class IStorage *pStorage, const char *pFilename, int StorageType);
};

View file

@ -192,7 +192,7 @@ public:
int AckSequence() const { return m_Ack; }
};
struct CNetRecvUnpacker
class CNetRecvUnpacker
{
public:
bool m_Valid;
@ -222,13 +222,13 @@ public:
};
private:
class CSlot
struct CSlot
{
public:
CNetConnection m_Connection;
};
class CBan
struct CBan
{
public:
CBanInfo m_Info;