diff --git a/Sources/Plasma/PubUtilLib/plAvatar/plAGAnim.cpp b/Sources/Plasma/PubUtilLib/plAvatar/plAGAnim.cpp index 02ae07e9..a8ed6cb5 100644 --- a/Sources/Plasma/PubUtilLib/plAvatar/plAGAnim.cpp +++ b/Sources/Plasma/PubUtilLib/plAvatar/plAGAnim.cpp @@ -55,6 +55,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsResMgr.h" // other +#include "plInterp/plAnimEaseTypes.h" #include "plMessage/plAnimCmdMsg.h" ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/Sources/Plasma/PubUtilLib/plAvatar/plAGMasterMod.cpp b/Sources/Plasma/PubUtilLib/plAvatar/plAGMasterMod.cpp index 7c8159f5..506a054b 100644 --- a/Sources/Plasma/PubUtilLib/plAvatar/plAGMasterMod.cpp +++ b/Sources/Plasma/PubUtilLib/plAvatar/plAGMasterMod.cpp @@ -55,6 +55,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plgDispatch.h" // other +#include "plInterp/plAnimEaseTypes.h" #include "plMessage/plAnimCmdMsg.h" #include "pnMessage/plSDLModifierMsg.h" #include "pnMessage/plSDLNotificationMsg.h" diff --git a/Sources/Plasma/PubUtilLib/plMessage/CMakeLists.txt b/Sources/Plasma/PubUtilLib/plMessage/CMakeLists.txt index 848f0fbc..ee506969 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/CMakeLists.txt +++ b/Sources/Plasma/PubUtilLib/plMessage/CMakeLists.txt @@ -67,7 +67,6 @@ set(plMessage_HEADERS plDynaDecalEnableMsg.h plDynamicEnvMapMsg.h plDynamicTextMsg.h - plElementRefMsg.h plExcludeRegionMsg.h plInputEventMsg.h plInputIfaceMgrMsg.h @@ -117,7 +116,6 @@ set(plMessage_HEADERS plTimerCallbackMsg.h plTransitionMsg.h plTriggerMsg.h - plUniqueIdsMsg.h plVaultNotifyMsg.h ) diff --git a/Sources/Plasma/PubUtilLib/plMessage/plAIMsg.cpp b/Sources/Plasma/PubUtilLib/plMessage/plAIMsg.cpp index d131b40f..bc71ac71 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plAIMsg.cpp +++ b/Sources/Plasma/PubUtilLib/plMessage/plAIMsg.cpp @@ -44,7 +44,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plAIMsg.h" -#include "hsResMgr.h" #include "hsStream.h" #include "plAvatar/plArmatureMod.h" @@ -60,8 +59,6 @@ plAIMsg::plAIMsg(const plKey& sender, const plKey& receiver): plMessage(sender, plArmatureMod* armMod = plArmatureMod::ConvertNoRef(sender->ObjectIsLoaded()); if (armMod) fBrainUserStr = armMod->GetUserStr(); - else - fBrainUserStr = ""; } void plAIMsg::Read(hsStream* stream, hsResMgr* mgr) diff --git a/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.cpp b/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.cpp index 38cc831b..981c2ab1 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.cpp +++ b/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.cpp @@ -42,16 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plAccountUpdateMsg.h" #include "hsStream.h" -plAccountUpdateMsg::plAccountUpdateMsg() -{ - fUpdateType = 0; -} - -plAccountUpdateMsg::plAccountUpdateMsg(unsigned updateType) -{ - fUpdateType = updateType; -} - void plAccountUpdateMsg::Read(hsStream* stream, hsResMgr* mgr) { plMessage::IMsgRead(stream, mgr); @@ -67,34 +57,3 @@ void plAccountUpdateMsg::Write(hsStream* stream, hsResMgr* mgr) stream->WriteLE32(fResult); stream->WriteLE32(fPlayerInt); } - -unsigned plAccountUpdateMsg::GetUpdateType() -{ - return fUpdateType; -} - -void plAccountUpdateMsg::SetUpdateType(unsigned type) -{ - fUpdateType = type; -} - -unsigned plAccountUpdateMsg::GetResult() -{ - return fResult; -} - -void plAccountUpdateMsg::SetResult(unsigned result) -{ - fResult = result; -} - -unsigned plAccountUpdateMsg::GetPlayerInt() -{ - return fPlayerInt; -} - -void plAccountUpdateMsg::SetPlayerInt(unsigned playerInt) -{ - fPlayerInt = playerInt; -} - diff --git a/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.h index fe44001f..b1902d2d 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plAccountUpdateMsg.h @@ -61,28 +61,28 @@ public: kChangePassword, }; - plAccountUpdateMsg(); - plAccountUpdateMsg(unsigned updateType); + plAccountUpdateMsg() : fUpdateType(0), fResult(0), fPlayerInt(0) { } + plAccountUpdateMsg(uint32_t updateType) : fUpdateType(updateType), fResult(0), fPlayerInt(0) { } + + CLASSNAME_REGISTER(plAccountUpdateMsg); + GETINTERFACE_ANY(plAccountUpdateMsg, plMessage); - CLASSNAME_REGISTER( plAccountUpdateMsg ); - GETINTERFACE_ANY( plAccountUpdateMsg, plMessage ); - void Read(hsStream* stream, hsResMgr* mgr); void Write(hsStream* stream, hsResMgr* mgr); - unsigned GetUpdateType(); - void SetUpdateType(unsigned type); + uint32_t GetUpdateType() const { return fUpdateType; } + void SetUpdateType(uint32_t type) { fUpdateType = type; } - unsigned GetResult(); - void SetResult(unsigned result); + uint32_t GetResult() const { return fResult; } + void SetResult(uint32_t result) { fResult = result; } - unsigned GetPlayerInt(); - void SetPlayerInt(unsigned playerInt); + uint32_t GetPlayerInt() const { return fPlayerInt; } + void SetPlayerInt(uint32_t playerInt) { fPlayerInt = playerInt; } private: - unsigned fUpdateType; - unsigned fResult; - unsigned fPlayerInt; + uint32_t fUpdateType; + uint32_t fResult; + uint32_t fPlayerInt; }; #endif // plAccountUpdateMsg_inc diff --git a/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.cpp b/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.cpp index be79b06a..25fc21a3 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.cpp +++ b/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.cpp @@ -40,7 +40,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ -#include "HeadSpin.h" #include "plAnimCmdMsg.h" #include "hsStream.h" @@ -114,16 +113,6 @@ plAGCmdMsg::~plAGCmdMsg() ClearCmd(); } -void plAGCmdMsg::SetAnimName(const plString &name) -{ - fAnimName = name; -} - -plString plAGCmdMsg::GetAnimName() -{ - return fAnimName; -} - void plAGCmdMsg::Read(hsStream* stream, hsResMgr* mgr) { plMessage::IMsgRead(stream, mgr); @@ -150,14 +139,3 @@ void plAGCmdMsg::Write(hsStream* stream, hsResMgr* mgr) stream->WriteSafeString(fAnimName); } -///////////////////////////////////////////////////////////////////////////////////// - -void plAGDetachCallbackMsg::SetAnimName(const plString &name) -{ - fAnimName = name; -} - -plString plAGDetachCallbackMsg::GetAnimName() -{ - return fAnimName; -} diff --git a/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.h index 0cffb8c3..bc465842 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plAnimCmdMsg.h @@ -45,11 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "pnMessage/plMessageWithCallbacks.h" #include "hsBitVector.h" -#include "hsTemplates.h" -#include "hsGeometry3.h" #include "plString.h" -#include "plInterp/plAnimEaseTypes.h" -#include "plInterp/plAnimTimeConvert.h" class plAGAnimInstance; @@ -112,7 +108,7 @@ public: void SetCmd(int n) { fCmd.SetBit(n); } void ClearCmd(); void SetAnimName(const plString &name) { fAnimName = name; } - plString GetAnimName() { return fAnimName; } + plString GetAnimName() const { return fAnimName; } bool CmdChangesAnimTime(); // Will this command cause an update to the current anim time? void SetLoopName(const plString &name) { fLoopName = name; } @@ -166,8 +162,8 @@ public: bool Cmd(int n) const { return fCmd.IsBitSet(n); } void SetCmd(int n) { fCmd.SetBit(n); } void ClearCmd() { fCmd.Clear(); } - void SetAnimName(const plString &name); - plString GetAnimName(); + void SetAnimName(const plString& name) { fAnimName = name; } + plString GetAnimName() const { return fAnimName; } float fBlend; float fBlendRate; @@ -209,13 +205,13 @@ public: CLASSNAME_REGISTER( plAGDetachCallbackMsg ); GETINTERFACE_ANY( plAGDetachCallbackMsg, plEventCallbackMsg ); - + // These aren't meant to go across the net, so no IO necessary. void Read(hsStream* stream, hsResMgr* mgr) {} void Write(hsStream* stream, hsResMgr* mgr) {} - - void SetAnimName(const plString &name); - plString GetAnimName(); + + void SetAnimName(const plString& name) { fAnimName = name; } + plString GetAnimName() const { return fAnimName; } }; diff --git a/Sources/Plasma/PubUtilLib/plMessage/plAvatarMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plAvatarMsg.h index e09bf431..96475418 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plAvatarMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plAvatarMsg.h @@ -44,7 +44,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plAvatarMsg_inc #define plAvatarMsg_inc -#include "pnMessage/plMessage.h" #include "hsBitVector.h" #include "plAvatar/plArmatureMod.h" #include "pnMessage/plEventCallbackMsg.h" diff --git a/Sources/Plasma/PubUtilLib/plMessage/plElementRefMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plElementRefMsg.h deleted file mode 100644 index f5b09e78..00000000 --- a/Sources/Plasma/PubUtilLib/plMessage/plElementRefMsg.h +++ /dev/null @@ -1,42 +0,0 @@ -/*==LICENSE==* - -CyanWorlds.com Engine - MMOG client, server and tools -Copyright (C) 2011 Cyan Worlds, Inc. - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . - -Additional permissions under GNU GPL version 3 section 7 - -If you modify this Program, or any covered work, by linking or -combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK, -NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent -JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK -(or a modified version of those libraries), -containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA, -PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG -JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the -licensors of this Program grant you additional -permission to convey the resulting work. Corresponding Source for a -non-source form of such a combination shall include the source code for -the parts of OpenSSL and IJG JPEG Library used as well as that of the covered -work. - -You can contact Cyan Worlds, Inc. by email legal@cyan.com - or by snail mail at: - Cyan Worlds, Inc. - 14617 N Newport Hwy - Mead, WA 99021 - -*==LICENSE==*/ -// Nuked file. Delete from your source file diff --git a/Sources/Plasma/PubUtilLib/plMessage/plExcludeRegionMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plExcludeRegionMsg.h index 98bf4a6f..dd77a4c6 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plExcludeRegionMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plExcludeRegionMsg.h @@ -69,7 +69,7 @@ public: GETINTERFACE_ANY(plExcludeRegionMsg, plMessage); void SetCmd(CmdType cmd) { fCmd = cmd; } - uint8_t GetCmd() { return fCmd; } + uint8_t GetCmd() const { return fCmd; } uint32_t fSynchFlags; // IO diff --git a/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.cpp b/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.cpp index 6f04c68a..e2b94fa2 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.cpp +++ b/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.cpp @@ -46,21 +46,41 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com // // ////////////////////////////////////////////////////////////////////////////// -#include "HeadSpin.h" #include "plInputIfaceMgrMsg.h" #include "plInputCore/plInputInterface.h" #include "hsResMgr.h" -#include "hsRefCnt.h" +plInputIfaceMgrMsg::~plInputIfaceMgrMsg() +{ + hsRefCnt_SafeUnRef(fInterface); +} -plInputIfaceMgrMsg::~plInputIfaceMgrMsg() +void plInputIfaceMgrMsg::SetIFace(plInputInterface* iface) { - if( fInterface != nil ) - hsRefCnt_SafeUnRef( fInterface ); + fInterface = iface; + hsRefCnt_SafeRef(fInterface); } -void plInputIfaceMgrMsg::SetIFace( plInputInterface *iface ) +void plInputIfaceMgrMsg::Read(hsStream* s, hsResMgr* mgr) { - fInterface = iface; - hsRefCnt_SafeRef( fInterface ); + plMessage::IMsgRead(s, mgr); + + s->ReadLE(&fCommand); + s->ReadLE(&fPageID); + ageName = s->ReadSafeString(); + ageFileName = s->ReadSafeString(); + spawnPoint = s->ReadSafeString(); + fAvKey = mgr->ReadKey(s); +} + +void plInputIfaceMgrMsg::Write(hsStream* s, hsResMgr* mgr) +{ + plMessage::IMsgWrite(s, mgr); + + s->WriteLE(fCommand); + s->WriteLE(fPageID); + s->WriteSafeString(ageName); + s->WriteSafeString(ageFileName); + s->WriteSafeString(spawnPoint); + mgr->WriteKey(s, fAvKey); } diff --git a/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.h index 9499da28..43c1a188 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plInputIfaceMgrMsg.h @@ -50,7 +50,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "HeadSpin.h" #include "hsStream.h" -#include "hsResMgr.h" #include "pnMessage/plMessage.h" #include "pnUUID/pnUUID.h" @@ -97,43 +96,23 @@ class plInputIfaceMgrMsg : public plMessage CLASSNAME_REGISTER( plInputIfaceMgrMsg ); GETINTERFACE_ANY( plInputIfaceMgrMsg, plMessage ); - virtual void Read(hsStream* s, hsResMgr* mgr) - { - plMessage::IMsgRead( s, mgr ); - s->ReadLE( &fCommand ); - s->ReadLE( &fPageID ); - ageName = s->ReadSafeString(); - ageFileName = s->ReadSafeString(); - spawnPoint = s->ReadSafeString(); - fAvKey = mgr->ReadKey(s); - } - - virtual void Write(hsStream* s, hsResMgr* mgr) - { - plMessage::IMsgWrite( s, mgr ); - s->WriteLE( fCommand ); - s->WriteLE( fPageID ); - s->WriteSafeString(ageName); - s->WriteSafeString(ageFileName); - s->WriteSafeString(spawnPoint); - mgr->WriteKey(s,fAvKey); - } - - void SetAgeName(const plString& s) { ageName = s; } - plString GetAgeName() const { return ageName; } - void SetAgeFileName(const plString& s) { ageFileName = s; } - plString GetAgeFileName() const { return ageFileName; } - void SetSpawnPoint(const plString& s) { spawnPoint = s; } - plString GetSpawnPoint() const { return spawnPoint; } - void SetAgeInstanceGuid(const plUUID& guid) { ageInstanceGuid = guid; } - const plUUID& GetAgeInstanceGuid() const { return ageInstanceGuid; } - uint8_t GetCommand() const { return fCommand; } - uint32_t GetPageID() const { return fPageID; } - void SetIFace( plInputInterface *iface ); - plInputInterface *GetIFace() const { return fInterface; } - plKey& GetAvKey( void ) { return fAvKey; } - const plKey& GetAvKey( void ) const { return fAvKey; } - void SetAvKey( plKey& k ) { fAvKey = k; } + virtual void Read(hsStream* s, hsResMgr* mgr); + virtual void Write(hsStream* s, hsResMgr* mgr); + + void SetAgeName(const plString& s) { ageName = s; } + plString GetAgeName() const { return ageName; } + void SetAgeFileName(const plString& s) { ageFileName = s; } + plString GetAgeFileName() const { return ageFileName; } + void SetSpawnPoint(const plString& s) { spawnPoint = s; } + plString GetSpawnPoint() const { return spawnPoint; } + void SetAgeInstanceGuid(const plUUID& guid) { ageInstanceGuid = guid; } + const plUUID& GetAgeInstanceGuid() const { return ageInstanceGuid; } + uint8_t GetCommand() const { return fCommand; } + uint32_t GetPageID() const { return fPageID; } + void SetIFace(plInputInterface *iface); + plInputInterface* GetIFace() const { return fInterface; } + plKey GetAvKey() const { return fAvKey; } + void SetAvKey(const plKey& k ) { fAvKey = k; } }; #endif // _plInputIfaceMgrMsg_h diff --git a/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.cpp b/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.cpp index c277d098..77bf26c0 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.cpp +++ b/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.cpp @@ -40,19 +40,29 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ -#include "HeadSpin.h" +#include "hsResMgr.h" +#include "hsStream.h" + #include "plLOSHitMsg.h" -plLOSHitMsg::plLOSHitMsg() +void plLOSHitMsg::Read(hsStream* stream, hsResMgr* mgr) { - SetBCastFlag(plMessage::kPropagateToModifiers); - fHitFlags = 0; + plMessage::IMsgRead(stream, mgr); + + fObj = mgr->ReadKey(stream); + fHitPoint.Read(stream); + fNoHit = stream->ReadBool(); + stream->ReadLE(&fRequestID); + stream->ReadLE(&fHitFlags); } -plLOSHitMsg::plLOSHitMsg(const plKey &s, - const plKey &r, - const double* t) -: plMessage(s, r, t) + +void plLOSHitMsg::Write(hsStream* stream, hsResMgr* mgr) { - SetBCastFlag(plMessage::kPropagateToModifiers); - fHitFlags = 0; + plMessage::IMsgWrite(stream, mgr); + + mgr->WriteKey(stream, fObj); + fHitPoint.Write(stream); + stream->WriteBool(fNoHit); + stream->WriteLE(fRequestID); + stream->WriteLE(fHitFlags); } diff --git a/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.h index 3fac1d5d..b40a9efb 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plLOSHitMsg.h @@ -44,54 +44,34 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plLOSHitMsg_inc #include "pnMessage/plMessage.h" -#include "hsStream.h" -#include "hsResMgr.h" #include "hsGeometry3.h" - class plLOSHitMsg : public plMessage { -protected: - public: - plKey fObj; hsPoint3 fHitPoint; bool fNoHit; - uint32_t fRequestID; - uint32_t fHitFlags; + uint32_t fRequestID; + uint32_t fHitFlags; hsVector3 fNormal; float fDistance; - plLOSHitMsg(); - plLOSHitMsg(const plKey &s, - const plKey &r, - const double* t); - ~plLOSHitMsg(){;} - - CLASSNAME_REGISTER( plLOSHitMsg ); - GETINTERFACE_ANY( plLOSHitMsg, plMessage ); + plLOSHitMsg() : fHitFlags(0) { SetBCastFlag(plMessage::kPropagateToModifiers); } - // IO - void Read(hsStream* stream, hsResMgr* mgr) + plLOSHitMsg(const plKey& s, const plKey& r, const double* t) : + fHitFlags(0), + plMessage(s, r, t) { - plMessage::IMsgRead(stream, mgr); - fObj = mgr->ReadKey(stream); - fHitPoint.Read(stream); - fNoHit = stream->ReadBool(); - stream->ReadLE(&fRequestID); - stream->ReadLE(&fHitFlags); + SetBCastFlag(plMessage::kPropagateToModifiers); } - void Write(hsStream* stream, hsResMgr* mgr) - { - plMessage::IMsgWrite(stream, mgr); - mgr->WriteKey(stream, fObj); - fHitPoint.Write(stream); - stream->WriteBool(fNoHit); - stream->WriteLE(fRequestID); - stream->WriteLE(fHitFlags); - } + CLASSNAME_REGISTER( plLOSHitMsg ); + GETINTERFACE_ANY( plLOSHitMsg, plMessage ); + + // IO + void Read(hsStream* stream, hsResMgr* mgr); + void Write(hsStream* stream, hsResMgr* mgr); }; diff --git a/Sources/Plasma/PubUtilLib/plMessage/plLinkToAgeMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plLinkToAgeMsg.h index 625f5ca5..8aa45ed2 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plLinkToAgeMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plLinkToAgeMsg.h @@ -42,7 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plLinkToAgeMsg_INC #define plLinkToAgeMsg_INC -#include "pnMessage/plMessageWithCallbacks.h" #include "pnMessage/plEventCallbackMsg.h" #include "plNetCommon/plNetServerSessionInfo.h" #include "plNetCommon/plNetCommonHelpers.h" diff --git a/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h b/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h index 59da9b9c..47dd73cb 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plNetCommMsgs.h @@ -51,8 +51,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "pnUtils/pnUtils.h" #include "pnNetBase/pnNetBase.h" -#include "pnMessage/plMessage.h" #include "pnNetProtocol/pnNetProtocol.h" +#include "pnMessage/plMessage.h" class plNetCommReplyMsg : public plMessage { public: diff --git a/Sources/Plasma/PubUtilLib/plMessage/plResMgrHelperMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plResMgrHelperMsg.h index e0e5794c..c956ad50 100644 --- a/Sources/Plasma/PubUtilLib/plMessage/plResMgrHelperMsg.h +++ b/Sources/Plasma/PubUtilLib/plMessage/plResMgrHelperMsg.h @@ -44,18 +44,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define _plResMgrHelperMsg_h #include "HeadSpin.h" -#include "hsStream.h" #include "pnMessage/plMessage.h" -#include "plResMgr/plResManagerHelper.h" class plResManagerHelper; +class plResPageKeyRefList; + class plResMgrHelperMsg : public plMessage { protected: friend class plResManagerHelper; - plResPageKeyRefList *fKeyList; + plResPageKeyRefList* fKeyList; uint8_t fCommand; diff --git a/Sources/Plasma/PubUtilLib/plMessage/plUniqueIdsMsg.h b/Sources/Plasma/PubUtilLib/plMessage/plUniqueIdsMsg.h deleted file mode 100644 index 19828919..00000000 --- a/Sources/Plasma/PubUtilLib/plMessage/plUniqueIdsMsg.h +++ /dev/null @@ -1,41 +0,0 @@ -/*==LICENSE==* - -CyanWorlds.com Engine - MMOG client, server and tools -Copyright (C) 2011 Cyan Worlds, Inc. - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . - -Additional permissions under GNU GPL version 3 section 7 - -If you modify this Program, or any covered work, by linking or -combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK, -NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent -JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK -(or a modified version of those libraries), -containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA, -PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG -JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the -licensors of this Program grant you additional -permission to convey the resulting work. Corresponding Source for a -non-source form of such a combination shall include the source code for -the parts of OpenSSL and IJG JPEG Library used as well as that of the covered -work. - -You can contact Cyan Worlds, Inc. by email legal@cyan.com - or by snail mail at: - Cyan Worlds, Inc. - 14617 N Newport Hwy - Mead, WA 99021 - -*==LICENSE==*/ diff --git a/Sources/Plasma/PubUtilLib/plNetClient/plNetCliAgeLeaver.cpp b/Sources/Plasma/PubUtilLib/plNetClient/plNetCliAgeLeaver.cpp index c15310e0..09f6e6f4 100644 --- a/Sources/Plasma/PubUtilLib/plNetClient/plNetCliAgeLeaver.cpp +++ b/Sources/Plasma/PubUtilLib/plNetClient/plNetCliAgeLeaver.cpp @@ -45,6 +45,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com * ***/ +#include "hsResMgr.h" + #include "plNetCliAgeLeaver.h" #include "plNetClientMgr.h" #include "plNetLinkingMgr.h"