mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
This commit is contained in:
@ -48,10 +48,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//#define NEW_CAMERA_CODE
|
//#define NEW_CAMERA_CODE
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <list>
|
||||||
|
|
||||||
#include "hsBitVector.h"
|
#include "hsBitVector.h"
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
|
||||||
#include "pnKeyedObject/hsKeyedObject.h"
|
#include "pnKeyedObject/hsKeyedObject.h"
|
||||||
#include "pnKeyedObject/plUoid.h"
|
#include "pnKeyedObject/plUoid.h"
|
||||||
#include "plScene/plRenderRequest.h"
|
#include "plScene/plRenderRequest.h"
|
||||||
|
@ -282,6 +282,7 @@ bool formatv(std::wstring & out, const wchar_t * fmt, va_list args)
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
typedef std::vector<std::string> StringVector;
|
typedef std::vector<std::string> StringVector;
|
||||||
typedef std::vector<std::wstring> WStringVector;
|
typedef std::vector<std::wstring> WStringVector;
|
||||||
typedef std::list<std::string> StringList;
|
typedef std::list<std::string> StringList;
|
||||||
@ -295,6 +296,7 @@ template bool GetStringGroup<StringVector>(const std::string& s, StringVector& g
|
|||||||
template bool GetStringGroup<WStringVector>(const std::wstring& s, WStringVector& group, wchar_t sep);
|
template bool GetStringGroup<WStringVector>(const std::wstring& s, WStringVector& group, wchar_t sep);
|
||||||
template bool GetStringGroup<StringSet>(const std::string& s, StringSet& group, char sep);
|
template bool GetStringGroup<StringSet>(const std::string& s, StringSet& group, char sep);
|
||||||
template bool GetStringGroup<WStringSet>(const std::wstring& s, WStringSet& group, wchar_t sep);
|
template bool GetStringGroup<WStringSet>(const std::wstring& s, WStringSet& group, wchar_t sep);
|
||||||
|
*/
|
||||||
|
|
||||||
template <typename T> bool GetStringGroup(const std::string& s, T& group, char sep)
|
template <typename T> bool GetStringGroup(const std::string& s, T& group, char sep)
|
||||||
{
|
{
|
||||||
@ -337,13 +339,14 @@ template <typename T> bool GetStringGroup(const std::wstring& s, T& group, wchar
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
template bool GetStringGroupAsString<StringList>(const StringList& group, std::string& s, char sep);
|
template bool GetStringGroupAsString<StringList>(const StringList& group, std::string& s, char sep);
|
||||||
template bool GetStringGroupAsString<WStringList>(const WStringList& group, std::wstring& s, wchar_t sep);
|
template bool GetStringGroupAsString<WStringList>(const WStringList& group, std::wstring& s, wchar_t sep);
|
||||||
template bool GetStringGroupAsString<StringVector>(const StringVector& group, std::string& s, char sep);
|
template bool GetStringGroupAsString<StringVector>(const StringVector& group, std::string& s, char sep);
|
||||||
template bool GetStringGroupAsString<WStringVector>(const WStringVector& group, std::wstring& s, wchar_t sep);
|
template bool GetStringGroupAsString<WStringVector>(const WStringVector& group, std::wstring& s, wchar_t sep);
|
||||||
template bool GetStringGroupAsString<StringSet>(const StringSet& group, std::string& s, char sep);
|
template bool GetStringGroupAsString<StringSet>(const StringSet& group, std::string& s, char sep);
|
||||||
template bool GetStringGroupAsString<WStringSet>(const WStringSet& group, std::wstring& s, wchar_t sep);
|
template bool GetStringGroupAsString<WStringSet>(const WStringSet& group, std::wstring& s, wchar_t sep);
|
||||||
|
*/
|
||||||
|
|
||||||
template <typename T> bool GetStringGroupAsString(const T& group, std::string& s, char sep)
|
template <typename T> bool GetStringGroupAsString(const T& group, std::string& s, char sep)
|
||||||
{
|
{
|
||||||
|
@ -44,13 +44,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include <functional>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
|
||||||
#include <map>
|
|
||||||
#include <list>
|
|
||||||
#include <set>
|
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -367,7 +367,7 @@ plStringBuffer<wchar_t> plString::ToWchar() const
|
|||||||
return *reinterpret_cast<plStringBuffer<wchar_t>*>(&utf16);
|
return *reinterpret_cast<plStringBuffer<wchar_t>*>(&utf16);
|
||||||
#else
|
#else
|
||||||
plUnicodeBuffer utf32 = GetUnicodeArray();
|
plUnicodeBuffer utf32 = GetUnicodeArray();
|
||||||
return *reinterpret_cast<plStringBuffer<wchar_t>*)(&utf32);
|
return *reinterpret_cast<plStringBuffer<wchar_t>*>(&utf32);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ public:
|
|||||||
plString &operator=(const char *cstr) { IConvertFromUtf8(cstr, kSizeAuto); return *this; }
|
plString &operator=(const char *cstr) { IConvertFromUtf8(cstr, kSizeAuto); return *this; }
|
||||||
plString &operator=(const plString ©) { fUtf8Buffer = copy.fUtf8Buffer; return *this; }
|
plString &operator=(const plString ©) { fUtf8Buffer = copy.fUtf8Buffer; return *this; }
|
||||||
plString &operator=(const plStringBuffer<char> &init);
|
plString &operator=(const plStringBuffer<char> &init);
|
||||||
plString &operator=(const plUnicodeBuffer &init) { IConvertFromUtf32(init.GetData(), init.GetSize()); }
|
plString &operator=(const plUnicodeBuffer &init) { IConvertFromUtf32(init.GetData(), init.GetSize()); return *this; }
|
||||||
|
|
||||||
plString &operator+=(const char *cstr) { return operator=(*this + cstr); }
|
plString &operator+=(const char *cstr) { return operator=(*this + cstr); }
|
||||||
plString &operator+=(const plString &str) { return operator=(*this + str); }
|
plString &operator+=(const plString &str) { return operator=(*this + str); }
|
||||||
|
@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "plCameraBrain.h"
|
#include "plCameraBrain.h"
|
||||||
#include "hsTimer.h"
|
#include "hsTimer.h"
|
||||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "plVirtualCamNeu.h"
|
#include "plVirtualCamNeu.h"
|
||||||
#include "plCameraModifier.h"
|
#include "plCameraModifier.h"
|
||||||
#include "plCameraBrain.h"
|
#include "plCameraBrain.h"
|
||||||
|
@ -56,7 +56,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define _pfConsoleDirSrc_h
|
#define _pfConsoleDirSrc_h
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
|
|
||||||
#include "pfConsoleCore/pfConsoleEngine.h"
|
#include "pfConsoleCore/pfConsoleEngine.h"
|
||||||
|
|
||||||
//// pfConsoleDirSrc Class Definition ////////////////////////////////////////
|
//// pfConsoleDirSrc Class Definition ////////////////////////////////////////
|
||||||
|
@ -165,7 +165,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
|
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "hsColorRGBA.h"
|
#include "hsColorRGBA.h"
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define _pfLocalizationDataMgr_h
|
#define _pfLocalizationDataMgr_h
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
|
|
||||||
#include "pfLocalizedString.h"
|
#include "pfLocalizedString.h"
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
|
||||||
|
|
||||||
#include "pfLocalizedString.h"
|
#include "pfLocalizedString.h"
|
||||||
|
|
||||||
// MinGW sucks
|
// MinGW sucks
|
||||||
|
@ -51,7 +51,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define _pfLocalizedString_h
|
#define _pfLocalizedString_h
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
|
||||||
//// pfLocalizedString Class Definition //////////////////////////////
|
//// pfLocalizedString Class Definition //////////////////////////////
|
||||||
|
@ -50,6 +50,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
typedef struct _object PyObject;
|
typedef struct _object PyObject;
|
||||||
typedef struct PyMethodDef PyMethodDef;
|
typedef struct PyMethodDef PyMethodDef;
|
||||||
|
@ -46,7 +46,7 @@ class plPythonFileMod;
|
|||||||
class plStateDataRecord;
|
class plStateDataRecord;
|
||||||
class plSimpleStateVariable;
|
class plSimpleStateVariable;
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
#include "plModifier/plSDLModifier.h"
|
#include "plModifier/plSDLModifier.h"
|
||||||
|
|
||||||
#include "pyGlueHelpers.h"
|
#include "pyGlueHelpers.h"
|
||||||
|
@ -49,7 +49,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
|
|
||||||
#include "pyGlueHelpers.h"
|
#include "pyGlueHelpers.h"
|
||||||
|
|
||||||
class plStateDataRecord;
|
class plStateDataRecord;
|
||||||
|
@ -43,7 +43,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define plProfileManager_h_inc
|
#define plProfileManager_h_inc
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
|
|
||||||
#include "plProfile.h"
|
#include "plProfile.h"
|
||||||
|
|
||||||
class plProfileManager
|
class plProfileManager
|
||||||
|
@ -42,8 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#ifndef plDispatch_inc
|
#ifndef plDispatch_inc
|
||||||
#define plDispatch_inc
|
#define plDispatch_inc
|
||||||
|
#include <list>
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
#include "plgDispatch.h"
|
#include "plgDispatch.h"
|
||||||
#include "hsThread.h"
|
#include "hsThread.h"
|
||||||
#include "pnKeyedObject/hsKeyedObject.h"
|
#include "pnKeyedObject/hsKeyedObject.h"
|
||||||
|
@ -42,9 +42,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plMsgForwarder_h_inc
|
#ifndef plMsgForwarder_h_inc
|
||||||
#define plMsgForwarder_h_inc
|
#define plMsgForwarder_h_inc
|
||||||
|
|
||||||
|
#include <map>
|
||||||
#include "hsKeyedObject.h"
|
#include "hsKeyedObject.h"
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
|
|
||||||
|
|
||||||
class plMessageWithCallbacks;
|
class plMessageWithCallbacks;
|
||||||
|
@ -39,6 +39,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
Mead, WA 99021
|
Mead, WA 99021
|
||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
#include <string>
|
||||||
#include "pnNetCommon.h"
|
#include "pnNetCommon.h"
|
||||||
#include "hsWindows.h"
|
#include "hsWindows.h"
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef _plDSoundBuffer_h
|
#ifndef _plDSoundBuffer_h
|
||||||
#define _plDSoundBuffer_h
|
#define _plDSoundBuffer_h
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <list>
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "plEAXEffects.h"
|
#include "plEAXEffects.h"
|
||||||
#define STREAMING_BUFFERS 16
|
#define STREAMING_BUFFERS 16
|
||||||
|
@ -48,7 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
#include "hsWindows.h" // FIXME
|
#include "hsWindows.h" // FIXME
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#include "plAudioFileReader.h"
|
#include "plAudioFileReader.h"
|
||||||
|
@ -50,8 +50,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
*/
|
*/
|
||||||
#pragma warning(disable: 4786) // don't care if mangled names are longer than 255 characters
|
#pragma warning(disable: 4786) // don't care if mangled names are longer than 255 characters
|
||||||
|
|
||||||
|
#include <map>
|
||||||
#include "pnNetCommon/plSynchedObject.h"
|
#include "pnNetCommon/plSynchedObject.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
#include "hsStlSortUtils.h"
|
#include "hsStlSortUtils.h"
|
||||||
|
|
||||||
class plTMController;
|
class plTMController;
|
||||||
|
@ -53,8 +53,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
// disable warning C4786: symbol greater than 255 characters,
|
// disable warning C4786: symbol greater than 255 characters,
|
||||||
#pragma warning(disable: 4503 4786)
|
#pragma warning(disable: 4503 4786)
|
||||||
|
|
||||||
// templates
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
|
|
||||||
#include "hsStlSortUtils.h"
|
#include "hsStlSortUtils.h"
|
||||||
|
|
||||||
// local
|
// local
|
||||||
|
@ -59,6 +59,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "hsTimer.h"
|
#include "hsTimer.h"
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
// other
|
// other
|
||||||
#include "pnSceneObject/plSceneObject.h"
|
#include "pnSceneObject/plSceneObject.h"
|
||||||
|
@ -47,8 +47,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef PL_ANIM_STAGE_INC
|
#ifndef PL_ANIM_STAGE_INC
|
||||||
#define PL_ANIM_STAGE_INC
|
#define PL_ANIM_STAGE_INC
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
#include "hsMatrix44.h"
|
#include "hsMatrix44.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
#include "pnFactory/plCreatable.h"
|
#include "pnFactory/plCreatable.h"
|
||||||
|
|
||||||
class plMessage;
|
class plMessage;
|
||||||
|
@ -39,6 +39,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
Mead, WA 99021
|
Mead, WA 99021
|
||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "plAvBehaviors.h"
|
#include "plAvBehaviors.h"
|
||||||
#include "plAvBrainHuman.h"
|
#include "plAvBrainHuman.h"
|
||||||
#include "plArmatureMod.h"
|
#include "plArmatureMod.h"
|
||||||
|
@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef PL_AV_BRAIN_CRITTER_H
|
#ifndef PL_AV_BRAIN_CRITTER_H
|
||||||
#define PL_AV_BRAIN_CRITTER_H
|
#define PL_AV_BRAIN_CRITTER_H
|
||||||
|
|
||||||
|
#include <map>
|
||||||
#include "plAvBrain.h"
|
#include "plAvBrain.h"
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "pnKeyedObject/plKey.h"
|
#include "pnKeyedObject/plKey.h"
|
||||||
|
@ -41,6 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "plPhysicalControllerCore.h"
|
#include "plPhysicalControllerCore.h"
|
||||||
#include "plAvBrainHuman.h"
|
#include "plAvBrainHuman.h"
|
||||||
|
@ -46,6 +46,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//
|
//
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
// singular
|
// singular
|
||||||
#include "plAvBrainSwim.h"
|
#include "plAvBrainSwim.h"
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "plPhysicalControllerCore.h"
|
#include "plPhysicalControllerCore.h"
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
// singular
|
// singular
|
||||||
#include "plAvLadderModifier.h"
|
#include "plAvLadderModifier.h"
|
||||||
|
@ -46,6 +46,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//
|
//
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
// singular
|
// singular
|
||||||
#include "plAvTaskSeek.h"
|
#include "plAvTaskSeek.h"
|
||||||
|
|
||||||
|
@ -45,7 +45,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef PLAVATARMGR_INC
|
#ifndef PLAVATARMGR_INC
|
||||||
#define PLAVATARMGR_INC
|
#define PLAVATARMGR_INC
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <map>
|
||||||
|
|
||||||
#include "hsStlSortUtils.h"
|
#include "hsStlSortUtils.h"
|
||||||
#include "hsGeometry3.h"
|
#include "hsGeometry3.h"
|
||||||
|
|
||||||
|
@ -50,6 +50,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
//#include <hkmath/quaternion.h>
|
//#include <hkmath/quaternion.h>
|
||||||
//#include <hkmath/quaternion.h>
|
//#include <hkmath/quaternion.h>
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
// singular
|
// singular
|
||||||
#include "plMatrixChannel.h"
|
#include "plMatrixChannel.h"
|
||||||
|
|
||||||
@ -1015,4 +1017,4 @@ void plIK2Applicator::IApply(const plAGModifier *mod, double time)
|
|||||||
void plIK2Applicator::ISolve()
|
void plIK2Applicator::ISolve()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
Mead, WA 99021
|
Mead, WA 99021
|
||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "plPhysicalControllerCore.h"
|
#include "plPhysicalControllerCore.h"
|
||||||
|
|
||||||
#include "plArmatureMod.h"
|
#include "plArmatureMod.h"
|
||||||
|
@ -39,6 +39,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
Mead, WA 99021
|
Mead, WA 99021
|
||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "hsGeometry3.h"
|
#include "hsGeometry3.h"
|
||||||
#include "hsResMgr.h"
|
#include "hsResMgr.h"
|
||||||
|
|
||||||
|
@ -43,8 +43,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define plKeysAndValues_h_inc
|
#define plKeysAndValues_h_inc
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <map>
|
||||||
|
#include <list>
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
|
||||||
#include "hsStream.h"
|
#include "hsStream.h"
|
||||||
|
|
||||||
#pragma warning(disable:4284)
|
#pragma warning(disable:4284)
|
||||||
|
@ -43,11 +43,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plDynaDecalMgr_inc
|
#ifndef plDynaDecalMgr_inc
|
||||||
#define plDynaDecalMgr_inc
|
#define plDynaDecalMgr_inc
|
||||||
|
|
||||||
|
#include <map>
|
||||||
#include "pnNetCommon/plSynchedObject.h"
|
#include "pnNetCommon/plSynchedObject.h"
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "hsGeometry3.h"
|
#include "hsGeometry3.h"
|
||||||
#include "hsMatrix44.h"
|
#include "hsMatrix44.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
|
|
||||||
|
|
||||||
class plParticleSystem;
|
class plParticleSystem;
|
||||||
|
@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plStreamSource_h_inc
|
#ifndef plStreamSource_h_inc
|
||||||
#define plStreamSource_h_inc
|
#define plStreamSource_h_inc
|
||||||
|
|
||||||
|
#include <map>
|
||||||
#include "hsStream.h"
|
#include "hsStream.h"
|
||||||
#include "hsStlUtils.h"
|
#include "hsStlUtils.h"
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plAnimTimeConvert_inc
|
#ifndef plAnimTimeConvert_inc
|
||||||
#define plAnimTimeConvert_inc
|
#define plAnimTimeConvert_inc
|
||||||
|
|
||||||
|
#include <list>
|
||||||
#include "pnFactory/plCreatable.h"
|
#include "pnFactory/plCreatable.h"
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
#include "pnNetCommon/plSynchedValue.h"
|
#include "pnNetCommon/plSynchedValue.h"
|
||||||
|
@ -43,8 +43,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define PL_AVG_H
|
#define PL_AVG_H
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <list>
|
||||||
|
|
||||||
#include "hsThread.h"
|
#include "hsThread.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
|
|
||||||
|
|
||||||
// A Time based Value Averaging class
|
// A Time based Value Averaging class
|
||||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plResponderModifier_inc
|
#ifndef plResponderModifier_inc
|
||||||
#define plResponderModifier_inc
|
#define plResponderModifier_inc
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
#include "pnModifier/plSingleModifier.h"
|
#include "pnModifier/plSingleModifier.h"
|
||||||
#include "pnMessage/plMessage.h"
|
#include "pnMessage/plMessage.h"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plNetClientGroup_h
|
#ifndef plNetClientGroup_h
|
||||||
#define plNetClientGroup_h
|
#define plNetClientGroup_h
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <set>
|
||||||
#include "pnNetCommon/plNetGroup.h"
|
#include "pnNetCommon/plNetGroup.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -43,7 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define PL_NET_CLIENT_inc
|
#define PL_NET_CLIENT_inc
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <list>
|
||||||
|
|
||||||
#include "plNetClientGroup.h"
|
#include "plNetClientGroup.h"
|
||||||
#include "plNetVoiceList.h"
|
#include "plNetVoiceList.h"
|
||||||
|
@ -39,6 +39,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
Mead, WA 99021
|
Mead, WA 99021
|
||||||
|
|
||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "plNetClientMgr.h"
|
#include "plNetClientMgr.h"
|
||||||
#include "plNetLinkingMgr.h"
|
#include "plNetLinkingMgr.h"
|
||||||
|
|
||||||
|
@ -252,10 +252,10 @@ MSG_HANDLER_DEFN(plNetClientMsgHandler,plNetMsgSDLState)
|
|||||||
{
|
{
|
||||||
std::string err;
|
std::string err;
|
||||||
if (!sdRec)
|
if (!sdRec)
|
||||||
err = xtl::format( "SDL descriptor %s missing, v=%d", descName, ver);
|
err = xtl::format( "SDL descriptor %s missing, v=%d", descName.c_str(), ver);
|
||||||
else
|
else
|
||||||
err = xtl::format( "SDL descriptor %s, version mismatch, server v=%d, client v=%d",
|
err = xtl::format( "SDL descriptor %s, version mismatch, server v=%d, client v=%d",
|
||||||
descName, ver, sdRec->GetDescriptor()->GetVersion());
|
descName.c_str(), ver, sdRec->GetDescriptor()->GetVersion());
|
||||||
|
|
||||||
hsAssert(false, err.c_str());
|
hsAssert(false, err.c_str());
|
||||||
nc->ErrorMsg(const_cast<char*>(err.c_str()));
|
nc->ErrorMsg(const_cast<char*>(err.c_str()));
|
||||||
|
@ -43,7 +43,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define plNetCommonHelpers_h_inc
|
#define plNetCommonHelpers_h_inc
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
|
|
||||||
#include "hsTimer.h"
|
#include "hsTimer.h"
|
||||||
#include "pnNetCommon/pnNetCommon.h"
|
#include "pnNetCommon/pnNetCommon.h"
|
||||||
#include "pnNetCommon/plNetApp.h"
|
#include "pnNetCommon/plNetApp.h"
|
||||||
|
@ -43,7 +43,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#define plNetTransport_h
|
#define plNetTransport_h
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
|
|
||||||
//
|
//
|
||||||
// The transport class handles the details of sending net msgs to
|
// The transport class handles the details of sending net msgs to
|
||||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plSimulationMgr_H
|
#ifndef plSimulationMgr_H
|
||||||
#define plSimulationMgr_H
|
#define plSimulationMgr_H
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <map>
|
||||||
#include "pnKeyedObject/hsKeyedObject.h"
|
#include "pnKeyedObject/hsKeyedObject.h"
|
||||||
#include "hsTemplates.h"
|
#include "hsTemplates.h"
|
||||||
|
|
||||||
|
@ -41,6 +41,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
*==LICENSE==*/
|
*==LICENSE==*/
|
||||||
|
|
||||||
#include "HeadSpin.h"
|
#include "HeadSpin.h"
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include "plCollisionDetector.h"
|
#include "plCollisionDetector.h"
|
||||||
#include "plMessage/plCollideMsg.h"
|
#include "plMessage/plCollideMsg.h"
|
||||||
#include "plgDispatch.h"
|
#include "plgDispatch.h"
|
||||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plPhysicsSoundMgr_h_inc
|
#ifndef plPhysicsSoundMgr_h_inc
|
||||||
#define plPhysicsSoundMgr_h_inc
|
#define plPhysicsSoundMgr_h_inc
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <set>
|
||||||
#include "plPhysical.h"
|
#include "plPhysical.h"
|
||||||
#include "hsGeometry3.h"
|
#include "hsGeometry3.h"
|
||||||
|
|
||||||
|
@ -42,7 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plLocalization_h_inc
|
#ifndef plLocalization_h_inc
|
||||||
#define plLocalization_h_inc
|
#define plLocalization_h_inc
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class plLocalization
|
class plLocalization
|
||||||
{
|
{
|
||||||
|
@ -46,9 +46,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
// Code for the State Description Language (SDL)
|
// Code for the State Description Language (SDL)
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "plSDLDescriptor.h"
|
#include <list>
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include "plSDLDescriptor.h"
|
||||||
|
|
||||||
#include "pnFactory/plCreatable.h"
|
#include "pnFactory/plCreatable.h"
|
||||||
#include "pnKeyedObject/plKey.h"
|
#include "pnKeyedObject/plKey.h"
|
||||||
|
@ -42,9 +42,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plProfileManagerFull_h_inc
|
#ifndef plProfileManagerFull_h_inc
|
||||||
#define plProfileManagerFull_h_inc
|
#define plProfileManagerFull_h_inc
|
||||||
|
|
||||||
#include "plProfileManager.h"
|
#include <set>
|
||||||
|
|
||||||
#include "hsStlUtils.h"
|
#include "plProfileManager.h"
|
||||||
|
|
||||||
#include "hsStlSortUtils.h"
|
#include "hsStlSortUtils.h"
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef PL_STREAM_LOGGER
|
#ifndef PL_STREAM_LOGGER
|
||||||
#define PL_STREAM_LOGGER
|
#define PL_STREAM_LOGGER
|
||||||
|
|
||||||
|
#include <list>
|
||||||
#include "hsStream.h"
|
#include "hsStream.h"
|
||||||
#include "hsStlUtils.h"
|
|
||||||
#include "pnNetCommon/plGenericVar.h"
|
#include "pnNetCommon/plGenericVar.h"
|
||||||
|
|
||||||
class plStreamLogger
|
class plStreamLogger
|
||||||
|
@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plMtlCollector_h_inc
|
#ifndef plMtlCollector_h_inc
|
||||||
#define plMtlCollector_h_inc
|
#define plMtlCollector_h_inc
|
||||||
|
|
||||||
|
#include <set>
|
||||||
#include "hsStlSortUtils.h"
|
#include "hsStlSortUtils.h"
|
||||||
|
|
||||||
class PBBitmap;
|
class PBBitmap;
|
||||||
|
Reference in New Issue
Block a user