mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Finish the port of FeatureLib to CMake
This commit is contained in:
@ -0,0 +1,40 @@
|
||||
include_directories(../../CoreLib)
|
||||
include_directories(../../NucleusLib)
|
||||
include_directories(../../NucleusLib/inc)
|
||||
include_directories(../../PubUtilLib)
|
||||
|
||||
set(pfConditional_SOURCES
|
||||
plActivatorConditionalObject.cpp
|
||||
plANDConditionalObject.cpp
|
||||
plAnimationEventConditionalObject.cpp
|
||||
plControlEventConditionalObject.cpp
|
||||
plFacingConditionalObject.cpp
|
||||
plKeyPressConditionalObject.cpp
|
||||
plLocalPlayerInBoxConditionalObject.cpp
|
||||
plLocalPlayerIntersectPlaneConditionalObject.cpp
|
||||
plObjectInBoxConditionalObject.cpp
|
||||
plObjectIntersectPlaneConditionalObject.cpp
|
||||
plORConditionalObject.cpp
|
||||
plPickedConditionalObject.cpp
|
||||
)
|
||||
|
||||
set(pfConditional_HEADERS
|
||||
plActivatorConditionalObject.h
|
||||
plANDConditionalObject.h
|
||||
plAnimationEventConditionalObject.h
|
||||
plConditionalObjectCreatable.h
|
||||
plControlEventConditionalObject.h
|
||||
plFacingConditionalObject.h
|
||||
plKeyPressConditionalObject.h
|
||||
plLocalPlayerInBoxConditionalObject.h
|
||||
plLocalPlayerIntersectPlaneConditionalObject.h
|
||||
plObjectInBoxConditionalObject.h
|
||||
plObjectIntersectPlaneConditionalObject.h
|
||||
plORConditionalObject.h
|
||||
plPickedConditionalObject.h
|
||||
)
|
||||
|
||||
add_library(pfConditional ${pfConditional_SOURCES} ${pfConditional_HEADERS})
|
||||
|
||||
source_group("Source Files" FILES ${pfConditional_SOURCES})
|
||||
source_group("Header Files" FILES ${pfConditional_HEADERS})
|
@ -25,11 +25,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plANDConditionalObject.h"
|
||||
#include "../plPhysical/plDetectorModifier.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "../plMessage/plCondRefMsg.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plMessage/plCondRefMsg.h"
|
||||
|
||||
plANDConditionalObject::plANDConditionalObject()
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plANDConditionalObject_inc
|
||||
#define plANDConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
class plANDConditionalObject : public plConditionalObject
|
||||
|
@ -25,10 +25,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plActivatorConditionalObject.h"
|
||||
#include "../plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "../plMessage/plActivatorMsg.h"
|
||||
#include "../pnMessage/plNotifyMsg.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plMessage/plActivatorMsg.h"
|
||||
#include "pnMessage/plNotifyMsg.h"
|
||||
|
||||
|
||||
plActivatorConditionalObject::plActivatorConditionalObject()
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plActivatorConditionalObject_inc
|
||||
#define plActivatorConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
class plKey;
|
||||
|
@ -25,12 +25,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plAnimationEventConditionalObject.h"
|
||||
#include "../pnInputCore/plKeyDef.h"
|
||||
#include "../plModifier/plSimpleModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "pnInputCore/plKeyDef.h"
|
||||
#include "plModifier/plSimpleModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "../plMessage/plAnimCmdMsg.h"
|
||||
#include "plMessage/plAnimCmdMsg.h"
|
||||
|
||||
plAnimationEventConditionalObject::plAnimationEventConditionalObject(plKey pTargetModifier) :
|
||||
fTarget(pTargetModifier),
|
||||
|
@ -27,9 +27,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plAnimationEventConditionalObject_inc
|
||||
#define plAnimationEventConditionalObject_inc
|
||||
|
||||
#include "../pnModifier/plConditionalObject.h"
|
||||
#include "../pnInputCore/plKeyDef.h"
|
||||
#include "../pnMessage/plEventCallbackMsg.h" // AnimationEvent's defined here
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "pnInputCore/plKeyDef.h"
|
||||
#include "pnMessage/plEventCallbackMsg.h" // AnimationEvent's defined here
|
||||
|
||||
|
||||
class plAnimationEventConditionalObject : public plConditionalObject
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plConditionalObjectCreatable_inc
|
||||
#define plConditionalObjectCreatable_inc
|
||||
|
||||
#include "../pnFactory/plCreator.h"
|
||||
#include "pnFactory/plCreator.h"
|
||||
|
||||
#include "plANDConditionalObject.h"
|
||||
|
||||
|
@ -25,9 +25,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plControlEventConditionalObject.h"
|
||||
#include "../plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "../plMessage/plInputEventMsg.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plMessage/plInputEventMsg.h"
|
||||
|
||||
plControlEventConditionalObject::plControlEventConditionalObject()
|
||||
{
|
||||
|
@ -27,8 +27,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plControlEventConditionalObject_inc
|
||||
#define plControlEventConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "../../NucleusLib/pnInputCore/plControlEventCodes.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "pnInputCore/plControlEventCodes.h"
|
||||
|
||||
|
||||
class plControlEventConditionalObject : public plConditionalObject
|
||||
|
@ -26,14 +26,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsTypes.h"
|
||||
#include "plFacingConditionalObject.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "../plMessage/plActivatorMsg.h"
|
||||
#include "../pnSceneObject/plSceneObject.h"
|
||||
#include "../pnSceneObject/plCoordinateInterface.h"
|
||||
#include "../pnKeyedObject/plKey.h"
|
||||
#include "../pnMessage/plNotifyMsg.h"
|
||||
#include "../pnMessage/plFakeOutMsg.h"
|
||||
#include "../pnNetCommon/plNetApp.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plMessage/plActivatorMsg.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnSceneObject/plCoordinateInterface.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "pnMessage/plNotifyMsg.h"
|
||||
#include "pnMessage/plFakeOutMsg.h"
|
||||
#include "pnNetCommon/plNetApp.h"
|
||||
|
||||
plFacingConditionalObject::plFacingConditionalObject() :
|
||||
fTolerance(-1.0f),
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plFacingConditionalObject_inc
|
||||
#define plFacingConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
|
||||
class plSceneObject;
|
||||
|
||||
|
@ -25,9 +25,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plKeyPressConditionalObject.h"
|
||||
#include "../plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "../plMessage/plInputEventMsg.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plMessage/plInputEventMsg.h"
|
||||
|
||||
plKeyPressConditionalObject::plKeyPressConditionalObject()
|
||||
{
|
||||
|
@ -27,8 +27,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plKeyPressConditionalObject_inc
|
||||
#define plKeyPressConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "../../NucleusLib/pnInputCore/plKeyDef.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "pnInputCore/plKeyDef.h"
|
||||
|
||||
|
||||
class plKeyPressConditionalObject : public plConditionalObject
|
||||
|
@ -25,8 +25,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plLocalPlayerInBoxConditionalObject.h"
|
||||
#include "../../PubUtilLib/plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
|
||||
plLocalPlayerInBoxConditionalObject::plLocalPlayerInBoxConditionalObject()
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plLocalPlayerInBoxConditionalObject_inc
|
||||
#define plLocalPlayerInBoxConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
|
||||
class plKey;
|
||||
|
||||
|
@ -25,8 +25,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plLocalPlayerIntersectPlaneConditionalObject.h"
|
||||
#include "../../PubUtilLib/plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
|
||||
plLocalPlayerIntersectPlaneConditionalObject::plLocalPlayerIntersectPlaneConditionalObject()
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plLocalPlayerIntersectPlaneConditionalObject_inc
|
||||
#define plLocalPlayerIntersectPlaneConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
|
||||
class plKey;
|
||||
|
||||
|
@ -25,11 +25,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plORConditionalObject.h"
|
||||
#include "../plPhysical/plDetectorModifier.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
|
||||
#include "../plMessage/plCondRefMsg.h"
|
||||
#include "plMessage/plCondRefMsg.h"
|
||||
|
||||
|
||||
plORConditionalObject::plORConditionalObject()
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plORConditionalObject_inc
|
||||
#define plORConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
class plORConditionalObject : public plConditionalObject
|
||||
|
@ -25,14 +25,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plObjectInBoxConditionalObject.h"
|
||||
#include "../../PubUtilLib/plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "../../PubUtilLib/plMessage/plActivatorMsg.h"
|
||||
#include "../pnMessage/plNotifyMsg.h"
|
||||
#include "../pnMessage/plFakeOutMsg.h"
|
||||
#include "../pnNetCommon/plNetApp.h"
|
||||
#include "../plAvatar/plArmatureMod.h"
|
||||
#include "../pnSceneObject/plSceneObject.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
#include "plMessage/plActivatorMsg.h"
|
||||
#include "pnMessage/plNotifyMsg.h"
|
||||
#include "pnMessage/plFakeOutMsg.h"
|
||||
#include "pnNetCommon/plNetApp.h"
|
||||
#include "plAvatar/plArmatureMod.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
|
||||
bool plVolumeSensorConditionalObject::makeBriceHappyVar = true;
|
||||
|
||||
@ -277,8 +277,8 @@ void plVolumeSensorConditionalObject::Write(hsStream* stream, hsResMgr* mgr)
|
||||
stream->WriteSwap32(fType);
|
||||
stream->WriteBool(fFirst);
|
||||
}
|
||||
#include "../pnMessage/plPlayerPageMsg.h"
|
||||
#include "../../NucleusLib/inc/plgDispatch.h"
|
||||
#include "pnMessage/plPlayerPageMsg.h"
|
||||
#include "plgDispatch.h"
|
||||
hsBool plVolumeSensorConditionalObjectNoArbitration::MsgReceive(plMessage* msg)
|
||||
{
|
||||
plActivatorMsg* pActivateMsg = plActivatorMsg::ConvertNoRef(msg);
|
||||
@ -429,4 +429,4 @@ void plVolumeSensorConditionalObjectNoArbitration::Read(hsStream* stream, hsResM
|
||||
{
|
||||
plVolumeSensorConditionalObject::Read(stream, mgr);
|
||||
plgDispatch::Dispatch()->RegisterForExactType(plPlayerPageMsg::Index(), GetKey());
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plObjectInBoxConditionalObject_inc
|
||||
#define plObjectInBoxConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
class plKey;
|
||||
|
@ -25,8 +25,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plObjectIntersectPlaneConditionalObject.h"
|
||||
#include "../../PubUtilLib/plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
|
||||
plObjectIntersectPlaneConditionalObject::plObjectIntersectPlaneConditionalObject()
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plObjectIntersectPlaneConditionalObject_inc
|
||||
#define plObjectIntersectPlaneConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
|
||||
class plKey;
|
||||
|
||||
|
@ -25,10 +25,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "hsTypes.h"
|
||||
#include "plPickedConditionalObject.h"
|
||||
#include "../../PubUtilLib/plPhysical/plDetectorModifier.h"
|
||||
#include "../../NucleusLib/pnModifier/plLogicModBase.h"
|
||||
#include "plPhysical/plDetectorModifier.h"
|
||||
#include "pnModifier/plLogicModBase.h"
|
||||
|
||||
#include "../plMessage/plActivatorMsg.h"
|
||||
#include "plMessage/plActivatorMsg.h"
|
||||
|
||||
plPickedConditionalObject::plPickedConditionalObject()
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plPickedConditionalObject_inc
|
||||
#define plPickedConditionalObject_inc
|
||||
|
||||
#include "../../NucleusLib/pnModifier/plConditionalObject.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
|
||||
class plKey;
|
||||
|
||||
|
Reference in New Issue
Block a user