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 <string>
|
||||
#include <algorithm>
|
||||
|
||||
void print_version() {
|
||||
puts(plProduct::ProductString().c_str());
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
|
||||
#include "plPhysicalControllerCore.h"
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
/////////////////////////////////////////////
|
||||
|
@ -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>;
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user