mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Move <algorithm> header out of HeadSpin.h
This commit is contained in:
@ -45,6 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
void print_version() {
|
void print_version() {
|
||||||
puts(plProduct::ProductString().c_str());
|
puts(plProduct::ProductString().c_str());
|
||||||
|
@ -59,7 +59,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
//======================================
|
//======================================
|
||||||
// Winblows Hacks
|
// Winblows Hacks
|
||||||
|
@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "hsGeometry3.h"
|
#include "hsGeometry3.h"
|
||||||
#include "hsPoint2.h"
|
#include "hsPoint2.h"
|
||||||
#include "hsMatrix44.h"
|
#include "hsMatrix44.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// BOUNDS
|
// BOUNDS
|
||||||
|
@ -44,6 +44,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#if HS_BUILD_FOR_WIN32
|
#if HS_BUILD_FOR_WIN32
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <algorithm>
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
|
||||||
#include "hsStream.h"
|
#include "hsStream.h"
|
||||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "plProfileManager.h"
|
#include "plProfileManager.h"
|
||||||
#include "plProfile.h"
|
#include "plProfile.h"
|
||||||
#include "hsTimer.h"
|
#include "hsTimer.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
plProfileManager::plProfileManager() : fLastAvgTime(0), fProcessorSpeed(0)
|
plProfileManager::plProfileManager() : fLastAvgTime(0), fProcessorSpeed(0)
|
||||||
{
|
{
|
||||||
|
@ -42,6 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#include "plChallengeHash.h"
|
#include "plChallengeHash.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
ShaDigest fSeed;
|
ShaDigest fSeed;
|
||||||
|
|
||||||
void CryptCreateRandomSeed(size_t length, uint8_t* data)
|
void CryptCreateRandomSeed(size_t length, uint8_t* data)
|
||||||
|
@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "plAvBehaviors.h"
|
#include "plAvBehaviors.h"
|
||||||
#include "plAvBrainHuman.h"
|
#include "plAvBrainHuman.h"
|
||||||
|
@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "plPhysicalControllerCore.h"
|
#include "plPhysicalControllerCore.h"
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
static const uint32_t kDefaultKey[4] = { 0x6c0a5452, 0x3827d0f, 0x3a170b92, 0x16db7fc2 };
|
static const uint32_t kDefaultKey[4] = { 0x6c0a5452, 0x3827d0f, 0x3a170b92, 0x16db7fc2 };
|
||||||
static const int kEncryptChunkSize = 8;
|
static const int kEncryptChunkSize = 8;
|
||||||
|
@ -61,6 +61,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "plProfile.h"
|
#include "plProfile.h"
|
||||||
#include "plJPEG.h"
|
#include "plJPEG.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
plProfile_CreateMemCounter("Mipmaps", "Memory", MemMipmaps);
|
plProfile_CreateMemCounter("Mipmaps", "Memory", MemMipmaps);
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "hsFastMath.h"
|
#include "hsFastMath.h"
|
||||||
#include "hsResMgr.h"
|
#include "hsResMgr.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
const float kSmallDelTime = 1.e-2f;
|
const float kSmallDelTime = 1.e-2f;
|
||||||
const float kInvSmallDelTime = 1.f / kSmallDelTime;
|
const float kInvSmallDelTime = 1.f / kSmallDelTime;
|
||||||
|
@ -46,6 +46,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "plTransform/hsEuler.h"
|
#include "plTransform/hsEuler.h"
|
||||||
#include "plAnimTimeConvert.h"
|
#include "plAnimTimeConvert.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
/////////////////////////////////////////////
|
/////////////////////////////////////////////
|
||||||
// Controller interp caching
|
// Controller interp caching
|
||||||
/////////////////////////////////////////////
|
/////////////////////////////////////////////
|
||||||
|
@ -43,6 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "plAvg.h"
|
#include "plAvg.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
template class TimeBasedAvgRing<float>;
|
template class TimeBasedAvgRing<float>;
|
||||||
template class TimeBasedAvgRing<double>;
|
template class TimeBasedAvgRing<double>;
|
||||||
|
@ -53,6 +53,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "plParticleSystem.h"
|
#include "plParticleSystem.h"
|
||||||
#include "plMessage/plParticleUpdateMsg.h"
|
#include "plMessage/plParticleUpdateMsg.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////
|
||||||
plParticleCollisionEffect::plParticleCollisionEffect()
|
plParticleCollisionEffect::plParticleCollisionEffect()
|
||||||
{
|
{
|
||||||
|
@ -43,6 +43,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#include <NxPhysics.h>
|
#include <NxPhysics.h>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "plgDispatch.h"
|
#include "plgDispatch.h"
|
||||||
#include "hsTimer.h"
|
#include "hsTimer.h"
|
||||||
#include "plProfile.h"
|
#include "plProfile.h"
|
||||||
|
@ -51,6 +51,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "plDebugText.h"
|
#include "plDebugText.h"
|
||||||
#include "plStatusLog/plStatusLog.h"
|
#include "plStatusLog/plStatusLog.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
//// Draw ////////////////////////////////////////////////////////////////////
|
//// Draw ////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
void plStatusLogDrawer::IDrawLogNames(plStatusLog* curLog, plStatusLog* firstLog)
|
void plStatusLogDrawer::IDrawLogNames(plStatusLog* curLog, plStatusLog* firstLog)
|
||||||
|
@ -54,6 +54,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include <NxUtilLib.h>
|
#include <NxUtilLib.h>
|
||||||
#include <NxMat33.h>
|
#include <NxMat33.h>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "plMaxMeshExtractor.h"
|
#include "plMaxMeshExtractor.h"
|
||||||
|
|
||||||
#include "plPhysXCooking.h"
|
#include "plPhysXCooking.h"
|
||||||
|
Reference in New Issue
Block a user