-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1513 from dgelessus/reduce_pnutils
Move most pnUtils code into more appropriate places
- Loading branch information
Showing
35 changed files
with
33 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,6 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include <thread> | ||
|
||
#include "pnUtils/pnUtils.h" | ||
#include "plProduct.h" | ||
#include "pnNetBase/pnNetBase.h" | ||
#include "Private/pnAcAllIncludes.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,6 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
#include <thread> | ||
|
||
#include "pnNetBase/pnNbError.h" | ||
#include "pnUtils/pnUtils.h" | ||
|
||
|
||
/**************************************************************************** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,10 +68,10 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include "Private/pnAceInt.h" | ||
#include "hsThread.h" | ||
#include "hsTimer.h" | ||
#include "plProduct.h" | ||
#include "pnAsyncCore/pnAsyncCore.h" | ||
#include "pnNetBase/pnNetBase.h" | ||
#include "pnUtils/pnUtils.h" | ||
|
||
#ifdef USE_VLD | ||
#include <vld.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,17 +39,8 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
Mead, WA 99021 | ||
*==LICENSE==*/ | ||
/***************************************************************************** | ||
* | ||
* $/Plasma20/Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCrypt.cpp | ||
* | ||
***/ | ||
|
||
#include "Pch.h" | ||
|
||
#include "pnUtCrypt.h" | ||
#include "pnUtStr.h" | ||
#include "pnUtTime.h" | ||
#include "plEncryption.h" | ||
|
||
#include <openssl/rc4.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,16 +39,11 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
Mead, WA 99021 | ||
*==LICENSE==*/ | ||
/***************************************************************************** | ||
* | ||
* $/Plasma20/Sources/Plasma/NucleusLib/pnUtils/Private/pnUtCrypt.h | ||
* | ||
***/ | ||
|
||
#ifndef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNUTILS_PRIVATE_PNUTCRYPT_H | ||
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNUTILS_PRIVATE_PNUTCRYPT_H | ||
#ifndef PL_ENCRYPTION_H | ||
#define PL_ENCRYPTION_H | ||
|
||
#include "pnEncryption/plChecksum.h" | ||
#include "plChecksum.h" | ||
|
||
/***************************************************************************** | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ target_link_libraries( | |
PRIVATE | ||
pnAsyncCore | ||
pnNetBase | ||
pnUtils | ||
pnUUID | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,6 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNNETCLI_PCH_H | ||
|
||
|
||
#include "pnUtils/pnUtils.h" | ||
#include "pnNetBase/pnNetBase.h" | ||
#include "pnAsyncCore/pnAsyncCore.h" | ||
#include "pnEncryption/plBigNum.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#include "hsWindows.h" | ||
#include "pnEncryption/plChallengeHash.h" | ||
#include "pnEncryption/plEncryption.h" | ||
#include "pnUUID/pnUUID.h" | ||
#include "hsLockGuard.h" | ||
#include <mutex> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ target_link_libraries( | |
pnNetProtocol | ||
PUBLIC | ||
CoreLib | ||
pnEncryption | ||
pnNetBase | ||
pnUUID | ||
PRIVATE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,6 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNNETPROTOCOL_PCH_H | ||
|
||
#include "HeadSpin.h" | ||
#include "pnUtils/pnUtils.h" | ||
#include "pnNetBase/pnNetBase.h" | ||
#include "pnAsyncCore/pnAsyncCore.h" | ||
#include "pnNetCli/pnNetCli.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,8 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
***/ | ||
|
||
#include "../Pch.h" | ||
|
||
#include "pnUtils/pnUtStr.h" | ||
#include "pnUUID/pnUUID.h" | ||
|
||
#include <string> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,8 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
|
||
#ifdef USES_NETCLI | ||
|
||
#include "pnEncryption/plChecksum.h" | ||
|
||
const NetMsgField kNetMsgFieldAccountName = NET_MSG_FIELD_STRING(kMaxAccountNameLength); | ||
const NetMsgField kNetMsgFieldPlayerName = NET_MSG_FIELD_STRING(kMaxPlayerNameLength); | ||
const NetMsgField kNetMsgFieldShaDigest = NET_MSG_FIELD_RAW_DATA(sizeof(ShaDigest)); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.