Browse Source

Move <algorithm> header out of HeadSpin.h

Michael Hansen 10 years ago
parent
commit
094b0fe557
  1. 1
      Sources/Plasma/Apps/plFileSecure/main.cpp
  2. 1
      Sources/Plasma/CoreLib/HeadSpin.h
  3. 1
      Sources/Plasma/CoreLib/hsBounds.h
  4. 1
      Sources/Plasma/CoreLib/hsStream.cpp
  5. 2
      Sources/Plasma/NucleusLib/inc/plProfileManager.cpp
  6. 2
      Sources/Plasma/NucleusLib/pnEncryption/plChallengeHash.cpp
  7. 1
      Sources/Plasma/PubUtilLib/plAvatar/plAvBehaviors.cpp
  8. 1
      Sources/Plasma/PubUtilLib/plAvatar/plPhysicalControllerCore.cpp
  9. 1
      Sources/Plasma/PubUtilLib/plFile/plEncryptedStream.cpp
  10. 1
      Sources/Plasma/PubUtilLib/plGImage/plMipmap.cpp
  11. 1
      Sources/Plasma/PubUtilLib/plInterp/plAnimPath.cpp
  12. 2
      Sources/Plasma/PubUtilLib/plInterp/plController.cpp
  13. 1
      Sources/Plasma/PubUtilLib/plMath/plAvg.cpp
  14. 2
      Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.cpp
  15. 2
      Sources/Plasma/PubUtilLib/plPhysX/plSimulationMgr.cpp
  16. 2
      Sources/Plasma/PubUtilLib/plPipeline/plStatusLogDrawer.cpp
  17. 2
      Sources/Tools/MaxMain/plPhysXCooking.cpp

1
Sources/Plasma/Apps/plFileSecure/main.cpp

@ -45,6 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include <ctime>
#include <string>
#include <algorithm>
void print_version() {
puts(plProduct::ProductString().c_str());

1
Sources/Plasma/CoreLib/HeadSpin.h

@ -59,7 +59,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include <cctype>
#include <cstdarg>
#include <cstdint>
#include <algorithm>
//======================================
// Winblows Hacks

1
Sources/Plasma/CoreLib/hsBounds.h

@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsGeometry3.h"
#include "hsPoint2.h"
#include "hsMatrix44.h"
#include <algorithm>
///////////////////////////////////////////////////////////////////////////////
// BOUNDS

1
Sources/Plasma/CoreLib/hsStream.cpp

@ -44,6 +44,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#if HS_BUILD_FOR_WIN32
# include <io.h>
#endif
#include <algorithm>
#pragma hdrstop
#include "hsStream.h"

2
Sources/Plasma/NucleusLib/inc/plProfileManager.cpp

@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plProfileManager.h"
#include "plProfile.h"
#include "hsTimer.h"
#include <algorithm>
plProfileManager::plProfileManager() : fLastAvgTime(0), fProcessorSpeed(0)
{

2
Sources/Plasma/NucleusLib/pnEncryption/plChallengeHash.cpp

@ -42,6 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plChallengeHash.h"
#include <algorithm>
ShaDigest fSeed;
void CryptCreateRandomSeed(size_t length, uint8_t* data)

1
Sources/Plasma/PubUtilLib/plAvatar/plAvBehaviors.cpp

@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
#include <cmath>
#include <algorithm>
#include "plAvBehaviors.h"
#include "plAvBrainHuman.h"

1
Sources/Plasma/PubUtilLib/plAvatar/plPhysicalControllerCore.cpp

@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
#include <cmath>
#include <algorithm>
#include "plPhysicalControllerCore.h"

1
Sources/Plasma/PubUtilLib/plFile/plEncryptedStream.cpp

@ -45,6 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include <ctime>
#include <wchar.h>
#include <algorithm>
static const uint32_t kDefaultKey[4] = { 0x6c0a5452, 0x3827d0f, 0x3a170b92, 0x16db7fc2 };
static const int kEncryptChunkSize = 8;

1
Sources/Plasma/PubUtilLib/plGImage/plMipmap.cpp

@ -61,6 +61,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plProfile.h"
#include "plJPEG.h"
#include <cmath>
#include <algorithm>
plProfile_CreateMemCounter("Mipmaps", "Memory", MemMipmaps);

1
Sources/Plasma/PubUtilLib/plInterp/plAnimPath.cpp

@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsFastMath.h"
#include "hsResMgr.h"
#include <cmath>
#include <algorithm>
const float kSmallDelTime = 1.e-2f;
const float kInvSmallDelTime = 1.f / kSmallDelTime;

2
Sources/Plasma/PubUtilLib/plInterp/plController.cpp

@ -46,6 +46,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plTransform/hsEuler.h"
#include "plAnimTimeConvert.h"
#include <algorithm>
/////////////////////////////////////////////
// Controller interp caching
/////////////////////////////////////////////

1
Sources/Plasma/PubUtilLib/plMath/plAvg.cpp

@ -43,6 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "HeadSpin.h"
#include "plAvg.h"
#include <cmath>
#include <algorithm>
template class TimeBasedAvgRing<float>;
template class TimeBasedAvgRing<double>;

2
Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.cpp

@ -53,6 +53,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plParticleSystem.h"
#include "plMessage/plParticleUpdateMsg.h"
#include <algorithm>
///////////////////////////////////////////////////////////////////////////////////////////
plParticleCollisionEffect::plParticleCollisionEffect()
{

2
Sources/Plasma/PubUtilLib/plPhysX/plSimulationMgr.cpp

@ -43,6 +43,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include <NxPhysics.h>
#include <algorithm>
#include "plgDispatch.h"
#include "hsTimer.h"
#include "plProfile.h"

2
Sources/Plasma/PubUtilLib/plPipeline/plStatusLogDrawer.cpp

@ -51,6 +51,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plDebugText.h"
#include "plStatusLog/plStatusLog.h"
#include <algorithm>
//// Draw ////////////////////////////////////////////////////////////////////
void plStatusLogDrawer::IDrawLogNames(plStatusLog* curLog, plStatusLog* firstLog)

2
Sources/Tools/MaxMain/plPhysXCooking.cpp

@ -54,6 +54,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include <NxUtilLib.h>
#include <NxMat33.h>
#include <algorithm>
#include "plMaxMeshExtractor.h"
#include "plPhysXCooking.h"

Loading…
Cancel
Save