diff --git a/MOULOpenSourceClientPlugin/Plasma20/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/CMakeLists.txt index f763e040..90101ddb 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/CMakeLists.txt +++ b/MOULOpenSourceClientPlugin/Plasma20/CMakeLists.txt @@ -20,6 +20,10 @@ set(PLASMA_TARGETS Client set_property(CACHE PLASMA_TARGETS PROPERTY STRINGS "Client" "Server" "Patcher" "Ethereal" "NoAvMsgs") +if(PLASMA_TARGETS STREQUAL "Client") + add_definitions(-DCLIENT) +endif(PLASMA_TARGETS STREQUAL "Client") + if(PLASMA_TARGETS STREQUAL "Patcher") add_definitions(-DPATCHER) endif(PLASMA_TARGETS STREQUAL "Patcher") diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/CMakeLists.txt index 7bd7c42b..e8da53cc 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/CMakeLists.txt +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/CMakeLists.txt @@ -29,26 +29,25 @@ add_subdirectory(plNetClientComm) add_subdirectory(plNetClientRecorder) #add_subdirectory(plNetCommon) # TODO: STLport add_subdirectory(plNetGameLib) -#add_subdirectory(plNetMessage) -#add_subdirectory(plNetTransport) -#add_subdirectory(plParticleSystem) -#add_subdirectory(plPhysical) -#add_subdirectory(plPhysX) -#add_subdirectory(plPipeline) -#add_subdirectory(plProgressMgr) -#add_subdirectory(plResMgr) -#add_subdirectory(plScene) -#add_subdirectory(plSDL) +add_subdirectory(plNetMessage) +add_subdirectory(plNetTransport) +add_subdirectory(plParticleSystem) +add_subdirectory(plPhysical) +#add_subdirectory(plPhysX) # TODO: PhysX +#add_subdirectory(plPipeline) # TODO: Bink, DirectX +add_subdirectory(plProgressMgr) +add_subdirectory(plResMgr) +add_subdirectory(plScene) +add_subdirectory(plSDL) #add_subdirectory(plSDLBrowser) # Not being used by any current slns -#add_subdirectory(plSockets) -#add_subdirectory(plStatGather) -#add_subdirectory(plStatusLog) -#add_subdirectory(plStreamLogger) -#add_subdirectory(plSurface) -#add_subdirectory(plTransform) -#add_subdirectory(plUnifiedTime) -#add_subdirectory(plUUID) -#add_subdirectory(plVault) +add_subdirectory(plSockets) +add_subdirectory(plStatGather) +add_subdirectory(plStatusLog) +add_subdirectory(plStreamLogger) +add_subdirectory(plSurface) +add_subdirectory(plTransform) +add_subdirectory(plUnifiedTime) +add_subdirectory(plUUID) +add_subdirectory(plVault) #add_subdirectory(plWinStrBlock) # Not being used by any current slns #add_subdirectory(plWndCtrls) # Not being used by any current slns -#add_subdirectory(PubUtilInc) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/inc/plAllCreatables.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/inc/plAllCreatables.h index e2ca6ae6..2b77fae4 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/inc/plAllCreatables.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/inc/plAllCreatables.h @@ -27,33 +27,33 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plAllCreatables_inc #define plAllCreatables_inc -#include "../plGImage/plGImageCreatable.h" -#include "../plGLight/plGLightCreatable.h" -#include "../plInterp/plInterpCreatable.h" -#include "../plInputCore/plInputCoreCreatable.h" -#include "../plPipeline/plPipelineCreatable.h" -#include "../plResMgr/plResMgrCreatable.h" -#include "../plSurface/plSurfaceCreatable.h" -#include "../plNetClient/plNetClientCreatable.h" -#include "../plNetClientComm/plNetClientCommCreatable.h" -#include "../plMessage/plMessageCreatable.h" -#include "../plAudible/plAudibleCreatable.h" -#include "../plDrawable/plDrawableCreatable.h" -#include "../plPhysical/plPhysicalCreatable.h" -#include "../plModifier/plModifierCreatable.h" -#include "../plScene/plSceneCreatable.h" -#include "../plPhysX/plPhysXCreatable.h" -#include "../plAudio/plAudioCreatable.h" -#include "../plAudioCore/plAudioCoreCreatable.h" -#include "../plParticleSystem/plParticleCreatable.h" -#include "../plNetCommon/plNetCommonCreatable.h" -#include "../plVault/plVaultCreatable.h" -#include "../plAvatar/plAvatarCreatable.h" -#include "../plIntersect/plIntersectCreatable.h" -#include "../plNetMessage/plNetMessageCreatable.h" -#include "../plStatGather/plStatGatherCreatable.h" -#include "../plSDL/plSDLCreatable.h" -#include "../plAgeLoader/plAgeLoaderCreatable.h" +#include "plGImage/plGImageCreatable.h" +#include "plGLight/plGLightCreatable.h" +#include "plInterp/plInterpCreatable.h" +#include "plInputCore/plInputCoreCreatable.h" +#include "plPipeline/plPipelineCreatable.h" +#include "plResMgr/plResMgrCreatable.h" +#include "plSurface/plSurfaceCreatable.h" +#include "plNetClient/plNetClientCreatable.h" +#include "plNetClientComm/plNetClientCommCreatable.h" +#include "plMessage/plMessageCreatable.h" +#include "plAudible/plAudibleCreatable.h" +#include "plDrawable/plDrawableCreatable.h" +#include "plPhysical/plPhysicalCreatable.h" +#include "plModifier/plModifierCreatable.h" +#include "plScene/plSceneCreatable.h" +#include "plPhysX/plPhysXCreatable.h" +#include "plAudio/plAudioCreatable.h" +#include "plAudioCore/plAudioCoreCreatable.h" +#include "plParticleSystem/plParticleCreatable.h" +#include "plNetCommon/plNetCommonCreatable.h" +#include "plVault/plVaultCreatable.h" +#include "plAvatar/plAvatarCreatable.h" +#include "plIntersect/plIntersectCreatable.h" +#include "plNetMessage/plNetMessageCreatable.h" +#include "plStatGather/plStatGatherCreatable.h" +#include "plSDL/plSDLCreatable.h" +#include "plAgeLoader/plAgeLoaderCreatable.h" #endif // plAllCreatables_inc \ No newline at end of file diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetCommon/plNetMember.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetCommon/plNetMember.h index b25d99ea..dd41a645 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetCommon/plNetMember.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetCommon/plNetMember.h @@ -29,7 +29,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsConfig.h" #include "hsUtils.h" #include "hsStlUtils.h" -#include "../pnFactory/plCreatable.h" +#include "pnFactory/plCreatable.h" class plNetApp; class plNetGenericServer; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetGameLib/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetGameLib/CMakeLists.txt index b775b45a..094b38dc 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetGameLib/CMakeLists.txt +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetGameLib/CMakeLists.txt @@ -3,8 +3,6 @@ include_directories("../../NucleusLib/inc") include_directories("../../NucleusLib") include_directories("../../PubUtilLib") -include_directories(${OPENSSL_INCLUDE_DIR}) - set(plNetGameLib_PRIVATE Private/plNglAllIncludes.h Private/plNglAuth.h diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/CMakeLists.txt new file mode 100644 index 00000000..195a9210 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/CMakeLists.txt @@ -0,0 +1,22 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plNetMessage_SOURCES + plNetMessage.cpp + plNetMsgHelpers.cpp +) + +set(plNetMessage_HEADERS + plNetCommonMessage.h + plNetMessage.h + plNetMessageCreatable.h + plNetMsgHelpers.h + plNetMsgVersion.h +) + +add_library(plNetMessage STATIC ${plNetMessage_SOURCES} ${plNetMessage_HEADERS}) + +source_group("Source Files" FILES ${plNetMessage_SOURCES}) +source_group("Header Files" FILES ${plNetMessage_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp index ca423251..b3d4f594 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp @@ -30,17 +30,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plNetMsgVersion.h" #include "plCreatableIndex.h" -#include "../pnKeyedObject/plKeyImp.h" -#include "../pnKeyedObject/plKey.h" -#include "../pnNetCommon/plNetSharedState.h" -#include "../pnMessage/plMessage.h" -#include "../pnNetCommon/pnNetCommon.h" -#include "../pnNetCommon/plGenericVar.h" -#include "../pnFactory/plFactory.h" - -#include "../plVault/plVault.h" -#include "../plNetCommon/plNetCommon.h" -#include "../plSDL/plSDL.h" +#include "pnKeyedObject/plKeyImp.h" +#include "pnKeyedObject/plKey.h" +#include "pnNetCommon/plNetSharedState.h" +#include "pnMessage/plMessage.h" +#include "pnNetCommon/pnNetCommon.h" +#include "pnNetCommon/plGenericVar.h" +#include "pnFactory/plFactory.h" + +#include "plVault/plVault.h" +#include "plNetCommon/plNetCommon.h" +#include "plSDL/plSDL.h" #if defined(HS_BUILD_FOR_UNIX) #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessageCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessageCreatable.h index c95228f5..1cf7fd61 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessageCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMessageCreatable.h @@ -28,7 +28,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com // kept separate for a reason -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plNetMessage.h" // NON CREATABLES diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.cpp index 7985232a..600b40b9 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.cpp @@ -25,11 +25,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plNetMsgHelpers.h" #include "plNetMessage.h" -#include "../plCompression/plZlibCompress.h" -#include "../pnNetCommon/plNetServers.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnKeyedObject/plKey.h" -#include "../pnMessage/plMessage.h" +#include "plCompression/plZlibCompress.h" +#include "pnNetCommon/plNetServers.h" +#include "pnNetCommon/plNetApp.h" +#include "pnKeyedObject/plKey.h" +#include "pnMessage/plMessage.h" #include "hsStream.h" #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h index 188eaa17..0f1210a3 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h @@ -35,12 +35,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsUtils.h" #include "hsStream.h" #include "hsStlUtils.h" -#include "../pnNetCommon/pnNetCommon.h" -#include "../pnFactory/plCreatable.h" -#include "../pnKeyedObject/plUoid.h" -#include "../pnKeyedObject/plKey.h" -#include "../plUnifiedTime/plUnifiedTime.h" -#include "../plNetCommon/plClientGuid.h" +#include "pnNetCommon/pnNetCommon.h" +#include "pnFactory/plCreatable.h" +#include "pnKeyedObject/plUoid.h" +#include "pnKeyedObject/plKey.h" +#include "plUnifiedTime/plUnifiedTime.h" +#include "plNetCommon/plClientGuid.h" #include class plKey; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/CMakeLists.txt new file mode 100644 index 00000000..c3978d21 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +include_directories(${OPENSSL_INCLUDE_DIR}) + +set(plNetTransport_SOURCES + plNetTransport.cpp + plNetTransportMember.cpp +) + +set(plNetTransport_HEADERS + plNetTransport.h + plNetTransportMember.h +) + +add_library(plNetTransport STATIC ${plNetTransport_SOURCES} ${plNetTransport_HEADERS}) + +source_group("Source Files" FILES ${plNetTransport_SOURCES}) +source_group("Header Files" FILES ${plNetTransport_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransport.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransport.cpp index d56fcf42..5fba045f 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransport.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransport.cpp @@ -28,8 +28,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTimer.h" #include "plNetTransport.h" #include "plNetTransportMember.h" -#include "../plNetMessage/plNetMessage.h" -#include "../plNetClient/plNetClientMgr.h" +#include "plNetMessage/plNetMessage.h" +#include "plNetClient/plNetClientMgr.h" #include plNetTransport::~plNetTransport() diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h index 495a97e9..bd34685f 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h @@ -28,8 +28,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsConfig.h" #include "hsStlUtils.h" -#include "../plNetCommon/plNetMember.h" -#include "../pnKeyedObject/plKey.h" +#include "plNetCommon/plNetMember.h" +#include "pnKeyedObject/plKey.h" // // This represents a participant in the game, ie. another diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/CMakeLists.txt new file mode 100644 index 00000000..866781b6 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/CMakeLists.txt @@ -0,0 +1,34 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plParticleSystem_SOURCES + plBoundInterface.cpp + plConvexVolume.cpp + plParticleApplicator.cpp + plParticleEffect.cpp + plParticleEmitter.cpp + plParticleGenerator.cpp + plParticleSDLMod.cpp + plParticleSystem.cpp +) + +set(plParticleSystem_HEADERS + plBoundInterface.h + plConvexVolume.h + plEffectTargetInfo.h + plParticle.h + plParticleApplicator.h + plParticleCreatable.h + plParticleEffect.h + plParticleEmitter.h + plParticleGenerator.h + plParticleSDLMod.h + plParticleSystem.h +) + +add_library(plParticleSystem STATIC ${plParticleSystem_SOURCES} ${plParticleSystem_HEADERS}) + +source_group("Source Files" FILES ${plParticleSystem_SOURCES}) +source_group("Header Files" FILES ${plParticleSystem_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plBoundInterface.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plBoundInterface.h index 8b706f52..69464f99 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plBoundInterface.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plBoundInterface.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plBoundInterface_inc #define plBoundInterface_inc -#include "../pnSceneObject/plObjInterface.h" +#include "pnSceneObject/plObjInterface.h" class plConvexVolume; struct hsMatrix44; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plConvexVolume.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plConvexVolume.h index 318cb933..b792d1d6 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plConvexVolume.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plConvexVolume.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plConvexVolume_inc #define plConvexVolume_inc -#include "../pnSceneObject/plObjInterface.h" +#include "pnSceneObject/plObjInterface.h" struct hsPlane3; struct hsPoint3; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticle.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticle.h index 1a922090..d720c436 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticle.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticle.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plParticle_inc #include "hsGeometry3.h" -#include "../CoreLib/hsColorRGBA.h" +#include "hsColorRGBA.h" // The meat of the particle. These classes, in combination with the plParticleEmitter that spawned it, // should contain everything specific to a particle, necessary to build a renderable poly to represent a diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.cpp index 81304413..b5ae8602 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.cpp @@ -26,10 +26,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plParticleSystem.h" #include "plParticleGenerator.h" #include "plParticleApplicator.h" -#include "../plAvatar/plScalarChannel.h" -#include "../plAvatar/plAGModifier.h" -#include "../plMessage/plParticleUpdateMsg.h" -#include "../pnSceneObject/plSceneObject.h" +#include "plAvatar/plScalarChannel.h" +#include "plAvatar/plAGModifier.h" +#include "plMessage/plParticleUpdateMsg.h" +#include "pnSceneObject/plSceneObject.h" #define PI 3.14159 diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.h index 4063799f..c246dcd6 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleApplicator.h @@ -26,8 +26,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef PLPARTICLEAPPLICATOR_INC #define PLPARTICLEAPPLICATOR_INC -#include "../plAvatar/plAGChannel.h" -#include "../plAvatar/plAGApplicator.h" +#include "plAvatar/plAGChannel.h" +#include "plAvatar/plAGApplicator.h" class plParticleSystem; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleCreatable.h index a84b85c6..f0a50190 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleCreatable.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plParticleCreatable_inc #define plParticleCreatable_inc -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plParticleSystem.h" #include "plParticleEffect.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.cpp index 67a1ba15..e17a8791 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.cpp @@ -33,9 +33,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsResMgr.h" #include "plPipeline.h" #include "hsFastMath.h" -#include "../plMath/plRandom.h" +#include "plMath/plRandom.h" #include "plParticleSystem.h" -#include "../plMessage/plParticleUpdateMsg.h" +#include "plMessage/plParticleUpdateMsg.h" /////////////////////////////////////////////////////////////////////////////////////////// plParticleCollisionEffect::plParticleCollisionEffect() diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.h index 9c1a68c5..b4f71100 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEffect.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plParticleEffect_inc #define plParticleEffect_inc -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" #include "hsMatrix44.h" class plEffectTargetInfo; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.cpp index 25e97b42..2bdfd2ef 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.cpp @@ -26,17 +26,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "hsUtils.h" #include "hsResMgr.h" -#include "../pnMessage/plRefMsg.h" -#include "../plMessage/plParticleUpdateMsg.h" +#include "pnMessage/plRefMsg.h" +#include "plMessage/plParticleUpdateMsg.h" #include "plParticleGenerator.h" #include "plParticleEmitter.h" #include "plParticleSystem.h" #include "plParticle.h" #include "plParticleEffect.h" -#include "../CoreLib/hsColorRGBA.h" -#include "../plInterp/plController.h" -#include "../plSurface/hsGMaterial.h" -#include "../plSurface/plLayerInterface.h" +#include "hsColorRGBA.h" +#include "plInterp/plController.h" +#include "plSurface/hsGMaterial.h" +#include "plSurface/plLayerInterface.h" #include "plProfile.h" #include "hsFastMath.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.h index b81301d1..d62004cd 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleEmitter.h @@ -28,8 +28,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsGeometry3.h" #include "hsBounds.h" -#include "../pnNetCommon/plSynchedValue.h" -#include "../CoreLib/hsColorRGBA.h" +#include "pnNetCommon/plSynchedValue.h" +#include "hsColorRGBA.h" class hsBounds3Ext; class plParticleSystem; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.cpp index ab782311..93b5262d 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.cpp @@ -32,11 +32,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plParticleSystem.h" #include "plParticleEmitter.h" #include "plParticleGenerator.h" -#include "../CoreLib/hsColorRGBA.h" -#include "../plMessage/plParticleUpdateMsg.h" -#include "../plInterp/plController.h" +#include "hsColorRGBA.h" +#include "plMessage/plParticleUpdateMsg.h" +#include "plInterp/plController.h" #include "hsResMgr.h" -#include "../plMath/plRandom.h" +#include "plMath/plRandom.h" static const hsScalar DEFAULT_INVERSE_MASS = 1.f; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.h index 4acdadc7..0db8c5a0 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleGenerator.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plParticleGenerator_inc #include "hsGeometry3.h" -#include "../pnNetCommon/plSynchedValue.h" +#include "pnNetCommon/plSynchedValue.h" class plParticleEmitter; class plScalarController; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.cpp index fc7d7d2d..7663fa21 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.cpp @@ -26,9 +26,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plParticleSDLMod.h" #include "plParticleSystem.h" -#include "../pnSceneObject/plSceneObject.h" -#include "../plSDL/plSDL.h" -#include "../pnKeyedObject/plKey.h" +#include "pnSceneObject/plSceneObject.h" +#include "plSDL/plSDL.h" +#include "pnKeyedObject/plKey.h" // static vars char plParticleSDLMod::kStrNumParticles[]="numParticles"; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.h index 2b6132c0..d12efa8b 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSDLMod.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plParticleSDLMod_inc #define plParticleSDLMod_inc -#include "../plModifier/plSDLModifier.h" +#include "plModifier/plSDLModifier.h" // // This modifier is responsible for sending and recving diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.cpp index b36b1967..0917fcc0 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.cpp @@ -33,21 +33,21 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plgDispatch.h" #include "hsResMgr.h" -#include "../pnSceneObject/plSceneObject.h" -#include "../pnSceneObject/plDrawInterface.h" -#include "../pnSceneObject/plCoordinateInterface.h" -#include "../pnMessage/plTimeMsg.h" -#include "../plMessage/plRenderMsg.h" -#include "../plMessage/plAgeLoadedMsg.h" -#include "../plMessage/plParticleUpdateMsg.h" -#include "../plInterp/plController.h" -#include "../plSurface/hsGMaterial.h" +#include "pnSceneObject/plSceneObject.h" +#include "pnSceneObject/plDrawInterface.h" +#include "pnSceneObject/plCoordinateInterface.h" +#include "pnMessage/plTimeMsg.h" +#include "plMessage/plRenderMsg.h" +#include "plMessage/plAgeLoadedMsg.h" +#include "plMessage/plParticleUpdateMsg.h" +#include "plInterp/plController.h" +#include "plSurface/hsGMaterial.h" #include "plPipeline.h" #include "hsTimer.h" #include "plProfile.h" #include "plTweak.h" -#include "../plDrawable/plParticleFiller.h" +#include "plDrawable/plParticleFiller.h" plProfile_CreateCounter("Num Particles", "Particles", NumParticles); diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.h index bc44ab7b..f5e4269c 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plParticleSystem/plParticleSystem.h @@ -28,10 +28,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTemplates.h" #include "hsGeometry3.h" -#include "../../NucleusLib/pnModifier/plModifier.h" -#include "../pnNetCommon/plSynchedValue.h" -#include "../CoreLib/hsColorRGBA.h" -#include "../CoreLib/hsMatrix44.h" +#include "pnModifier/plModifier.h" +#include "pnNetCommon/plSynchedValue.h" +#include "hsColorRGBA.h" +#include "hsMatrix44.h" #include "plEffectTargetInfo.h" class plPipeline; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/CMakeLists.txt new file mode 100644 index 00000000..5a93de9b --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/CMakeLists.txt @@ -0,0 +1,33 @@ +include_directories("../../CoreLib") +include_directories("../../FeatureLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +include_directories(${OPENAL_INCLUDE_DIR}) + +set(plPhysical_SOURCES + plCollisionDetector.cpp + plPhysicalProxy.cpp + plPhysicalSDLModifier.cpp + plPhysicalSndGroup.cpp + plPhysicsSoundMgr.cpp + plPickingDetector.cpp +) + +set(plPhysical_HEADERS + plCollisionDetector.h + plDetectorModifier.h + plPhysicalCreatable.h + plPhysicalProxy.h + plPhysicalSDLModifier.h + plPhysicalSndGroup.h + plPhysicsSoundMgr.h + plPickingDetector.h + plSimDefs.h +) + +add_library(plPhysical STATIC ${plPhysical_SOURCES} ${plPhysical_HEADERS}) + +source_group("Source Files" FILES ${plPhysical_SOURCES}) +source_group("Header Files" FILES ${plPhysical_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp index cf544a87..ca53c76c 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plCollisionDetector.cpp @@ -23,34 +23,34 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com Mead, WA 99021 *==LICENSE==*/ -#include "../plAvatar/plAvCallbackAction.h" +#include "plAvatar/plAvCallbackAction.h" #include "hsTypes.h" #include "plCollisionDetector.h" -#include "../plMessage/plCollideMsg.h" +#include "plMessage/plCollideMsg.h" #include "plgDispatch.h" -#include "../plMessage/plActivatorMsg.h" -#include "../pnMessage/plCameraMsg.h" -#include "../pnMessage/plTimeMsg.h" -#include "../plMessage/plInputIfaceMgrMsg.h" -#include "../pnInputCore/plControlEventCodes.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnSceneObject/plSceneObject.h" -#include "../pnNetCommon/plNetApp.h" -#include "../plNetClient/plNetLinkingMgr.h" +#include "plMessage/plActivatorMsg.h" +#include "pnMessage/plCameraMsg.h" +#include "pnMessage/plTimeMsg.h" +#include "plMessage/plInputIfaceMgrMsg.h" +#include "pnInputCore/plControlEventCodes.h" +#include "pnNetCommon/plNetApp.h" +#include "pnSceneObject/plSceneObject.h" +#include "pnNetCommon/plNetApp.h" +#include "plNetClient/plNetLinkingMgr.h" #include "plPhysical.h" -#include "../pnMessage/plPlayerPageMsg.h" -#include "../plMessage/plSimStateMsg.h" +#include "pnMessage/plPlayerPageMsg.h" +#include "plMessage/plSimStateMsg.h" -#include "../pnSceneObject/plCoordinateInterface.h" -#include "../plAvatar/plArmatureMod.h" -#include "../plAvatar/plAvatarMgr.h" -#include "../plAvatar/plAvBrainHuman.h" -#include "../plAvatar/plAvBrainDrive.h" +#include "pnSceneObject/plCoordinateInterface.h" +#include "plAvatar/plArmatureMod.h" +#include "plAvatar/plAvatarMgr.h" +#include "plAvatar/plAvBrainHuman.h" +#include "plAvatar/plAvBrainDrive.h" -#include "../plModifier/plDetectorLog.h" +#include "plModifier/plDetectorLog.h" #define USE_PHYSX_MULTIPLE_CAMREGION_ENTER 1 #define USE_PHYSX_COLLISION_FLUTTER_WORKAROUND 1 diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plDetectorModifier.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plDetectorModifier.h index 37e868ea..084ded3b 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plDetectorModifier.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plDetectorModifier.h @@ -27,8 +27,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plDetectorModifier_inc #define plDetectorModifier_inc -#include "../pnModifier/plSingleModifier.h" -#include "../pnMessage/plObjRefMsg.h" +#include "pnModifier/plSingleModifier.h" +#include "pnMessage/plObjRefMsg.h" #include "hsStream.h" #include "hsResMgr.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalCreatable.h index ec39e2ef..f04a1278 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalCreatable.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plPhysicalCreatable_inc #define plPhysicalCreatable_inc -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plDetectorModifier.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.cpp index d8884b52..f5b95f02 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.cpp @@ -25,13 +25,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plPhysicalProxy.h" #include "plPhysical.h" -#include "../plPhysX/plPXPhysicalControllerCore.h" -#include "../plDrawable/plDrawableSpans.h" -#include "../plDrawable/plDrawableGenerator.h" -#include "../pnMessage/plProxyDrawMsg.h" +#include "plPhysX/plPXPhysicalControllerCore.h" +#include "plDrawable/plDrawableSpans.h" +#include "plDrawable/plDrawableGenerator.h" +#include "pnMessage/plProxyDrawMsg.h" -#include "../plSurface/hsGMaterial.h" -#include "../plSurface/plLayer.h" +#include "plSurface/hsGMaterial.h" +#include "plSurface/plLayer.h" plPhysicalProxy::plPhysicalProxy() : plProxyGen(hsColorRGBA().Set(0,0,0,1.f), hsColorRGBA().Set(1.f,0.8f,0.2f,1.f), 0.5f), diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.h index 44c74199..ad85c6c2 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalProxy.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plPhysicalProxy_inc #define plPhysicalProxy_inc -#include "../plDrawable/plProxyGen.h" +#include "plDrawable/plProxyGen.h" class plDrawableSpans; class hsGMaterial; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.cpp index 463abfbc..8713ea43 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.cpp @@ -27,13 +27,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsGeometry3.h" #include "plPhysical.h" -#include "../plSDL/plSDL.h" -#include "../pnSceneObject/plSceneObject.h" -#include "../pnSceneObject/plSimulationInterface.h" -#include "../pnNetCommon/plNetApp.h" +#include "plSDL/plSDL.h" +#include "pnSceneObject/plSceneObject.h" +#include "pnSceneObject/plSimulationInterface.h" +#include "pnNetCommon/plNetApp.h" #include "hsQuat.h" -//#include "../plHavok1/plSimulationMgr.h" -#include "../plStatusLog/plStatusLog.h" +//#include "plHavok1/plSimulationMgr.h" +#include "plStatusLog/plStatusLog.h" // static vars static const char* kStrLinear = "linear"; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.h index d8e87cd2..658a6369 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSDLModifier.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plPhysicalSDLModifier_inc #define plPhysicalSDLModifier_inc -#include "../plModifier/plSDLModifier.h" +#include "plModifier/plSDLModifier.h" class plStateDataRecord; class plStatusLog; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.cpp index af9af8a8..60fdd10b 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.cpp @@ -35,9 +35,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsResMgr.h" #include "plPhysicalSndGroup.h" -#include "../plAudio/plSound.h" -#include "../pnMessage/plRefMsg.h" -#include "../plMessage/plAnimCmdMsg.h" +#include "plAudio/plSound.h" +#include "pnMessage/plRefMsg.h" +#include "plMessage/plAnimCmdMsg.h" plPhysicalSndGroup::plPhysicalSndGroup() : fPlayingSlideSound(false) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.h index 98ac4c0d..249966a3 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicalSndGroup.h @@ -39,8 +39,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "hsTemplates.h" -#include "../pnKeyedObject/hsKeyedObject.h" -#include "../pnKeyedObject/plUoid.h" +#include "pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/plUoid.h" class plSound; class plPhysicalSndGroup : public hsKeyedObject diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicsSoundMgr.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicsSoundMgr.cpp index 74bdba65..f669d6cb 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicsSoundMgr.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPhysicsSoundMgr.cpp @@ -28,10 +28,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTimer.h" #include "plPhysicsSoundMgr.h" #include "plPhysicalSndGroup.h" -#include "../pnKeyedObject/plFixedKey.h" -#include "../plStatusLog/plStatusLog.h" -#include "../plMessage/plAnimCmdMsg.h" -#include "../FeatureLib/pfAudio/plRandomSoundMod.h" +#include "pnKeyedObject/plFixedKey.h" +#include "plStatusLog/plStatusLog.h" +#include "plMessage/plAnimCmdMsg.h" +#include "pfAudio/plRandomSoundMod.h" #define MIN_VOLUME 0.0001f diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPickingDetector.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPickingDetector.cpp index c42d383e..9b6646bf 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPickingDetector.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysical/plPickingDetector.cpp @@ -25,14 +25,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "hsTypes.h" #include "plPickingDetector.h" -#include "../plMessage/plActivatorMsg.h" -#include "../plMessage/plPickedMsg.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnSceneObject/plSceneObject.h" -#include "../pnKeyedObject/plKey.h" -#include "../pnMessage/plObjRefMsg.h" -#include "../pnMessage/plFakeOutMsg.h" -#include "../pnNetCommon/plNetApp.h" +#include "plMessage/plActivatorMsg.h" +#include "plMessage/plPickedMsg.h" +#include "pnNetCommon/plNetApp.h" +#include "pnSceneObject/plSceneObject.h" +#include "pnKeyedObject/plKey.h" +#include "pnMessage/plObjRefMsg.h" +#include "pnMessage/plFakeOutMsg.h" +#include "pnNetCommon/plNetApp.h" #include "plgDispatch.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plProgressMgr/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plProgressMgr/CMakeLists.txt new file mode 100644 index 00000000..9fd66d25 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plProgressMgr/CMakeLists.txt @@ -0,0 +1,17 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plProgressMgr_SOURCES + plProgressMgr.cpp +) + +set(plProgressMgr_HEADERS + plProgressMgr.h +) + +add_library(plProgressMgr STATIC ${plProgressMgr_SOURCES} ${plProgressMgr_HEADERS}) + +source_group("Source Files" FILES ${plProgressMgr_SOURCES}) +source_group("Header Files" FILES ${plProgressMgr_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/CMakeLists.txt new file mode 100644 index 00000000..b8745346 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/CMakeLists.txt @@ -0,0 +1,39 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plResMgr_SOURCES + plBSDiffBuffer.cpp + plDiffBuffer.cpp + plKeyFinder.cpp + plLocalization.cpp + plPageInfo.cpp + plRegistryHelpers.cpp + plRegistryKeyList.cpp + plRegistryNode.cpp + plResManager.cpp + plResManagerHelper.cpp + plVersion.cpp +) + +set(plResMgr_HEADERS + plBSDiffBuffer.h + plDiffBuffer.h + plKeyFinder.h + plLocalization.h + plPageInfo.h + plRegistryHelpers.h + plRegistryKeyList.h + plRegistryNode.h + plResManager.h + plResManagerHelper.h + plResMgrCreatable.h + plResMgrSettings.h + plVersion.h +) + +add_library(plResMgr STATIC ${plResMgr_SOURCES} ${plResMgr_HEADERS}) + +source_group("Source Files" FILES ${plResMgr_SOURCES}) +source_group("Header Files" FILES ${plResMgr_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp index 8befe2f3..53cc3164 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp @@ -35,7 +35,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plRegistryNode.h" #include "plRegistryKeyList.h" #include "plPageInfo.h" -#include "../pnFactory/plFactory.h" +#include "pnFactory/plFactory.h" #include "hsUtils.h" #include "plCreatableIndex.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h index b8e316b2..0e8bb19b 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h @@ -48,8 +48,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com //---------------------------- #include "hsTypes.h" -#include "../pnKeyedObject/plKey.h" -#include "../pnKeyedObject/plUoid.h" +#include "pnKeyedObject/plKey.h" +#include "pnKeyedObject/plUoid.h" #include "hsStlUtils.h" #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plLocalization.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plLocalization.cpp index c1032ada..3d0882d8 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plLocalization.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plLocalization.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "hsTypes.h" #include "plLocalization.h" -#include "../plFile/plFileUtils.h" +#include "plFile/plFileUtils.h" #include "hsUtils.h" plLocalization::Language plLocalization::fLanguage = plLocalization::kEnglish; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.cpp index 561ee730..4701be21 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.cpp @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plPageInfo.h" #include "hsUtils.h" #include "hsStream.h" -#include "../pnKeyedObject/plUoid.h" +#include "pnKeyedObject/plUoid.h" #include "plVersion.h" static UInt32 sCurrPageInfoVersion = 6; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.h index b386fc8b..e78ca4ec 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plPageInfo.h @@ -32,7 +32,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define _plPageInfo_h #include "hsTypes.h" -#include "../pnKeyedObject/plUoid.h" +#include "pnKeyedObject/plUoid.h" #include class hsStream; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryHelpers.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryHelpers.h index 610c62d6..4d4809f9 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryHelpers.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryHelpers.h @@ -38,7 +38,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "hsTemplates.h" -#include "../pnKeyedObject/plKey.h" +#include "pnKeyedObject/plKey.h" class plKey; class plRegistryPageNode; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryKeyList.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryKeyList.h index 5c588211..b093ae4c 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryKeyList.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryKeyList.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plRegistryKeyList_h_inc #include "hsTypes.h" -#include "../pnKeyedObject/plKeyImp.h" +#include "pnKeyedObject/plKeyImp.h" #include #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp index c962ca24..534410ba 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp @@ -27,10 +27,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plRegistryKeyList.h" #include "plRegistryHelpers.h" -#include "../pnKeyedObject/plKeyImp.h" -#include "../plStatusLog/plStatusLog.h" -#include "../pnFactory/plFactory.h" -#include "../plFile/plFileUtils.h" +#include "pnKeyedObject/plKeyImp.h" +#include "plStatusLog/plStatusLog.h" +#include "pnFactory/plFactory.h" +#include "plFile/plFileUtils.h" #include "hsStlUtils.h" #include "plVersion.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManager.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManager.cpp index 79852fd4..0ec014d1 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManager.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManager.cpp @@ -31,24 +31,24 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsSTLStream.h" #include "hsTimer.h" -#include "../pnTimer/plTimerCallbackManager.h" +#include "pnTimer/plTimerCallbackManager.h" #include "hsStlUtils.h" -#include "../plScene/plSceneNode.h" -#include "../pnKeyedObject/hsKeyedObject.h" -#include "../pnKeyedObject/plFixedKey.h" -#include "../pnKeyedObject/plKeyImp.h" -#include "../pnDispatch/plDispatch.h" -#include "../plStatusLog/plStatusLog.h" -#include "../pnMessage/plRefMsg.h" -#include "../pnMessage/plObjRefMsg.h" -#include "../plMessage/plAgeLoadedMsg.h" -#include "../pnMessage/plClientMsg.h" -#include "../plFile/hsFiles.h" -#include "../plFile/plFileUtils.h" -#include "../pnFactory/plCreator.h" -#include "../pnNetCommon/plSynchedObject.h" -#include "../pnNetCommon/plNetApp.h" +#include "plScene/plSceneNode.h" +#include "pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/plFixedKey.h" +#include "pnKeyedObject/plKeyImp.h" +#include "pnDispatch/plDispatch.h" +#include "plStatusLog/plStatusLog.h" +#include "pnMessage/plRefMsg.h" +#include "pnMessage/plObjRefMsg.h" +#include "plMessage/plAgeLoadedMsg.h" +#include "pnMessage/plClientMsg.h" +#include "plFile/hsFiles.h" +#include "plFile/plFileUtils.h" +#include "pnFactory/plCreator.h" +#include "pnNetCommon/plSynchedObject.h" +#include "pnNetCommon/plNetApp.h" hsBool gDataServerLocal = false; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.cpp index cfae039d..2e4fdcfc 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.cpp @@ -42,9 +42,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com //#include "plRegistry.h" #include "plResMgrSettings.h" -#include "../pnKeyedObject/plFixedKey.h" -#include "../plMessage/plResMgrHelperMsg.h" -#include "../plStatusLog/plStatusLog.h" +#include "pnKeyedObject/plFixedKey.h" +#include "plMessage/plResMgrHelperMsg.h" +#include "plStatusLog/plStatusLog.h" #include "hsTimer.h" #ifdef MCN_RESMGR_DEBUGGING @@ -52,13 +52,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com static const int kLogSize = 40; static const float kUpdateDelay = 0.5f; -#include "../plInputCore/plInputInterface.h" -#include "../plInputCore/plInputDevice.h" -#include "../plInputCore/plInputInterfaceMgr.h" -#include "../pnInputCore/plInputMap.h" -#include "../plMessage/plInputEventMsg.h" -#include "../plMessage/plInputIfaceMgrMsg.h" -#include "../pnKeyedObject/plKeyImp.h" +#include "plInputCore/plInputInterface.h" +#include "plInputCore/plInputDevice.h" +#include "plInputCore/plInputInterfaceMgr.h" +#include "pnInputCore/plInputMap.h" +#include "plMessage/plInputEventMsg.h" +#include "plMessage/plInputIfaceMgrMsg.h" +#include "pnKeyedObject/plKeyImp.h" #endif diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.h index 2799bebf..7a580629 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResManagerHelper.h @@ -40,7 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "hsTemplates.h" #include "plRegistryHelpers.h" -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" // Defined as a project setting so we can do this right //#define MCN_RESMGR_DEBUGGING diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResMgrCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResMgrCreatable.h index 867c4029..511cd0b1 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResMgrCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plResMgrCreatable.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plResMgrCreatable_inc #define plResMgrCreatable_inc -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plResManagerHelper.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plVersion.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plVersion.cpp index 66aaa7d8..2f359c2d 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plVersion.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plResMgr/plVersion.cpp @@ -24,7 +24,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plVersion.h" -#include "../pnFactory/plFactory.h" +#include "pnFactory/plFactory.h" #include #include "plCreatableIndex.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/CMakeLists.txt new file mode 100644 index 00000000..8e0ddd75 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/CMakeLists.txt @@ -0,0 +1,39 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plSDL_SOURCES + plSDLMgr.cpp + plSDLParser.cpp + plStateChangeNotifier.cpp + plStateDataRecord.cpp + plStateDescriptor.cpp + plStateVariable.cpp + plVarDescriptor.cpp +) + +set(plSDL_HEADERS + plSDL.h + plSDLCreatable.h + plSDLDescriptor.h +) + +set(plSDL_SDLFILES + SDL/animation.sdl + SDL/avatar.sdl + SDL/cloneMessage.sdl + SDL/clothing.sdl + SDL/morph.sdl + SDL/particle.sdl + SDL/physical.sdl + SDL/responder.sdl + SDL/sound.sdl + SDL/xregion.sdl +) + +add_library(plSDL STATIC ${plSDL_SOURCES} ${plSDL_HEADERS} ${plSDL_SDLFILES}) + +source_group("Source Files" FILES ${plSDL_SOURCES}) +source_group("Header Files" FILES ${plSDL_HEADERS}) +source_group("SDL" FILES ${plSDL_SDLFILES}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDL.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDL.h index 993d155c..86213afa 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDL.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDL.h @@ -34,11 +34,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsUtils.h" #include "hsStlUtils.h" -#include "../pnFactory/plCreatable.h" -#include "../pnKeyedObject/plKey.h" -#include "../pnKeyedObject/plUoid.h" +#include "pnFactory/plCreatable.h" +#include "pnKeyedObject/plKey.h" +#include "pnKeyedObject/plUoid.h" -#include "../plUnifiedTime/plUnifiedTime.h" +#include "plUnifiedTime/plUnifiedTime.h" namespace plSDL { diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLMgr.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLMgr.cpp index 4c6a6c9f..d07bd5f9 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLMgr.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLMgr.cpp @@ -26,8 +26,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsStream.h" #include "hsStlUtils.h" #include "plSDL.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnNetCommon/pnNetCommon.h" +#include "pnNetCommon/plNetApp.h" +#include "pnNetCommon/pnNetCommon.h" #include ///////////////////////////////////////////////////////////////////////////////// diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLParser.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLParser.cpp index 03e23634..deef3571 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLParser.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plSDLParser.cpp @@ -26,10 +26,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "hsStlUtils.h" #include "plSDL.h" -#include "../plFile/hsFiles.h" -#include "../plFile/plStreamSource.h" -#include "../pnNetCommon/pnNetCommon.h" -#include "../pnNetCommon/plNetApp.h" +#include "plFile/hsFiles.h" +#include "plFile/plStreamSource.h" +#include "pnNetCommon/pnNetCommon.h" +#include "pnNetCommon/plNetApp.h" static const int kTokenLen=256; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateChangeNotifier.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateChangeNotifier.cpp index f40500f3..de0d6d4e 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateChangeNotifier.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateChangeNotifier.cpp @@ -24,8 +24,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plSDL.h" -#include "../pnMessage/plSDLNotificationMsg.h" -#include "algorithm" +#include "pnMessage/plSDLNotificationMsg.h" +#include // static UInt32 plStateChangeNotifier::fCurrentPlayerID = 0; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDataRecord.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDataRecord.cpp index a228bca8..a054b285 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDataRecord.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDataRecord.cpp @@ -30,8 +30,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsStlUtils.h" #include "plSDL.h" -#include "../plNetMessage/plNetMessage.h" -#include "../pnNetCommon/plNetApp.h" +#include "plNetMessage/plNetMessage.h" +#include "pnNetCommon/plNetApp.h" const char* plSDL::kAgeSDLObjectName = {"AgeSDLHook"}; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDescriptor.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDescriptor.cpp index 7d2ee12e..9d04f662 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDescriptor.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateDescriptor.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "hsStream.h" #include "plSDL.h" -#include "../pnNetCommon/plNetApp.h" +#include "pnNetCommon/plNetApp.h" const UInt8 plStateDescriptor::kVersion=1; // for Read/Write format diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp index b4c78858..3322890b 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp @@ -29,21 +29,21 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsStlUtils.h" #include "plSDL.h" -#include "../pnProduct/pnProduct.h" -#include "../pnFactory/plCreatable.h" -#include "../pnKeyedObject/plUoid.h" -#include "../pnKeyedObject/plKey.h" -#include "../pnKeyedObject/plKeyImp.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnNetCommon/pnNetCommon.h" +#include "pnProduct/pnProduct.h" +#include "pnFactory/plCreatable.h" +#include "pnKeyedObject/plUoid.h" +#include "pnKeyedObject/plKey.h" +#include "pnKeyedObject/plKeyImp.h" +#include "pnNetCommon/plNetApp.h" +#include "pnNetCommon/pnNetCommon.h" -#include "../plResMgr/plResManager.h" -#include "../plResMgr/plKeyFinder.h" -#include "../plUnifiedTime/plClientUnifiedTime.h" +#include "plResMgr/plResManager.h" +#include "plResMgr/plKeyFinder.h" +#include "plUnifiedTime/plClientUnifiedTime.h" -#include "../plResMgr/plResManager.h" -#include "../plUnifiedTime/plClientUnifiedTime.h" +#include "plResMgr/plResManager.h" +#include "plUnifiedTime/plClientUnifiedTime.h" /***************************************************************************** diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plVarDescriptor.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plVarDescriptor.cpp index 28485d68..6f88da0d 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plVarDescriptor.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSDL/plVarDescriptor.cpp @@ -27,11 +27,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plSDL.h" #include "hsStlUtils.h" -#include "../pnKeyedObject/plUoid.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnMessage/plMessage.h" +#include "pnKeyedObject/plUoid.h" +#include "pnNetCommon/plNetApp.h" +#include "pnMessage/plMessage.h" -#include "../plUnifiedTime/plUnifiedTime.h" +#include "plUnifiedTime/plUnifiedTime.h" const UInt8 plVarDescriptor::kVersion=3; // for Read/Write format diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/CMakeLists.txt new file mode 100644 index 00000000..9a17dc46 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/CMakeLists.txt @@ -0,0 +1,38 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plScene_SOURCES + plCullPoly.cpp + plOccluder.cpp + plOccluderProxy.cpp + plPageTreeMgr.cpp + plPostEffectMod.cpp + plRelevanceMgr.cpp + plRelevanceRegion.cpp + plRenderRequest.cpp + plSceneNode.cpp + plVisMgr.cpp + plVisRegion.cpp +) + +set(plScene_HEADERS + plCullPoly.h + plOccluder.h + plOccluderProxy.h + plPageTreeMgr.h + plPostEffectMod.h + plRelevanceMgr.h + plRelevanceRegion.h + plRenderRequest.h + plSceneCreatable.h + plSceneNode.h + plVisMgr.h + plVisRegion.h +) + +add_library(plScene STATIC ${plScene_SOURCES} ${plScene_HEADERS}) + +source_group("Source Files" FILES ${plScene_SOURCES}) +source_group("Header Files" FILES ${plScene_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.cpp index 84c0c0a4..e15cdfe4 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.cpp @@ -28,12 +28,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plOccluder.h" #include "hsStream.h" #include "plOccluderProxy.h" -#include "../plDrawable/plDrawableGenerator.h" -#include "../plSurface/hsGMaterial.h" -#include "../plSurface/plLayerInterface.h" -#include "../plSurface/plLayer.h" -#include "../pnMessage/plNodeRefMsg.h" -#include "../pnKeyedObject/plKey.h" +#include "plDrawable/plDrawableGenerator.h" +#include "plSurface/hsGMaterial.h" +#include "plSurface/plLayerInterface.h" +#include "plSurface/plLayer.h" +#include "pnMessage/plNodeRefMsg.h" +#include "pnKeyedObject/plKey.h" #include "hsResMgr.h" #include "plgDispatch.h" #include "plVisRegion.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.h index 3096cc3e..7d6fea58 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluder.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plOccluder_inc #define plOccluder_inc -#include "../pnSceneObject/plObjInterface.h" +#include "pnSceneObject/plObjInterface.h" #include "hsTemplates.h" #include "hsMatrix44.h" #include "plCullPoly.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.cpp index 6c696757..96119e05 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.cpp @@ -27,9 +27,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "plOccluderProxy.h" #include "plOccluder.h" -#include "../plDrawable/plDrawableSpans.h" -#include "../plDrawable/plDrawableGenerator.h" -#include "../pnMessage/plProxyDrawMsg.h" +#include "plDrawable/plDrawableSpans.h" +#include "plDrawable/plDrawableGenerator.h" +#include "pnMessage/plProxyDrawMsg.h" plOccluderProxy::plOccluderProxy() : plProxyGen(hsColorRGBA().Set(0.2f,0.2f,0.8f,1.f), hsColorRGBA().Set(1.f,0.5f,0.5f,1.f), 0.5f), diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.h index 8d49781c..0a22d1c0 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plOccluderProxy.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plOccluderProxy_inc #define plOccluderProxy_inc -#include "../plDrawable/plProxyGen.h" +#include "plDrawable/plProxyGen.h" class plOccluder; class plDrawableSpans; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPageTreeMgr.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPageTreeMgr.cpp index bb17863b..f1ec0c56 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPageTreeMgr.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPageTreeMgr.cpp @@ -26,12 +26,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "plPageTreeMgr.h" -#include "../plDrawable/plSpaceTreeMaker.h" -#include "../plDrawable/plSpaceTree.h" +#include "plDrawable/plSpaceTreeMaker.h" +#include "plDrawable/plSpaceTree.h" #include "plDrawable.h" -#include "../plScene/plSceneNode.h" +#include "plScene/plSceneNode.h" #include "plPipeline.h" -#include "../plMath/hsRadixSort.h" +#include "plMath/hsRadixSort.h" #include "plCullPoly.h" #include "plOccluder.h" #include "hsFastMath.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.cpp index d0b3e8b7..b3e6c578 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.cpp @@ -30,15 +30,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plSceneNode.h" #include "plRenderRequest.h" -#include "../plPipeline/plRenderTarget.h" +#include "plPipeline/plRenderTarget.h" -#include "../plMessage/plRenderRequestMsg.h" -#include "../plMessage/plAnimCmdMsg.h" -#include "../plMessage/plRenderMsg.h" +#include "plMessage/plRenderRequestMsg.h" +#include "plMessage/plAnimCmdMsg.h" +#include "plMessage/plRenderMsg.h" -#include "../pnMessage/plRefMsg.h" +#include "pnMessage/plRefMsg.h" -#include "../pnSceneObject/plSceneObject.h" +#include "pnSceneObject/plSceneObject.h" #include "plDrawable.h" #include "plPipeline.h" #include "plgDispatch.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.h index da4c656c..453d0828 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plPostEffectMod.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plPostEffectMod_inc #define plPostEffectMod_inc -#include "../pnModifier/plSingleModifier.h" +#include "pnModifier/plSingleModifier.h" #include "hsMatrix44.h" #include "hsBitVector.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp index b8c6b2ee..7c2aab82 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plRelevanceMgr.h" #include "plRelevanceRegion.h" -#include "../plIntersect/plRegionBase.h" +#include "plIntersect/plRegionBase.h" #include "hsStream.h" #include "hsStringTokenizer.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h index ff21cf4a..0fcdd301 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plRelevanceMgr_inc #define plRelevanceMgr_inc -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" #include "hsGeometry3.h" #include "hsTemplates.h" #include "hsBitVector.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.cpp index ecc9f996..85777203 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.cpp @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsResMgr.h" #include "plRelevanceRegion.h" #include "plRelevanceMgr.h" -#include "../plIntersect/plRegionBase.h" +#include "plIntersect/plRegionBase.h" void plRelevanceRegion::Read(hsStream* s, hsResMgr* mgr) { diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.h index e19d9246..ec3c9e99 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRelevanceRegion.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plRelevanceRegion_inc #define plRelevanceRegion_inc -#include "../pnSceneObject/plObjInterface.h" +#include "pnSceneObject/plObjInterface.h" class plRelevanceMgr; class plRegionBase; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.cpp index 94ed7555..4a6ca37a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.cpp @@ -27,11 +27,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "plRenderRequest.h" #include "plPageTreeMgr.h" -#include "../plPipeline/plRenderTarget.h" +#include "plPipeline/plRenderTarget.h" #include "hsFastMath.h" #include "hsStream.h" #include "plPipeline.h" -#include "../plMessage/plRenderRequestMsg.h" +#include "plMessage/plRenderRequestMsg.h" #include "plgDispatch.h" #include "plVisMgr.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.h index 658a40dc..64873540 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plRenderRequest.h @@ -33,8 +33,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsRefCnt.h" #include "hsBitVector.h" -#include "../pnKeyedObject/plKey.h" -#include "../plMessage/plRenderRequestMsg.h" +#include "pnKeyedObject/plKey.h" +#include "plMessage/plRenderRequestMsg.h" class plRenderTarget; class plPageTreeMgr; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneCreatable.h index 199ba91a..5378a74a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneCreatable.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plSceneCreatable_inc #define plSceneCreatable_inc -#include "../pnFactory/plCreatable.h" +#include "pnFactory/plCreatable.h" #include "plSceneNode.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.cpp index 778d9c70..def7f9dc 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.cpp @@ -27,31 +27,31 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "plSceneNode.h" -#include "../pnDispatch/plDispatch.h" -#include "../plMessage/plNodeCleanupMsg.h" -#include "../pnMessage/plNodeRefMsg.h" +#include "pnDispatch/plDispatch.h" +#include "plMessage/plNodeCleanupMsg.h" +#include "pnMessage/plNodeRefMsg.h" #include "hsStream.h" #include "hsResMgr.h" -#include "../pnSceneObject/plSceneObject.h" +#include "pnSceneObject/plSceneObject.h" #include "plDrawable.h" #include "plPhysical.h" #include "plAudible.h" -#include "../plGLight/plLightInfo.h" -#include "../pnMessage/plRefMsg.h" +#include "plGLight/plLightInfo.h" +#include "pnMessage/plRefMsg.h" #include "plPipeline.h" -#include "../pnKeyedObject/plKey.h" -#include "../plDrawable/plSpaceTreeMaker.h" -#include "../plDrawable/plSpaceTree.h" +#include "pnKeyedObject/plKey.h" +#include "plDrawable/plSpaceTreeMaker.h" +#include "plDrawable/plSpaceTree.h" #include "plPageTreeMgr.h" #include "plOccluder.h" //MFHORSE //BLACK // temp hack for debugging -#include "../plDrawable/plDrawableSpans.h" -#include "../pnKeyedObject/plKeyImp.h" +#include "plDrawable/plDrawableSpans.h" +#include "pnKeyedObject/plKeyImp.h" plSceneNode::plSceneNode() : fDepth(0), diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.h index cfa363a2..06bc8015 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plSceneNode.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plSceneNode_inc #define plSceneNode_inc -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" #include "hsTemplates.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisMgr.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisMgr.h index e831cd16..845de86e 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisMgr.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisMgr.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plVisMgr_inc #define plVisMgr_inc -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" #include "hsTemplates.h" #include "hsBitVector.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.cpp index 7e55bb92..6bb9835e 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.cpp @@ -32,8 +32,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plVisMgr.h" -#include "../pnMessage/plEnableMsg.h" -#include "../plIntersect/plRegionBase.h" +#include "pnMessage/plEnableMsg.h" +#include "plIntersect/plRegionBase.h" plVisRegion::plVisRegion() : fIndex(0), diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.h index d2bcf9ff..31152440 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plScene/plVisRegion.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plVisRegion_inc #define plVisRegion_inc -#include "../pnSceneObject/plObjInterface.h" +#include "pnSceneObject/plObjInterface.h" class hsStream; class hsResMgr; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/CMakeLists.txt new file mode 100644 index 00000000..f01fa305 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/CMakeLists.txt @@ -0,0 +1,34 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plSockets_SOURCES + plBufferedSocketReader.cpp + plBufferedSocketWriter.cpp + plFdSet.cpp + plMemBuffer.cpp + plNet.cpp + plOutgoingUdpSocket.cpp + plRingBuffer.cpp + plSocket.cpp + plTcpListenSocket.cpp + plTcpSocket.cpp +) + +set(plSockets_HEADERS + plBufferedSocketReader.h + plBufferedSocketWriter.h + plFdSet.h + plMemBuffer.h + plNet.h + plOutgoingUdpSocket.h + plRingBuffer.h + plSocket.h + plTcpListenSocket.h + plTcpSocket.h +) + +add_library(plSockets STATIC ${plSockets_SOURCES} ${plSockets_HEADERS}) + +source_group("Source Files" FILES ${plSockets_SOURCES}) +source_group("Header Files" FILES ${plSockets_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plOutgoingUdpSocket.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plOutgoingUdpSocket.cpp index b34563bb..5017c85a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plOutgoingUdpSocket.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plOutgoingUdpSocket.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plOutgoingUdpSocket.h" #include "plFdSet.h" -#include "../pnNetCommon/plNetAddress.h" +#include "pnNetCommon/plNetAddress.h" #if HS_BUILD_FOR_UNIX #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpListenSocket.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpListenSocket.cpp index d397d8c2..832211f5 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpListenSocket.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpListenSocket.cpp @@ -24,7 +24,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plTcpListenSocket.h" -#include "../pnNetCommon/plNetAddress.h" +#include "pnNetCommon/plNetAddress.h" // Initialize a socket for listening diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpSocket.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpSocket.cpp index 7b9e8f22..a85ad9fa 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpSocket.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSockets/plTcpSocket.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plTcpSocket.h" #include "plFdSet.h" -#include "../pnNetCommon/plNetAddress.h" +#include "pnNetCommon/plNetAddress.h" #if HS_BUILD_FOR_UNIX #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/CMakeLists.txt new file mode 100644 index 00000000..afceb573 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/CMakeLists.txt @@ -0,0 +1,24 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +include_directories(${OPENSSL_INCLUDE_DIR}) + +set(plStatGather_SOURCES + plAutoProfile.cpp + plCalculatedProfiles.cpp + plProfileManagerFull.cpp +) + +set(plStatGather_HEADERS + plAutoProfile.h + plCalculatedProfiles.h + plProfileManagerFull.h + plStatGatherCreatable.h +) + +add_library(plStatGather STATIC ${plStatGather_SOURCES} ${plStatGather_HEADERS}) + +source_group("Source Files" FILES ${plStatGather_SOURCES}) +source_group("Header Files" FILES ${plStatGather_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.cpp index dbb293f1..ed660f0a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.cpp @@ -26,35 +26,35 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plAutoProfile.h" #include "plgDispatch.h" -#include "../plNetClient/plNetClientMgr.h" -#include "../plNetClient/plNetLinkingMgr.h" +#include "plNetClient/plNetClientMgr.h" +#include "plNetClient/plNetLinkingMgr.h" #include "hsStream.h" #include "hsTimer.h" -#include "../plMessage/plAgeLoadedMsg.h" -#include "../pnTimer/plTimerCallbackManager.h" -#include "../plMessage/plTimerCallbackMsg.h" -#include "../plAvatar/plAvatarMgr.h" -#include "../plAvatar/plArmatureMod.h" -#include "../plModifier/plSpawnModifier.h" -#include "../plMessage/plConsoleMsg.h" -#include "../pnMessage/plClientMsg.h" -#include "../plAgeLoader/plAgeLoader.h" +#include "plMessage/plAgeLoadedMsg.h" +#include "pnTimer/plTimerCallbackManager.h" +#include "plMessage/plTimerCallbackMsg.h" +#include "plAvatar/plAvatarMgr.h" +#include "plAvatar/plArmatureMod.h" +#include "plModifier/plSpawnModifier.h" +#include "plMessage/plConsoleMsg.h" +#include "pnMessage/plClientMsg.h" +#include "plAgeLoader/plAgeLoader.h" #include "plProfileManagerFull.h" -#include "../plFile/plFileUtils.h" +#include "plFile/plFileUtils.h" -#include "../plPipeline/plDebugText.h" -#include "../pnMessage/plTimeMsg.h" +#include "plPipeline/plDebugText.h" +#include "pnMessage/plTimeMsg.h" -#include "../plStatusLog/plStatusLog.h" -#include "../plVault/plVault.h" +#include "plStatusLog/plStatusLog.h" +#include "plVault/plVault.h" -#include "../plContainer/plConfigInfo.h" // for plStringList +#include "plContainer/plConfigInfo.h" // for plStringList // For taking screenshots -#include "../plGImage/plMipmap.h" -#include "../Apps/plClient/plClient.h" -#include "../plJPEG/plJPEG.h" +#include "plGImage/plMipmap.h" +#include "../../Apps/plClient/plClient.h" +#include "plJPEG/plJPEG.h" #include "plPipeline.h" #include diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.h index db48caf0..4fa991bd 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plAutoProfile_h_inc #define plAutoProfile_h_inc -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" class plAutoProfile : public hsKeyedObject { diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plCalculatedProfiles.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plCalculatedProfiles.cpp index 2898838d..26fc2a7c 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plCalculatedProfiles.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plCalculatedProfiles.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "plProfile.h" #include "plProfileManager.h" -#include "../plNetClient/plNetClientMgr.h" +#include "plNetClient/plNetClientMgr.h" #include "hsTimer.h" plProfile_CreateCounter("Age Upload BitsPerSec", "Network", UploadAgeBitsPerSec); diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp index 3a4d0962..c45ec1f3 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp @@ -26,15 +26,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plProfileManagerFull.h" #include "plProfileManager.h" -#include "../plPipeline/plDebugText.h" -#include "../plPipeline/plPlates.h" +#include "plPipeline/plDebugText.h" +#include "plPipeline/plPlates.h" #include "plCalculatedProfiles.h" #include "hsStream.h" -#include "../pnUtils/pnUtils.h" -#include "../plUnifiedTime/plUnifiedTime.h" -#include "../plFile/plFileUtils.h" +#include "pnUtils/pnUtils.h" +#include "plUnifiedTime/plUnifiedTime.h" +#include "plFile/plFileUtils.h" plProfileManagerFull::plProfileManagerFull() : fVars(plProfileManager::Instance().fVars), @@ -427,7 +427,7 @@ const wchar* plProfileManagerFull::GetProfilePath() plFileUtils::CreateDir(profilePath); wchar buff[256]; - swprintf(buff, L"%02d-%02d-%04d_%02d-%02d//", + swprintf(buff, 256, L"%02d-%02d-%04d_%02d-%02d//", curTime.GetMonth(), curTime.GetDay(), curTime.GetYear(), diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plStatGatherCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plStatGatherCreatable.h index d7f98b23..e64578b8 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plStatGatherCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatGather/plStatGatherCreatable.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plStatGatherCreatable_h_inc #define plStatGatherCreatable_h_inc -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plAutoProfile.h" REGISTER_NONCREATABLE(plAutoProfile); diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/CMakeLists.txt new file mode 100644 index 00000000..8f8e2dbf --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plStatusLog_SOURCES + plEncryptLogLine.cpp + plLoggable.cpp + plStatusLog.cpp +) + +set(plStatusLog_HEADERS + plEncryptLogLine.h + plLoggable.h + plStatusLog.h +) + +add_library(plStatusLog STATIC ${plStatusLog_SOURCES} ${plStatusLog_HEADERS}) + +source_group("Source Files" FILES ${plStatusLog_SOURCES}) +source_group("Header Files" FILES ${plStatusLog_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/plStatusLog.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/plStatusLog.cpp index 39c188c2..3ed362fe 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/plStatusLog.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStatusLog/plStatusLog.cpp @@ -45,16 +45,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTemplates.h" #include "hsTimer.h" #include "hsStlUtils.h" -#include "../plFile/plFileUtils.h" +#include "plFile/plFileUtils.h" #include "plStatusLog.h" #include "plPipeline.h" -#include "../plPipeline/plDebugText.h" +#include "plPipeline/plDebugText.h" #include "hsStlUtils.h" -#include "../plFile/hsFiles.h" -#include "../plUnifiedTime/plUnifiedTime.h" -#include "../pnNetCommon/plNetApp.h" -#include "../pnUtils/pnUtils.h" -#include "../pnProduct/pnProduct.h" +#include "plFile/hsFiles.h" +#include "plUnifiedTime/plUnifiedTime.h" +#include "pnNetCommon/plNetApp.h" +#include "pnUtils/pnUtils.h" +#include "pnProduct/pnProduct.h" #include "plEncryptLogLine.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStreamLogger/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStreamLogger/CMakeLists.txt new file mode 100644 index 00000000..4c42edd4 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plStreamLogger/CMakeLists.txt @@ -0,0 +1,16 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plStreamLogger_SOURCES + plStreamLogger.cpp +) + +set(plStreamLogger_HEADERS + plStreamLogger.h +) + +add_library(plStreamLogger STATIC ${plStreamLogger_SOURCES} ${plStreamLogger_HEADERS}) + +source_group("Source Files" FILES ${plStreamLogger_SOURCES}) +source_group("Header Files" FILES ${plStreamLogger_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/CMakeLists.txt new file mode 100644 index 00000000..f03327d1 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/CMakeLists.txt @@ -0,0 +1,81 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plSurface_SOURCES + hsGMaterial.cpp + plGrassShaderMod.cpp + plLayer.cpp + plLayerAnimation.cpp + plLayerDepth.cpp + plLayerInterface.cpp + plLayerMultiply.cpp + plLayerOr.cpp + plLayerShadowBase.cpp + plShader.cpp + plShaderTable.cpp +) + +set(plSurface_HEADERS + hsGMaterial.h + plGrassShaderMod.h + plLayer.h + plLayerAnimation.h + plLayerDepth.h + plLayerInterface.h + plLayerMultiply.h + plLayerOr.h + plLayerShadowBase.h + plShader.h + plShaderTable.h + plSurfaceCreatable.h +) + +set(plSurface_SHADERS + ps_BiasNormals.h + ps_CaddAAdd.h + ps_CaddAbase.h + ps_CaddAMult.h + ps_CalphaAadd.h + ps_CalphaAbase.h + ps_CalphaAMult.h + ps_CbaseAbase.h + ps_CmultAAdd.h + ps_CmultAbase.h + ps_CmultAMult.h + ps_CompCosines.h + ps_GrassShader.h + ps_MoreCosines.h + ps_ShoreLeave6.h + ps_WaveDecEnv.h + ps_WaveFixed.h + ps_WaveGraph.h + ps_WaveGrid.h + ps_WaveRip.h + vs_BiasNormals.h + vs_CompCosines.h + vs_GrassShader.h + vs_ShoreLeave6.h + vs_ShoreLeave7.h + vs_WaveDec1Lay.h + vs_WaveDec1Lay_7.h + vs_WaveDec2Lay11.h + vs_WaveDec2Lay11_7.h + vs_WaveDec2Lay12.h + vs_WaveDec2Lay12_7.h + vs_WaveDecEnv.h + vs_WaveDecEnv_7.h + vs_WaveFixedFin6.h + vs_WaveFixedFin7.h + vs_WaveGraph2.h + vs_WaveGridFin.h + vs_WaveRip.h + vs_WaveRip7.h +) + +add_library(plSurface STATIC ${plSurface_SOURCES} ${plSurface_HEADERS} ${plSurface_SHADERS}) + +source_group("Source Files" FILES ${plSurface_SOURCES}) +source_group("Header Files" FILES ${plSurface_HEADERS}) +source_group("Shaders" FILES ${plSurface_SHADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/hsGMaterial.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/hsGMaterial.cpp index babcd1a8..a5ec1441 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/hsGMaterial.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/hsGMaterial.cpp @@ -33,7 +33,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsResMgr.h" #include "plLayerInterface.h" #include "plLayer.h" -#include "../plMessage/plMatRefMsg.h" +#include "plMessage/plMatRefMsg.h" #include "plProfile.h" plProfile_CreateTimer("MaterialAnims", "Animation", MaterialAnims); diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp index 1602e0c9..cb531c8b 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp @@ -29,23 +29,23 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsResMgr.h" #include "plgDispatch.h" -#include "../pnKeyedObject/plUoid.h" +#include "pnKeyedObject/plUoid.h" -//#include "../pnSceneObject/plDrawInterface.h" +//#include "pnSceneObject/plDrawInterface.h" -#include "../pnMessage/plObjRefMsg.h" -#include "../pnMessage/plTimeMsg.h" -#include "../plMessage/plMatRefMsg.h" -#include "../plMessage/plAgeLoadedMsg.h" -#include "../plMessage/plLayRefMsg.h" +#include "pnMessage/plObjRefMsg.h" +#include "pnMessage/plTimeMsg.h" +#include "plMessage/plMatRefMsg.h" +#include "plMessage/plAgeLoadedMsg.h" +#include "plMessage/plLayRefMsg.h" -#include "../plDrawable/plAccessGeometry.h" -#include "../plDrawable/plAccessSpan.h" -#include "../plDrawable/plAccessVtxSpan.h" +#include "plDrawable/plAccessGeometry.h" +#include "plDrawable/plAccessSpan.h" +#include "plDrawable/plAccessVtxSpan.h" -#include "../plSurface/hsGMaterial.h" -#include "../plSurface/plShader.h" -#include "../plSurface/plLayer.h" +#include "plSurface/hsGMaterial.h" +#include "plSurface/plShader.h" +#include "plSurface/plLayer.h" void plGrassWave::Write(hsStream *s) { diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.h index e8374a3f..e39f3f51 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef PLGRASSSHADERMOD_INC #define PLGRASSSHADERMOD_INC -#include "../pnModifier/plModifier.h" +#include "pnModifier/plModifier.h" class plSceneObject; class hsGMaterial; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayer.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayer.cpp index 2e0c5e59..ca5bfcde 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayer.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayer.cpp @@ -26,19 +26,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "plLayer.h" -#include "../plMessage/plAnimCmdMsg.h" +#include "plMessage/plAnimCmdMsg.h" #include "hsStream.h" #include "hsResMgr.h" #include "hsMatrix44.h" #include "hsGMatState.inl" -#include "../plMessage/plLayRefMsg.h" -#include "../plGImage/plBitmap.h" -#include "../plPipeline/hsGDeviceRef.h" +#include "plMessage/plLayRefMsg.h" +#include "plGImage/plBitmap.h" +#include "plPipeline/hsGDeviceRef.h" #include "plShader.h" #include "plPipeline.h" #include "plgDispatch.h" -#include "../pnMessage/plPipeResMakeMsg.h" +#include "pnMessage/plPipeResMakeMsg.h" plLayer::plLayer() { diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.cpp index 053e6aea..70028f62 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.cpp @@ -27,21 +27,21 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "hsTimer.h" #include "plLayerAnimation.h" -#include "../pnKeyedObject/plKey.h" - -#include "../plInterp/plController.h" -#include "../plMessage/plAnimCmdMsg.h" -#include "../plMessage/plLinkToAgeMsg.h" -#include "../pnMessage/plSDLModifierMsg.h" -#include "../plModifier/plLayerSDLModifier.h" -#include "../pnMessage/plCameraMsg.h" -#include "../plNetClient/plLinkEffectsMgr.h" +#include "pnKeyedObject/plKey.h" + +#include "plInterp/plController.h" +#include "plMessage/plAnimCmdMsg.h" +#include "plMessage/plLinkToAgeMsg.h" +#include "pnMessage/plSDLModifierMsg.h" +#include "plModifier/plLayerSDLModifier.h" +#include "pnMessage/plCameraMsg.h" +#include "plNetClient/plLinkEffectsMgr.h" #include "plgDispatch.h" #include "hsResMgr.h" -#include "../plModifier/plSDLModifier.h" -#include "../plSDL/plSDL.h" -#include "../pnMessage/plSDLNotificationMsg.h" -#include "../plMessage/plAvatarMsg.h" +#include "plModifier/plSDLModifier.h" +#include "plSDL/plSDL.h" +#include "pnMessage/plSDLNotificationMsg.h" +#include "plMessage/plAvatarMsg.h" plLayerAnimationBase::plLayerAnimationBase() : diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.h index 1bbd30eb..0913067d 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerAnimation.h @@ -28,7 +28,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plLayerAnimation_inc #include "plLayerInterface.h" -#include "../plInterp/plAnimTimeConvert.h" +#include "plInterp/plAnimTimeConvert.h" class plMessage; class plController; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.cpp index 96bfd557..02ef1aef 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.cpp @@ -26,12 +26,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsTypes.h" #include "plLayerInterface.h" -#include "../plMessage/plLayRefMsg.h" +#include "plMessage/plLayRefMsg.h" #include "plLayer.h" #include "hsMatrix44.h" #include "hsGMatState.h" #include "hsResMgr.h" -#include "../pnNetCommon/plSDLTypes.h" +#include "pnNetCommon/plSDLTypes.h" plLayerInterface::plLayerInterface() : fUnderLay(nil), diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.h index 0b5fe064..645231dd 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plLayerInterface.h @@ -27,8 +27,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plLayerInterface_inc #define plLayerInterface_inc -#include "../pnNetCommon/plSynchedValue.h" -#include "../pnNetCommon/plSynchedObject.h" +#include "pnNetCommon/plSynchedValue.h" +#include "pnNetCommon/plSynchedObject.h" #include "hsGMatState.h" struct hsMatrix44; diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.cpp index d44d9e2b..a9cbc87a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.cpp @@ -33,7 +33,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsMatrix44.h" #include "hsColorRGBA.h" -#include "../plPipeline/hsGDeviceRef.h" +#include "plPipeline/hsGDeviceRef.h" // Little shader const helper diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.h index 1db69fe5..e2ee90a4 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plShader.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plShader_inc #define plShader_inc -#include "../pnKeyedObject/hsKeyedObject.h" +#include "pnKeyedObject/hsKeyedObject.h" #include "hsTemplates.h" #include "hsGeometry3.h" #include "hsMatrix44.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plSurfaceCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plSurfaceCreatable.h index e38170f9..c3810e50 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plSurfaceCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plSurface/plSurfaceCreatable.h @@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plSurfaceCreatable_inc #define plSurfaceCreatable_inc -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "hsGMaterial.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/CMakeLists.txt new file mode 100644 index 00000000..55214a7f --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plTransform_SOURCES + hsAffineParts.cpp + hsEuler.cpp + mat_decomp.cpp +) + +set(plTransform_HEADERS + hsAffineParts.h + hsEuler.h + mat_decomp.h +) + +add_library(plTransform STATIC ${plTransform_SOURCES} ${plTransform_HEADERS}) + +source_group("Source Files" FILES ${plTransform_SOURCES}) +source_group("Header Files" FILES ${plTransform_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/hsAffineParts.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/hsAffineParts.cpp index ae9eb19a..0b501f53 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/hsAffineParts.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plTransform/hsAffineParts.cpp @@ -25,7 +25,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "HeadSpin.h" #include "hsAffineParts.h" -#include "../plInterp/hsInterp.h" +#include "plInterp/hsInterp.h" #include "hsStream.h" #include "plProfile.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUUID/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUUID/CMakeLists.txt new file mode 100644 index 00000000..d65367e6 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUUID/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plUUID_SOURCES + plUUID.cpp +) + +if(WIN32) + set(plUUID_SOURCES ${plUUID_SOURCES} plUUID_Win32.cpp) +endif(WIN32) + +set(plUUID_HEADERS + plUUID.h +) + +add_library(plUUID STATIC ${plUUID_SOURCES} ${plUUID_HEADERS}) + +source_group("Source Files" FILES ${plUUID_SOURCES}) +source_group("Header Files" FILES ${plUUID_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/CMakeLists.txt new file mode 100644 index 00000000..7bbe8693 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories("../../CoreLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plUnifiedTime_SOURCES + plClientUnifiedTime.cpp + plTimeSpan.cpp + plUnifiedTime.cpp +) + +set(plUnifiedTime_HEADERS + plClientUnifiedTime.h + plTimeSpan.h + plUnifiedTime.h +) + +add_library(plUnifiedTime STATIC ${plUnifiedTime_SOURCES} ${plUnifiedTime_HEADERS}) + +source_group("Source Files" FILES ${plUnifiedTime_SOURCES}) +source_group("Header Files" FILES ${plUnifiedTime_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/plClientUnifiedTime.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/plClientUnifiedTime.cpp index ea76c2a5..be9cd442 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/plClientUnifiedTime.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plUnifiedTime/plClientUnifiedTime.cpp @@ -29,8 +29,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plClientUnifiedTime.h" #if 0 -#include "../plNetClient/plNetObjectDebugger.h" -#include "../plNetClient/plNetClientMgr.h" +#include "plNetClient/plNetObjectDebugger.h" +#include "plNetClient/plNetClientMgr.h" #endif // static diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/CMakeLists.txt b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/CMakeLists.txt new file mode 100644 index 00000000..81a78a06 --- /dev/null +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/CMakeLists.txt @@ -0,0 +1,30 @@ +include_directories("../../CoreLib") +include_directories("../../FeatureLib") +include_directories("../../NucleusLib/inc") +include_directories("../../NucleusLib") +include_directories("../../PubUtilLib") + +set(plVault_SOURCES + plDniCoordinateInfo.cpp + plVault.cpp + plVaultClientApi.cpp + plVaultConstants.cpp + plVaultNodeAccess.cpp +) + +set(plVault_HEADERS + Intern.h + Pch.h + plAgeInfoSource.h + plDniCoordinateInfo.h + plVault.h + plVaultClientApi.h + plVaultConstants.h + plVaultCreatable.h + plVaultNodeAccess.h +) + +add_library(plVault STATIC ${plVault_SOURCES} ${plVault_HEADERS}) + +source_group("Source Files" FILES ${plVault_SOURCES}) +source_group("Header Files" FILES ${plVault_HEADERS}) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/Pch.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/Pch.h index 77889bf7..b622cc4a 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/Pch.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/Pch.h @@ -50,24 +50,24 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsStlUtils.h" #include "hsStringTokenizer.h" #include "hsGeometry3.h" -#include "../plSDL/plSDL.h" -#include "../plUnifiedTime/plUnifiedTime.h" -#include "../plNetCommon/plNetCommon.h" -#include "../plNetCommon/plNetServerSessionInfo.h" -#include "../plNetCommon/plSpawnPointInfo.h" -#include "../pnDispatch/plDispatch.h" +#include "plSDL/plSDL.h" +#include "plUnifiedTime/plUnifiedTime.h" +#include "plNetCommon/plNetCommon.h" +#include "plNetCommon/plNetServerSessionInfo.h" +#include "plNetCommon/plSpawnPointInfo.h" +#include "pnDispatch/plDispatch.h" #include "plDniCoordinateInfo.h" -#include "../plGImage/plMipmap.h" -#include "../plJPEG/plJPEG.h" -#include "../plMessage/plVaultNotifyMsg.h" -#include "../plNetClientComm/plNetClientComm.h" +#include "plGImage/plMipmap.h" +#include "plJPEG/plJPEG.h" +#include "plMessage/plVaultNotifyMsg.h" +#include "plNetClientComm/plNetClientComm.h" #define KI_CONSTANTS_ONLY -#include "../../FeatureLib/pfMessage/pfKIMsg.h" // for KI level constants =( +#include "pfMessage/pfKIMsg.h" // for KI level constants =( #undef KI_CONSTANTS_ONLY #pragma warning(pop) -#include "../plNetGameLib/plNetGameLib.h" +#include "plNetGameLib/plNetGameLib.h" #endif // def CLIENT diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plDniCoordinateInfo.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plDniCoordinateInfo.h index fd851bfd..18535f43 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plDniCoordinateInfo.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plDniCoordinateInfo.h @@ -28,7 +28,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "hsConfig.h" #include "hsStlUtils.h" -#include "../pnFactory/plCreatable.h" +#include "pnFactory/plCreatable.h" /////////////////////////////////////////////////////////////////// diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVault.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVault.h index cfcdb182..9413e959 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVault.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVault.h @@ -32,10 +32,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef PLASMA20_SOURCES_PLASMA_PUBUTILLIB_PLVAULT_PLVAULT_H #define PLASMA20_SOURCES_PLASMA_PUBUTILLIB_PLVAULT_PLVAULT_H -#include "../pnUtils/pnUtils.h" -#include "../pnNetBase/pnNetBase.h" -#include "../pnNetProtocol/pnNetProtocol.h" -#include "../pnAsyncCore/pnAsyncCore.h" +#include "pnUtils/pnUtils.h" +#include "pnNetBase/pnNetBase.h" +#include "pnNetProtocol/pnNetProtocol.h" +#include "pnAsyncCore/pnAsyncCore.h" #include "plVaultConstants.h" #include "plVaultNodeAccess.h" diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVaultCreatable.h b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVaultCreatable.h index 1697a116..ae40fe9d 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVaultCreatable.h +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plVault/plVaultCreatable.h @@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plVaultCreatable_h_inc #define plVaultCreatable_h_inc -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plDniCoordinateInfo.h" REGISTER_CREATABLE( plDniCoordinateInfo );