Browse Source

Some fixes for pnNetBase.

Darryl Pogue 14 years ago
parent
commit
3000e99796
  1. 2
      Sources/Plasma/NucleusLib/pnNetBase/Private/pnNbAllIncludes.h
  2. 4
      Sources/Plasma/NucleusLib/pnNetBase/Private/pnNbError.h
  3. 2
      Sources/Plasma/NucleusLib/pnNetBase/pnNbConst.h

2
Sources/Plasma/NucleusLib/pnNetBase/Private/pnNbAllIncludes.h

@ -35,7 +35,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnProduct/pnProduct.h"
#include "pnNbConst.h"
#include "../pnNbConst.h"
#include "pnNbError.h"
#include "pnNbKeys.h"
#include "pnNbProtocol.h"

4
Sources/Plasma/NucleusLib/pnNetBase/Private/pnNbError.h

@ -103,10 +103,10 @@ enum ENetError {
kNumNetErrors,
// Net messages require ENetError to be sizeof(dword)
kNetErrorForceDword = (dword) -1
kNetErrorForceDword = (dword)(-1)
};
COMPILER_ASSERT_HEADER(pnNbError, sizeof(ENetError) == sizeof(dword));
//COMPILER_ASSERT_HEADER(pnNbError, sizeof(ENetError) == sizeof(dword));
#define IS_NET_ERROR(a) (((int)(a)) > kNetSuccess)
#define IS_NET_SUCCESS(a) (((int)(a)) == kNetSuccess)

2
Sources/Plasma/NucleusLib/pnNetBase/pnNbConst.h

@ -90,7 +90,7 @@ const unsigned kBillingTypeGameTap = 1 << 1;
struct AccountRoleInfo {
unsigned Role;
char* Descriptor;
const char* Descriptor;
};
// Account role flags

Loading…
Cancel
Save