mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Smack MaxComponent
This is a huge, complicated project. Therefore, this untangling is not as comprehensive as the others. It should compile faster and be a little bit neater, but that's it. Don't expect the headers to look much better!
This commit is contained in:
@ -52,7 +52,6 @@ set(MaxComponent_HEADERS
|
||||
plGrassComponent.h
|
||||
plGUICompClassIDs.h
|
||||
plGUIComponents.h
|
||||
plImpactGadgetComponent.h
|
||||
plInventoryObjComponent.h
|
||||
plLightGrpComponent.h
|
||||
plLightMapComponent.h
|
||||
@ -109,7 +108,6 @@ set(MaxComponent_SOURCES
|
||||
plAnimCompProc.cpp
|
||||
plAnimEventComponent.cpp
|
||||
plAudioComponents.cpp
|
||||
plAutoComponent.cpp
|
||||
plAutoUIBase.cpp
|
||||
plAutoUIBlock.cpp
|
||||
plAutoUIComp.cpp
|
||||
@ -126,7 +124,6 @@ set(MaxComponent_SOURCES
|
||||
plClimbComponent.cpp
|
||||
plClothingComponent.cpp
|
||||
plClusterComponent.cpp
|
||||
plComponent.cpp
|
||||
plComponentBase.cpp
|
||||
plComponentMgr.cpp
|
||||
plComponentTools.cpp
|
||||
@ -139,7 +136,6 @@ set(MaxComponent_SOURCES
|
||||
plGrassComponent.cpp
|
||||
plGUIComponents.cpp
|
||||
plIgnoreComponent.cpp
|
||||
plImpactGadgetComponent.cpp
|
||||
plInventoryObjComponent.cpp
|
||||
plLightGrpComponent.cpp
|
||||
plLightMapComponent.cpp
|
||||
@ -185,6 +181,7 @@ set(MaxComponent_SOURCES
|
||||
plXImposter.cpp
|
||||
)
|
||||
|
||||
use_precompiled_header(Pch.h Pch.cpp MaxComponent_HEADERS MaxComponent_SOURCES)
|
||||
add_library(MaxComponent
|
||||
STATIC
|
||||
${MaxComponent_HEADERS}
|
||||
|
@ -39,9 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h" // Needed for the kTargs enum
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "Pch.h"
|
||||
|
||||
/**
|
||||
* \file Pch.cpp
|
||||
* \brief Precompiled Header object for MaxComponent
|
||||
*
|
||||
* This file prompts MSVC to generate a PCH file for the MaxComponent project. It
|
||||
* has no function if precompiled headers are disabled in cmake.
|
||||
*/
|
@ -39,61 +39,86 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
// Don't delete this, I use it for testing -Colin
|
||||
#if 0
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#ifndef _MaxComponent_Pch_inc_
|
||||
#define _MaxComponent_Pch_inc_
|
||||
|
||||
/**
|
||||
* \file Pch.h
|
||||
* \brief Precompiled Header for MaxComponent
|
||||
*/
|
||||
|
||||
// Standard Library
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Core Plasma
|
||||
#include "HeadSpin.h"
|
||||
#include "plAudible.h"
|
||||
#include "plCreatableIndex.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "plFileUtils.h"
|
||||
#include "hsFiles.h"
|
||||
#include "hsGeometry3.h"
|
||||
#include "plLoadMask.h"
|
||||
#include "hsMatrix44.h"
|
||||
#include "plPhysical.h"
|
||||
#include "plQuality.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "hsStlSortUtils.h"
|
||||
#include "hsStream.h"
|
||||
#include "hsStringTokenizer.h"
|
||||
#include "hsTemplates.h"
|
||||
#include "hsThread.h"
|
||||
#include "plTweak.h"
|
||||
|
||||
// Windows
|
||||
#include "hsWindows.h"
|
||||
#include <commdlg.h>
|
||||
#include <shlwapi.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
// These MaxComponent headers will trigger a rebuild if they are changed
|
||||
// So it's probably best to precompile them anyway.
|
||||
// Some of these may include 3dsm headers, so ensure they come after hsWindows.h
|
||||
#include "plComponent.h"
|
||||
#include "plComponentProcBase.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "plAutoUIComp.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plAnimEventComponent.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "plAudioComponents.h"
|
||||
#include "plBehavioralComponents.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
#include "plActivatorComponent.h"
|
||||
#include "resource.h"
|
||||
|
||||
class plAutoComponent : public plComponent
|
||||
{
|
||||
public:
|
||||
plAutoComponent();
|
||||
// Useful Stuff from MaxMain
|
||||
// Changing any of this would likely cause a rebuild, regardless of it being here.
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plMaxNodeData.h"
|
||||
|
||||
bool Convert(plMaxNode *node, plErrorMsg *msg);
|
||||
};
|
||||
// 3ds Max SDK
|
||||
// This stuff should ALWAYS come after hsWindows.h
|
||||
#include <bmmlib.h>
|
||||
#include <CS/bipexp.h>
|
||||
#include <decomp.h>
|
||||
#include <dummy.h>
|
||||
#include <iparamm2.h>
|
||||
#include <meshdlib.h>
|
||||
#include <notetrck.h>
|
||||
#include <notify.h>
|
||||
#include <stdmat.h>
|
||||
|
||||
AUTO_CLASS_DESC(plAutoComponent, gAutoDesc, "Auto", "Auto", "Test", Class_ID(0x21807fcf, 0x156e2218))
|
||||
#if MAX_VERSION_MAJOR >= 13
|
||||
# include <INamedSelectionSetManager.h>
|
||||
#endif
|
||||
|
||||
plAutoUIComp *gAutoUI;
|
||||
|
||||
void DummyCode()
|
||||
{
|
||||
gAutoUI = new plAutoUIComp(&gAutoDesc);
|
||||
|
||||
gAutoUI->AddCheckBox(0, "test", "Test", true);
|
||||
gAutoUI->AddFloatSpinner(1, "t2", "T2", 0.5, 0.f, 100.f);
|
||||
gAutoUI->AddEditBox(2, "blah", "Blah", "Test String", 5);
|
||||
gAutoUI->AddPickNode(3, "pick", "Pick");
|
||||
|
||||
std::vector<Class_ID> cids;
|
||||
cids.push_back(ACTIVATOR_CID);
|
||||
cids.push_back(RESPONDER_CID);
|
||||
gAutoUI->AddPickNode(4, "pick2", "Pick2", &cids);
|
||||
}
|
||||
|
||||
plAutoComponent::plAutoComponent()
|
||||
{
|
||||
fClassDesc = &gAutoDesc;
|
||||
fClassDesc->MakeAutoParamBlocks(this);
|
||||
}
|
||||
|
||||
bool plAutoComponent::Convert(plMaxNode *node, plErrorMsg *msg)
|
||||
{
|
||||
bool c1 = gAutoUI->GetCheckBox(0, this);
|
||||
TSTR str = gAutoUI->GetEditBox(2, this);
|
||||
|
||||
for (int i = 0; i < gAutoUI->Count(3, this); i++)
|
||||
INode *node = gAutoUI->GetPickNode(3, this, i);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // _MaxComponent_Pch_inc_
|
@ -39,17 +39,22 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "hsTemplates.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <max.h>
|
||||
#include <iparamm2.h>
|
||||
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include "MaxMain/plMaxNodeBase.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "pfGUISkinComp.h"
|
||||
#include "plGUICompClassIDs.h"
|
||||
|
||||
#include "MaxMain/plMaxNodeBase.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
|
||||
|
||||
pfGUISkinEditProc *pfGUISkinEditProc::fInstance = nil;
|
||||
int pfGUISkinEditProc::fZoom = 3; // So re-opening the dialog will keep the same zoom level
|
||||
|
@ -39,16 +39,20 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
//Resource related
|
||||
#include "resource.h"
|
||||
|
||||
//Max related
|
||||
#include "plgDispatch.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plMaxNodeData.h"
|
||||
#pragma hdrstop
|
||||
|
||||
//Messages related
|
||||
#include "plgDispatch.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plIntRefMsg.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
@ -57,12 +61,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//Scene related
|
||||
#include "plScene/plSceneNode.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plMaxNodeData.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnSceneObject/plCoordinateInterface.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
//Conversion related
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
|
@ -39,15 +39,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plModifier/plLogicModifier.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
|
||||
void plActivatorBaseComponent::AddReceiverKey(plKey pKey, plMaxNode* node)
|
||||
|
@ -39,9 +39,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#pragma hdrstop
|
||||
|
||||
void DummyCodeIncludeFuncActive() {}
|
||||
|
||||
|
@ -39,16 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plAnimComponent.h"
|
||||
#include "plComponentBase.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <set>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAnimCompProc.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "plComponentBase.h"
|
||||
|
||||
#include "plPickNode.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "plPickNodeBase.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
#include "plInterp/plAnimEaseTypes.h"
|
||||
|
||||
#include "plPickMaterialMap.h"
|
||||
#include "MaxMain/plMtlCollector.h"
|
||||
|
||||
plAnimCompProc::plAnimCompProc() :
|
||||
fCompButtonID(0),
|
||||
fCompParamID(0),
|
||||
@ -295,8 +304,6 @@ void plMtlAnimProc::IUpdateNodeButton(HWND hWnd, IParamBlock2* pb)
|
||||
ILoadAnimCombo(hWnd, pb);
|
||||
}
|
||||
|
||||
#include "plNotetrackAnim.h"
|
||||
|
||||
void plMtlAnimProc::ILoadAnimCombo(HWND hWnd, IParamBlock2* pb)
|
||||
{
|
||||
HWND hAnim = GetDlgItem(hWnd, fAnimComboID);
|
||||
@ -331,9 +338,6 @@ void plMtlAnimProc::ILoadAnimCombo(HWND hWnd, IParamBlock2* pb)
|
||||
ILoadUser(hWnd, pb);
|
||||
}
|
||||
|
||||
#include "plPickMaterialMap.h"
|
||||
#include "MaxMain/plMtlCollector.h"
|
||||
|
||||
void plMtlAnimProc::IMtlButtonPress(HWND hWnd, IParamBlock2* pb)
|
||||
{
|
||||
// Let the user pick a new material
|
||||
@ -395,9 +399,6 @@ Mtl* plMtlAnimProc::IGetMtl(IParamBlock2* pb)
|
||||
return pb->GetMtl(fMtlParamID);
|
||||
}
|
||||
|
||||
|
||||
#include "plPickNodeBase.h"
|
||||
|
||||
static const char* kUserTypeAll = "(All)";
|
||||
|
||||
class plPickAllMtlNode : public plPickMtlNode
|
||||
|
@ -42,11 +42,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plAnimCompProc_h_inc
|
||||
#define plAnimCompProc_h_inc
|
||||
|
||||
#include "max.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
class plComponentBase;
|
||||
class plMaxNode;
|
||||
class IParamBlock2;
|
||||
|
||||
class plAnimCompProc : public ParamMap2UserDlgProc
|
||||
{
|
||||
|
@ -39,21 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plAnimComponent.h"
|
||||
#include "plComponentProcBase.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "plMiscComponents.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
|
||||
#include "plInterp/plController.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "plAvatar/plAGModifier.h"
|
||||
#include "plAvatar/plAGChannel.h"
|
||||
#include "plAvatar/plAGAnim.h"
|
||||
@ -61,13 +65,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAvatar/plMatrixChannel.h"
|
||||
#include "plAvatar/plPointChannel.h"
|
||||
#include "plAvatar/plScalarChannel.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
|
||||
#include "pnKeyedObject/plUoid.h"
|
||||
#include "plMaxAnimUtils.h"
|
||||
|
||||
#include "MaxPlasmaLights/plRealTimeLightBase.h"
|
||||
#include "MaxPlasmaMtls/Materials/plPassMtl.h"
|
||||
#include "pfAnimation/plLightModifier.h"
|
||||
#include "pnKeyedObject/plMsgForwarder.h"
|
||||
|
||||
@ -83,6 +87,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// So that the linker won't throw this code away, since it doesn't appear to be used
|
||||
void DummyCodeIncludeFunc() {}
|
||||
|
||||
plEaseAccessor gAnimCompEaseAccessor(plComponentBase::kBlkComp,
|
||||
kAnimEaseInMin, kAnimEaseInMax, kAnimEaseInLength,
|
||||
kAnimEaseOutMin, kAnimEaseOutMax, kAnimEaseOutLength);
|
||||
|
||||
bool HasPhysicalComponent(plMaxNodeBase *node, bool searchChildren)
|
||||
{
|
||||
int i;
|
||||
@ -572,9 +580,6 @@ bool plAnimGroupedComponent::GetKeyList( INode *restrictedNode, hsTArray<plKe
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
|
||||
bool plAnimGroupedComponent::PreConvert(plMaxNode *node, plErrorMsg *pErrMsg)
|
||||
{
|
||||
bool needSetMaster = fNeedReset;
|
||||
|
@ -42,14 +42,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plAnimComponent_inc
|
||||
#define plAnimComponent_inc
|
||||
|
||||
#include <map>
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plAnimObjInterface.h"
|
||||
#include "plNoteTrackDlgComp.h"
|
||||
#include "MaxPlasmaMtls/Materials/plPassMtlBase.h"
|
||||
#include "plNotetrackDlgComp.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <map>
|
||||
|
||||
|
||||
#define ANIM_COMP_CID Class_ID(0x32e77ab, 0x28a80383)
|
||||
#define ANIM_GROUP_COMP_CID Class_ID(0x341a57fc, 0x4cda6c64)
|
||||
@ -84,19 +87,16 @@ enum
|
||||
kAnimPhysAnim,
|
||||
};
|
||||
|
||||
static plEaseAccessor gAnimCompEaseAccessor(plComponentBase::kBlkComp,
|
||||
kAnimEaseInMin, kAnimEaseInMax, kAnimEaseInLength,
|
||||
kAnimEaseOutMin, kAnimEaseOutMax, kAnimEaseOutLength);
|
||||
|
||||
class plAGAnim;
|
||||
class plAGApplicator;
|
||||
class plAGMasterMod;
|
||||
class plComponentBase;
|
||||
class plController;
|
||||
class plEaseAccessor;
|
||||
class plMaxNode;
|
||||
class plMsgForwarder;
|
||||
class plSimpleTMModifier;
|
||||
class plLightModifier;
|
||||
class plAGMasterMod;
|
||||
class plAGAnim;
|
||||
class plMsgForwarder;
|
||||
class plController;
|
||||
class plAGApplicator;
|
||||
|
||||
class plAnimComponentBase : public plComponent, public plAnimObjInterface
|
||||
{
|
||||
|
@ -39,11 +39,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plAnimEventComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAnimComponent.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
@ -53,7 +58,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "plModifier/plAnimEventModifier.h"
|
||||
#include "plMessage/plAnimCmdMsg.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "pnMessage/plRefMsg.h"
|
||||
|
||||
void DummyCodeIncludeFuncAnimDetector() {}
|
||||
|
@ -44,6 +44,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
|
||||
class plErrorMsg;
|
||||
class plMaxNode;
|
||||
|
||||
#define ANIMEVENT_CID Class_ID(0x32eb34af, 0x62c70002)
|
||||
#define MTLEVENT_CID Class_ID(0x2984243c, 0x30ea3acb)
|
||||
|
||||
|
@ -39,16 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plComponentProcBase.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include <map>
|
||||
#include "plAudioComponents.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "HeadSpin.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "plFileUtils.h"
|
||||
|
||||
#include "plAnimComponent.h"
|
||||
#include "plAudioComponents.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentProcBase.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <map>
|
||||
#include <shlwapi.h>
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
#include "plInterp/plAnimEaseTypes.h"
|
||||
#include "plAvatar/plAGAnim.h"
|
||||
|
||||
@ -59,23 +68,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "MaxMain/plPluginResManager.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plIntRefMsg.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
|
||||
|
||||
#include "plScene/plSceneNode.h"
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
//Physics Related
|
||||
//#include "plHavok1/plHKPhysical.h" //Physics Comp
|
||||
#include "pnSceneObject/plSimulationInterface.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "plPhysX/plPXPhysical.h"
|
||||
@ -92,13 +95,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAudio/plWin32StreamingSound.h"
|
||||
#include "plAudio/plWin32GroupedSound.h"
|
||||
#include "plAudioCore/plSoundBuffer.h"
|
||||
#include "plFileUtils.h"
|
||||
|
||||
// Valdez Asset Manager Related
|
||||
#ifdef MAXASS_AVAILABLE
|
||||
#include "../../AssetMan/PublicInterface/MaxAssInterface.h"
|
||||
# include "../../AssetMan/PublicInterface/MaxAssInterface.h"
|
||||
#endif
|
||||
#include <shlwapi.h>
|
||||
|
||||
// Fun soft volume stuff
|
||||
#include "plSoftVolumeComponent.h"
|
||||
@ -111,8 +112,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// EAX stuff
|
||||
#include "plAudio/plEAXListenerMod.h"
|
||||
#ifdef EAX_SDK_AVAILABLE
|
||||
#include <eax-util.h>
|
||||
#include <eaxlegacy.h>
|
||||
# include <eax-util.h>
|
||||
# include <eaxlegacy.h>
|
||||
#endif
|
||||
|
||||
#include "plResMgr/plLocalization.h"
|
||||
|
@ -39,6 +39,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#ifndef _plAudioComponents_h_inc_
|
||||
#define _plAudioComponents_h_inc_
|
||||
|
||||
#define SOUND_3D_COMPONENT_ID Class_ID(0x1be5543f, 0x746f3a97)
|
||||
#define BGND_MUSIC_COMPONENT_ID Class_ID(0x16b5b2a, 0x33c75095)
|
||||
#define RANDOM_SOUND_COMPONENT_ID Class_ID(0x35033e37, 0x499568fb)
|
||||
@ -46,12 +50,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define EAX_LISTENER_COMPONENT_ID Class_ID(0x514f4b0a, 0x24672153)
|
||||
#define SOUND_PHYS_COMP_ID Class_ID(0x29415900, 0x1ade37a5)
|
||||
|
||||
#include <map>
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#ifdef MAXASS_AVAILABLE
|
||||
#include "../../AssetMan/PublicInterface/AssManBaseTypes.h"
|
||||
#endif
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#ifdef MAXASS_AVAILABLE
|
||||
# include "../../AssetMan/PublicInterface/AssManBaseTypes.h"
|
||||
#endif
|
||||
|
||||
class plComponentBase;
|
||||
class plMaxNode;
|
||||
class plSoundBuffer;
|
||||
@ -66,7 +74,7 @@ namespace plAudioComp
|
||||
|
||||
bool IsSoundComponent(plComponentBase *comp);
|
||||
bool IsLocalOnly( plComponentBase *comp );
|
||||
}
|
||||
};
|
||||
|
||||
class plBaseSoundEmitterComponent : public plComponent
|
||||
{
|
||||
@ -212,3 +220,5 @@ public:
|
||||
|
||||
};
|
||||
|
||||
#endif // _plAudioComponents_h_inc_
|
||||
|
||||
|
@ -40,14 +40,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plAutoUIBase.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "iparamb2.h"
|
||||
|
||||
#include "plAutoUIParams.h"
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAutoUIBase.h"
|
||||
#include "plAutoUIParams.h"
|
||||
|
||||
#include "plGUICompClassIDs.h"
|
||||
|
||||
|
@ -42,12 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plAutoUIBase_h_inc
|
||||
#define plAutoUIBase_h_inc
|
||||
|
||||
//#include "max.h"
|
||||
//#include "plComponentBase.h"
|
||||
//#include "plComponentReg.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class ParamBlockDesc2;
|
||||
|
@ -39,16 +39,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plAutoUIBlock.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAutoUIBlock.h"
|
||||
|
||||
|
||||
plAutoUIBlock::plAutoUIBlock(plComponentClassDesc *cd, int blockID, const char *name, int version)
|
||||
{
|
||||
fName = hsStrcpy(name);
|
||||
|
@ -40,12 +40,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plAutoUIComp.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
#include <notify.h>
|
||||
#include <utilapi.h>
|
||||
|
||||
#include "resource.h"
|
||||
#include "notify.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAutoUIComp.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -41,10 +41,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plAutoUIBase.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "plComponentBase.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
class INode;
|
||||
|
||||
class plAutoUIComp : public plAutoUIBase
|
||||
{
|
||||
public:
|
||||
|
@ -39,14 +39,23 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include "plComponentBase.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAutoUIParams.h"
|
||||
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "plComponentBase.h"
|
||||
#include "plPickNode.h"
|
||||
#include "plPickMaterialMap.h"
|
||||
#include "MaxPlasmaMtls/Layers/plPlasmaMAXLayer.h"
|
||||
#include "plSurface/plLayerInterface.h"
|
||||
#include "plGImage/plDynamicTextMap.h"
|
||||
|
||||
plAutoUIParam::plAutoUIParam(ParamID id, const char *name) :
|
||||
fID(id), fName(hsStrcpy(name)), fVisID(-1), fHeight(0)
|
||||
@ -446,8 +455,6 @@ const char* plEditParam::GetString(IParamBlock2 *pb)
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "plPickNode.h"
|
||||
|
||||
plPickListParam::plPickListParam(ParamID id, const char *name, std::vector<Class_ID>* filter) :
|
||||
plAutoUIParam(id, name), fhList(nil), fhAdd(nil), fhRemove(nil)
|
||||
{
|
||||
@ -880,11 +887,6 @@ plComponentBase *plPickActivatorListParam::GetComponent(IParamBlock2 *pb, int id
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "plPickMaterialMap.h"
|
||||
#include "MaxPlasmaMtls/Layers/plPlasmaMAXLayer.h"
|
||||
#include "plSurface/plLayerInterface.h"
|
||||
#include "plGImage/plDynamicTextMap.h"
|
||||
|
||||
plPickDynamicTextButtonParam::plPickDynamicTextButtonParam(ParamID id, const char *name) :
|
||||
plPickButtonParam(id, name, nil, false)
|
||||
{
|
||||
|
@ -39,9 +39,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "hsTemplates.h"
|
||||
#include <vector>
|
||||
|
||||
@ -372,7 +370,7 @@ public:
|
||||
class plPickMaterialAnimationButtonParam : public plPickButtonParam
|
||||
{
|
||||
protected:
|
||||
hsTArray<plKey> fKeys;
|
||||
hsTArray<plKey> fKeys; // FIXME: std::vector
|
||||
|
||||
public:
|
||||
plPickMaterialAnimationButtonParam(ParamID id, const char *name);
|
||||
|
@ -39,28 +39,37 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include <windowsx.h>
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "hsStringTokenizer.h"
|
||||
|
||||
#include "plComponentProcBase.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plAudioComponents.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include <windowsx.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAvatarComponent.h"
|
||||
#include "plMaxAnimUtils.h"
|
||||
#include "plPickNode.h"
|
||||
#include "plPickMaterialMap.h"
|
||||
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "plScene/plSceneNode.h"
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
#include "MaxConvert/plBitmapCreator.h"
|
||||
#include "hsStringTokenizer.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
@ -68,7 +77,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plMessage/plMatRefMsg.h"
|
||||
#include "plMessage/plLayRefMsg.h"
|
||||
|
||||
#include "plMaxAnimUtils.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
#include "plPhysicsGroups.h"
|
||||
@ -79,7 +87,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plSurface/hsGMaterial.h"
|
||||
#include "plAudio/plWin32StaticSound.h"
|
||||
#include "plAudioCore/plSoundBuffer.h"
|
||||
#include "plAudioComponents.h"
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
@ -95,15 +102,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plShadowComponents.h"
|
||||
#include "plGLight/plShadowCaster.h"
|
||||
|
||||
#include "plAvatarComponent.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
//#include <vector>
|
||||
//#include <string>
|
||||
|
||||
#include "plPickNode.h"
|
||||
#include "plPickMaterialMap.h"
|
||||
#include "MaxMain/plMtlCollector.h"
|
||||
|
||||
//#define BOB_SORT_AVATAR_FACES
|
||||
|
@ -42,7 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef __PLAVATARCOMPONENT_H__
|
||||
#define __PLAVATARCOMPONENT_H__
|
||||
|
||||
#include "max.h"
|
||||
#include "plAvatar/plCritterCommands.h"
|
||||
#include "plAvatar/plPuppetCommands.h"
|
||||
|
||||
|
@ -39,19 +39,22 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plBehavioralComponents.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponentReg.h"
|
||||
#include "plBehavioralComponents.h"
|
||||
#include "plResponderComponent.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plAvatar/plSittingModifier.h"
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
#include "plPickNode.h"
|
||||
|
||||
void DummyCodeIncludeFuncBehaviors() {}
|
||||
|
@ -40,36 +40,24 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
// BIPEDKILLER
|
||||
|
||||
///////////
|
||||
//
|
||||
// INCLUDES
|
||||
//
|
||||
///////////
|
||||
|
||||
// theirs
|
||||
#include <windowsx.h>
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "CS/bipexp.h"
|
||||
#include "decomp.h"
|
||||
|
||||
#pragma warning(disable: 4786) // disable warnings about excessive STL symbol name length
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "hsStlSortUtils.h"
|
||||
|
||||
// ours
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "MaxMain/plMaxNodeBase.h"
|
||||
|
||||
#include <CS/bipexp.h>
|
||||
#include <decomp.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "BipedKiller.h"
|
||||
#include "plTransform/hsAffineParts.h"
|
||||
#include "hsMatrix44.h"
|
||||
|
||||
//////////////
|
||||
//
|
||||
|
@ -39,24 +39,26 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "meshdlib.h"
|
||||
#include "dummy.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include <dummy.h>
|
||||
#include <meshdlib.h>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "plBlowComponent.h"
|
||||
#include "plFlexibilityComponent.h"
|
||||
|
||||
#include "pfAnimation/plBlower.h"
|
||||
#include "plFlexibilityComponent.h"
|
||||
|
||||
// Blow component first, related Flexibility component at EOF.
|
||||
|
||||
|
@ -56,13 +56,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "plCAnimParamBlock.h"
|
||||
#include "plAnimComponent.h"
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plInterp/plAnimEaseTypes.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "plCAnimParamBlock.h"
|
||||
#include "MaxPlasmaMtls/Materials/plPassMtl.h"
|
||||
|
||||
// Defined in plAnimComponent.cpp
|
||||
extern plEaseAccessor gAnimCompEaseAccessor;
|
||||
|
||||
|
||||
//// Static ParamBlock Template //////////////////////////////////////////////
|
||||
|
@ -61,11 +61,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef _plCAnimParamBlock_h
|
||||
#define _plCAnimParamBlock_h
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
|
||||
/// Note: the namespace is so our enums and such don't clash with anything
|
||||
/// else
|
||||
|
@ -39,26 +39,31 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plCameraComponent.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnSceneObject/plSimulationInterface.h"
|
||||
#include "pnKeyedObject/hsKeyedObject.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plPhysical/plCollisionDetector.h" // MM
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plCameraMsg.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxConvert/plConvert.h"
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
//#include "plHavok1/plHKPhysicsGroups.h"
|
||||
|
||||
void DummyCodeIncludeFuncCamera() {}
|
||||
|
||||
|
@ -41,6 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plComponent.h"
|
||||
|
||||
class plErrorMsg;
|
||||
class plMaxNode;
|
||||
|
||||
#define CAMERACMD_CID Class_ID(0x6edb72d1, 0xd8a1f43)
|
||||
|
@ -39,23 +39,29 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "max.h" //Max Dependencies
|
||||
|
||||
#include "resource.h" //Resource Dependencies
|
||||
#include "hsResMgr.h" // Ibid
|
||||
|
||||
#include "plComponent.h" //Component Dependencies
|
||||
#include "plComponentReg.h"
|
||||
#include "plCameraComponents.h" // Ibid
|
||||
#include "plAnimComponent.h" // Ibid
|
||||
#include "plAnimComponent.h"
|
||||
#include "plCameraComponents.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plMaxNodeData.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h" // Ibid
|
||||
#include "pnSceneObject/plCoordinateInterface.h"
|
||||
#include "plScene/plSceneNode.h" // Ibid
|
||||
#include "pnKeyedObject/plKey.h" // Ibid
|
||||
#include "MaxMain/plMaxNode.h" // Ibid
|
||||
#include "MaxMain/plMaxNodeData.h" // Ibid
|
||||
|
||||
#include "MaxConvert/plConvert.h"
|
||||
#include "MaxConvert/hsConverterUtils.h" //Conversion Dependencies
|
||||
@ -63,7 +69,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
|
||||
#include "plgDispatch.h" //Message Dependencies
|
||||
#include "pnMessage/plObjRefMsg.h" // Ibid
|
||||
#include "pnMessage/plIntRefMsg.h" // Ibid
|
||||
#include "pnMessage/plNodeRefMsg.h" // Ibid
|
||||
@ -74,9 +79,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "pfCamera/plCameraBrain.h"
|
||||
#include "pfCamera/plCameraModifier.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
|
||||
// Line Follow related
|
||||
#include "plInterp/plAnimPath.h"
|
||||
@ -84,9 +87,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "pfAnimation/plLineFollowMod.h"
|
||||
#include "pfAnimation/plFollowMod.h"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
//
|
||||
// DummyCodeIncludeFuncPhys Function.
|
||||
// Necessary to keep the compiler from throwing away this file.
|
||||
|
@ -39,16 +39,27 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plClickDragComponent.h"
|
||||
#include "resource.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plNoteTrackDlgComp.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plClickDragComponent.h"
|
||||
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnKeyedObject/hsKeyedObject.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plPhysical/plCollisionDetector.h" // MM
|
||||
#include "plModifier/plLogicModifier.h"
|
||||
@ -64,12 +75,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "pnMessage/plEventCallbackMsg.h"
|
||||
#include "plMessage/plAnimCmdMsg.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxConvert/plConvert.h"
|
||||
|
||||
#include "plResponderComponent.h"
|
||||
#include "plgDispatch.h"
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
@ -104,9 +112,6 @@ enum
|
||||
kClikDragEnabled,
|
||||
};
|
||||
|
||||
|
||||
#include "plNoteTrackDlgComp.h"
|
||||
|
||||
class plClickDragComponentProc : public ParamMap2UserDlgProc
|
||||
{
|
||||
protected:
|
||||
|
@ -39,15 +39,23 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plClickableComponent.h"
|
||||
#include "resource.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponentReg.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plResponderComponent.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plClickableComponent.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnSceneObject/plSimulationInterface.h"
|
||||
#include "pnKeyedObject/hsKeyedObject.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plPhysical/plCollisionDetector.h" // MM
|
||||
#include "plModifier/plLogicModifier.h"
|
||||
@ -60,14 +68,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "pnMessage/plNotifyMsg.h"
|
||||
#include "pnMessage/plCursorChangeMsg.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxConvert/plConvert.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
|
||||
|
||||
|
@ -42,8 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plClickableComponent_inc
|
||||
#define plClickableComponent_inc
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
|
||||
#define CLICKABLE_CID Class_ID(0x1a5f6892, 0x7b434188)
|
||||
|
||||
class plClickableComponent : public plActivatorBaseComponent
|
||||
|
@ -39,26 +39,32 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
// max includes
|
||||
#include "plPickNode.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <map>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPickNode.h"
|
||||
|
||||
// local
|
||||
#include "plClimbComponent.h"
|
||||
#include "plPhysicalComponents.h" // so we can pick terrains
|
||||
#include "plComponentReg.h"
|
||||
|
||||
// other
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "plMessage/plClimbMsg.h"
|
||||
#include "plPhysical/plCollisionDetector.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
|
||||
// stl
|
||||
#include <map>
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -42,7 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_CLIMB_COMPONENT_H
|
||||
#define PL_CLIMB_COMPONENT_H
|
||||
|
||||
#include "plComponent.h"
|
||||
class plErrorMsg;
|
||||
class plMaxNode;
|
||||
|
||||
class plClimbTriggerComponent : public plComponent
|
||||
{
|
||||
|
@ -39,17 +39,24 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
//
|
||||
#include "hsResMgr.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plResMgr/plKeyFinder.h"
|
||||
#include "plResMgr/plPageInfo.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "plClothingComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "MaxPlasmaMtls/Materials/plClothingMtl.h"
|
||||
#include "pnMessage/plRefMsg.h"
|
||||
#include "plAvatar/plAvatarClothing.h"
|
||||
|
@ -42,8 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_CLOTHING_COMPONENT_H
|
||||
#define PL_CLOTHING_COMPONENT_H
|
||||
|
||||
#include "plComponent.h"
|
||||
|
||||
class plClothingComponent : public plComponent
|
||||
{
|
||||
public:
|
||||
|
@ -39,23 +39,30 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsBitVector.h"
|
||||
|
||||
|
||||
#include "max.h"
|
||||
#include "meshdlib.h"
|
||||
#include "dummy.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include <dummy.h>
|
||||
#include <iparamm2.h>
|
||||
#include <meshdlib.h>
|
||||
|
||||
#if MAX_VERSION_MAJOR >= 13
|
||||
# include <INamedSelectionSetManager.h>
|
||||
#endif
|
||||
|
||||
#include "resource.h"
|
||||
#include <vector>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
|
||||
#include "hsBitVector.h"
|
||||
#include "plMath/hsRadixSort.h"
|
||||
#include "pnEncryption/plRandom.h"
|
||||
#include "pfAnimation/plBlower.h"
|
||||
@ -64,21 +71,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plDistribComponent.h"
|
||||
#include "MaxConvert/plDistributor.h"
|
||||
#include "MaxConvert/plDistTree.h"
|
||||
#include "plMiscComponents.h"
|
||||
|
||||
#include "plClusterComponent.h"
|
||||
|
||||
|
||||
#include "MaxConvert/plClusterUtil.h"
|
||||
#include "plDrawable/plClusterGroup.h"
|
||||
#include "plDrawable/plSpanTemplate.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#if MAX_VERSION_MAJOR >= 13
|
||||
#include <INamedSelectionSetManager.h>
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
// Start with the component bookkeeping song and dance.
|
||||
|
@ -39,12 +39,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plComponentBase.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxMain/plMaxNodeBase.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <notify.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "plAutoUIComp.h"
|
||||
|
||||
plComponentBase::plComponentBase() : fClassDesc(nil), fCompPB(nil), fTargsPB(nil)
|
||||
@ -579,8 +585,6 @@ int plSharedComponents(INodeTab& nodes, INodeTab& components)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "notify.h"
|
||||
|
||||
static void UpdateComponentVisibility(plMaxNodeBase *node)
|
||||
{
|
||||
plComponentBase *comp = node->ConvertToComponent();
|
||||
|
@ -42,13 +42,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_COMPONENT_BASE_H
|
||||
#define PL_COMPONENT_BASE_H
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
|
||||
extern TCHAR *GetString(int id);
|
||||
extern HINSTANCE hInstance;
|
||||
@ -56,10 +54,24 @@ extern HINSTANCE hInstance;
|
||||
#define COMPONENT_CLASSID Class_ID(0x758e5142, 0x66c748a)
|
||||
#define EXT_COMPONENT_CLASSID Class_ID(0x6c277b63, 0x6c626b3f)
|
||||
|
||||
class plMaxNodeBase;
|
||||
class plAGAnim;
|
||||
class Animatable;
|
||||
class Box3;
|
||||
class ClassDesc2;
|
||||
class Class_ID;
|
||||
class HelperObject;
|
||||
class plKey;
|
||||
class plMaxNode;
|
||||
class plAGAnim;
|
||||
class plMaxNodeBase;
|
||||
class INode;
|
||||
class INodeTab;
|
||||
class IObjParam;
|
||||
class ObjectState;
|
||||
enum IOResult;
|
||||
class IParamBlock2;
|
||||
enum RefResult;
|
||||
class RemapDir;
|
||||
class ViewExp;
|
||||
|
||||
class plComponentBase : public HelperObject
|
||||
{
|
||||
|
@ -39,15 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "iparamb2.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentMgr.h"
|
||||
#include "plComponentReg.h"
|
||||
#pragma hdrstop
|
||||
|
||||
/////////
|
||||
class ComponentMgrClassDesc : public ClassDesc
|
||||
|
@ -42,14 +42,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_COMPONENTMGR_H
|
||||
#define PL_COMPONENTMGR_H
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "utilapi.h"
|
||||
|
||||
#include "hsWindows.h"
|
||||
#include <vector>
|
||||
|
||||
class ClassDesc2;
|
||||
class Class_ID;
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
#include <utilapi.h>
|
||||
|
||||
#define COMPONENT_MGR_CID Class_ID(0x5b870ba2, 0xb7b1da2)
|
||||
|
||||
@ -61,10 +59,6 @@ class Class_ID;
|
||||
//
|
||||
// 8/28/01: Added globals -Colin
|
||||
//
|
||||
class hsResMgr;
|
||||
class plFactory;
|
||||
class plTimerCallbackManager;
|
||||
class plTimerShare;
|
||||
|
||||
class plComponentMgr : public UtilityObj
|
||||
{
|
||||
|
@ -44,11 +44,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamm2.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "hsWindows.h"
|
||||
#include <iparamm2.h>
|
||||
|
||||
//
|
||||
// Const Char* [] Version
|
||||
//
|
||||
|
@ -39,11 +39,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "pnModifier/plModifier.h"
|
||||
|
||||
#include "plComponentTools.h"
|
||||
#include "pnKeyedObject/plUoid.h"
|
||||
|
||||
plKey plComponentTools::AddModifier(plMaxNodeBase *node, plModifier *mod)
|
||||
{
|
||||
|
@ -42,17 +42,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_COMPONENT_TOOLS_H
|
||||
#define PL_COMPONENT_TOOLS_H
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsTemplates.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
class INode;
|
||||
class plModifier;
|
||||
class plComponentBase;
|
||||
class plKey;
|
||||
class plLocation;
|
||||
class plResponderModifier;
|
||||
class plComponentBase;
|
||||
class plModifier;
|
||||
class plMaxNodeBase;
|
||||
class Mtl;
|
||||
class INode;
|
||||
class plResponderModifier;
|
||||
|
||||
typedef plKey (*PAddModFunc) (plMaxNodeBase *, plModifier *);
|
||||
typedef plKey (*PGetNewKeyFunc) (const plString&, plModifier*, plLocation);
|
||||
|
@ -39,10 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "meshdlib.h"
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <max.h>
|
||||
#include <meshdlib.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plDicer.h"
|
||||
|
||||
|
@ -39,28 +39,29 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
|
||||
#include <commdlg.h>
|
||||
|
||||
#include "max.h"
|
||||
#include "meshdlib.h"
|
||||
#include "stdmat.h"
|
||||
#include "bmmlib.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <bmmlib.h>
|
||||
#include <commdlg.h>
|
||||
#include <iparamm2.h>
|
||||
#include <meshdlib.h>
|
||||
#include <stdmat.h>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
#include "MaxExport/plExportErrorMsg.h"
|
||||
|
||||
#include "MaxPlasmaMtls/Layers/plLayerTex.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "MaxConvert/plDistributor.h"
|
||||
#include "MaxConvert/plDistTree.h"
|
||||
|
||||
|
@ -39,27 +39,28 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
|
||||
#include <commdlg.h>
|
||||
|
||||
#include "max.h"
|
||||
#include "meshdlib.h"
|
||||
#include "stdmat.h"
|
||||
#include "bmmlib.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <bmmlib.h>
|
||||
#include <commdlg.h>
|
||||
#include <iparamm2.h>
|
||||
#include <meshdlib.h>
|
||||
#include <stdmat.h>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
|
||||
#include "MaxPlasmaMtls/Layers/plLayerTex.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "MaxConvert/plDistributor.h"
|
||||
#include "MaxConvert/plDistTree.h" // FISH HACK - just testing
|
||||
|
||||
|
@ -39,15 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plExcludeRegionComponent.h"
|
||||
#include "max.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include <iparamb2.h>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plExcludeRegionComponent.h"
|
||||
|
||||
#include "plModifier/plExcludeRegionModifier.h"
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
|
@ -39,24 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "plTweak.h"
|
||||
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "plPickNode.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plTweak.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
|
||||
|
@ -39,17 +39,22 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include <map>
|
||||
#include "hsResMgr.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "plComponentReg.h"
|
||||
#include "plAudioComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <map>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "plFootstepComponent.h"
|
||||
#include "plAudioComponents.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "plAvatar/plAvatarClothing.h"
|
||||
#include "plAvatar/plArmatureEffects.h"
|
||||
|
@ -39,20 +39,29 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "hsFiles.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "plAudioComponents.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "resource.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plNotetrackAnim.h"
|
||||
|
||||
#include "plGUIComponents.h"
|
||||
|
||||
#include "plAudioComponents.h"
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
@ -72,7 +81,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "MaxMain/plPluginResManager.h"
|
||||
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plIntRefMsg.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
@ -85,8 +93,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "MaxConvert/plLayerConverter.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "plInterp/plAnimEaseTypes.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
// GUIDialog component.
|
||||
#include "plScene/plPostEffectMod.h"
|
||||
@ -115,7 +121,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAgeDescription/plAgeDescription.h"
|
||||
#include "MaxMain/plMaxCFGFile.h"
|
||||
#include "MaxMain/plAgeDescInterface.h"
|
||||
#include "hsFiles.h"
|
||||
#include "MaxConvert/plConvert.h"
|
||||
#include "MaxPlasmaMtls/Layers/plDynamicTextLayer.h"
|
||||
#include "MaxPlasmaMtls/Layers/plLayerTexBitmapPB.h"
|
||||
@ -135,9 +140,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "plPickLocalizationDlg.h"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
|
||||
void DummyCodeIncludeFuncGUI() {}
|
||||
|
||||
|
@ -48,10 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef _plGUIComponents_h
|
||||
#define _plGUIComponents_h
|
||||
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plGUICompClassIDs.h"
|
||||
#include "plComponent.h"
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -39,21 +39,26 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include <windowsx.h>
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "hsTemplates.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "plQuality.h"
|
||||
#include "pnMessage/plRefMsg.h"
|
||||
#include "plSurface/hsGMaterial.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <windowsx.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "pnMessage/plRefMsg.h"
|
||||
#include "plSurface/hsGMaterial.h"
|
||||
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
|
||||
#include "plGrassComponent.h"
|
||||
#include "plSurface/plGrassShaderMod.h"
|
||||
|
||||
|
@ -39,16 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnSceneObject/plCoordinateInterface.h"
|
||||
|
@ -1,196 +0,0 @@
|
||||
/*==LICENSE==*
|
||||
|
||||
CyanWorlds.com Engine - MMOG client, server and tools
|
||||
Copyright (C) 2011 Cyan Worlds, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional permissions under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or
|
||||
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
|
||||
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
|
||||
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
|
||||
(or a modified version of those libraries),
|
||||
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
|
||||
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
|
||||
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
|
||||
licensors of this Program grant you additional
|
||||
permission to convey the resulting work. Corresponding Source for a
|
||||
non-source form of such a combination shall include the source code for
|
||||
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
|
||||
work.
|
||||
|
||||
You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
or by snail mail at:
|
||||
Cyan Worlds, Inc.
|
||||
14617 N Newport Hwy
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plImpactGadgetComponent.h"
|
||||
#include "resource.h"
|
||||
//#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnKeyedObject/hsKeyedObject.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plPhysical/plCollisionDetector.h" // MM
|
||||
#include "plModifier/plLogicModifier.h"
|
||||
#include "pnModifier/plConditionalObject.h"
|
||||
#include "plPhysical/plPickingDetector.h"
|
||||
#include "pfConditional/plActivatorConditionalObject.h"
|
||||
#include "pfConditional/plFacingConditionalObject.h"
|
||||
#include "pfConditional/plObjectInBoxConditionalObject.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plNotifyMsg.h"
|
||||
#include "pnMessage/plCursorChangeMsg.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxConvert/plConvert.h"
|
||||
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
#include "MaxConvert/hsConverterUtils.h" //Conversion Dependencies
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "pnMessage/plIntRefMsg.h" // Ibid
|
||||
#include "plComponentProcBase.h"
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
|
||||
void DummyCodeIncludeFuncImpactGadget() {}
|
||||
|
||||
// enum
|
||||
// {
|
||||
// kImpactObject_DEAD,
|
||||
// kImpactOneShot,
|
||||
// kUseImpactNode_DEAD,
|
||||
// kImpactNode_DEAD,
|
||||
// kImpactBoundsType_DEAD,
|
||||
// kImpactBounceChoice_DEAD,
|
||||
// kImpactBounceBoolTab_DEAD,
|
||||
// kImpactReportChoice_DEAD,
|
||||
// kImpactReportBoolTab_DEAD,
|
||||
// kImpactEnabled,
|
||||
// kImpactBounceGroups_DEAD,
|
||||
// kImpactReportGroups,
|
||||
// kImpactUseVelocity_DEAD,
|
||||
// kImpactVelocity_DEAD,
|
||||
// };
|
||||
//
|
||||
// #include "plEventGroupUI.h"
|
||||
|
||||
// static plEventGroupProc gReportGroupProc(kImpactReportGroups, "Report collisions with these groups", false);
|
||||
|
||||
OBSOLETE_CLASS(plImpactGadget, gImpactGadgetDesc, "Collision Sensor", "CollisionSensor", COMP_TYPE_DETECTOR, IMPACTGADGET_CID)
|
||||
|
||||
// enum
|
||||
// {
|
||||
// kImpactMain,
|
||||
// kImpactBounce_DEAD,
|
||||
// kImpactReport,
|
||||
// };
|
||||
//
|
||||
// ParamBlockDesc2 gImpactGadgetBlock
|
||||
// (
|
||||
// plComponent::kBlkComp, _T("ImpactGadgetComp"), 0, &gImpactGadgetDesc, P_AUTO_CONSTRUCT + P_AUTO_UI + P_MULTIMAP, plComponent::kRefComp,
|
||||
//
|
||||
// 2,
|
||||
// kImpactMain, IDD_COMP_DETECTOR_COLLISION, IDS_COMP_DETECTOR_COLLISION, 0, 0, NULL,
|
||||
// kImpactReport, IDD_COMP_PHYS_CORE_GROUP, IDS_COMP_PHYS_REPORT, 0, APPENDROLL_CLOSED, &gReportGroupProc,
|
||||
//
|
||||
// kImpactOneShot, _T("oneshot"), TYPE_BOOL, 0, 0,
|
||||
// p_ui, kImpactMain, TYPE_SINGLECHEKBOX, IDC_ONESHOT,
|
||||
// end,
|
||||
//
|
||||
// kImpactReportGroups, _T("reportGroups"), TYPE_INT, 0,0,
|
||||
// end,
|
||||
//
|
||||
// kImpactEnabled, _T("enabled"), TYPE_BOOL, 0, 0,
|
||||
// p_ui, kImpactMain, TYPE_SINGLECHEKBOX, IDC_ENABLED,
|
||||
// p_default, TRUE,
|
||||
// end,
|
||||
//
|
||||
// end
|
||||
// );
|
||||
//
|
||||
//
|
||||
// plImpactGadget::plImpactGadget()
|
||||
// {
|
||||
// fClassDesc = &gImpactGadgetDesc;
|
||||
// fClassDesc->MakeAutoParamBlocks(this);
|
||||
// }
|
||||
//
|
||||
// bool plImpactGadget::SetupProperties(plMaxNode *node, plErrorMsg *pErrMsg)
|
||||
// {
|
||||
// plActivatorBaseComponent::SetupProperties(node, pErrMsg);
|
||||
//
|
||||
// plPhysicalProps *physProps = node->GetPhysicalProps();
|
||||
// physProps->SetReportGroup(plEventGroupProc::GetGroups(fCompPB, kImpactReportGroups), node, pErrMsg);
|
||||
//
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// bool plImpactGadget::Convert(plMaxNode *node, plErrorMsg *pErrMsg)
|
||||
// {
|
||||
// plLocation loc = node->GetLocation();
|
||||
// plSceneObject *obj = node->GetSceneObject();
|
||||
//
|
||||
// plKey logicKey = fLogicModKeys[node];
|
||||
// plLogicModifier *logic = plLogicModifier::ConvertNoRef(logicKey->GetObjectPtr());
|
||||
//
|
||||
// if (fCompPB->GetInt(kImpactOneShot))
|
||||
// logic->SetFlag(plLogicModBase::kOneShot);
|
||||
//
|
||||
// hsTArray<plKey> receivers;
|
||||
// IGetReceivers(node, receivers);
|
||||
// for (int i = 0; i < receivers.Count(); i++)
|
||||
// logic->AddNotifyReceiver(receivers[i]);
|
||||
//
|
||||
// // Get the physical node (where the mod is going to be put)
|
||||
// plMaxNode* physNode = node->GetPhysicalProps()->GetProxyNode();
|
||||
// if (!physNode)
|
||||
// physNode = node;
|
||||
//
|
||||
// // Create remote detector
|
||||
// plCollisionDetector* det = new plCollisionDetector;
|
||||
// det->SetType(plCollisionDetector::kTypeBump);
|
||||
//
|
||||
// // Register the detector
|
||||
// plKey detKey = hsgResMgr::ResMgr()->NewKey(IGetUniqueName(node), det, loc);
|
||||
// hsgResMgr::ResMgr()->AddViaNotify(detKey, new plObjRefMsg(physNode->GetSceneObject()->GetKey(), plRefMsg::kOnCreate, -1, plObjRefMsg::kModifier), plRefFlags::kActiveRef);
|
||||
//
|
||||
// // create and register the CONDITIONS for the DETECTOR's Logic Modifier
|
||||
// plActivatorConditionalObject* activatorCond = new plActivatorConditionalObject;
|
||||
// plKey activatorKey = hsgResMgr::ResMgr()->NewKey(IGetUniqueName(node), activatorCond, loc);
|
||||
//
|
||||
// // link everything up:
|
||||
// logic->AddCondition(activatorCond); // add this activator condition
|
||||
// logic->SetDisabled(fCompPB->GetInt(kImpactEnabled) == 0);
|
||||
//
|
||||
// // Set up the remote detector (if any)
|
||||
// activatorCond->SetActivatorKey(detKey);
|
||||
// det->AddLogicObj(logicKey);
|
||||
//
|
||||
// // If this is for the SceneViewer, set the local only flag since the read function will never be called
|
||||
// if (plConvert::Instance().IsForSceneViewer())
|
||||
// logic->SetLocalOnly(true);
|
||||
//
|
||||
// return true;
|
||||
// }
|
@ -1,58 +0,0 @@
|
||||
/*==LICENSE==*
|
||||
|
||||
CyanWorlds.com Engine - MMOG client, server and tools
|
||||
Copyright (C) 2011 Cyan Worlds, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional permissions under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or
|
||||
combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK,
|
||||
NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent
|
||||
JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK
|
||||
(or a modified version of those libraries),
|
||||
containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA,
|
||||
PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG
|
||||
JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the
|
||||
licensors of this Program grant you additional
|
||||
permission to convey the resulting work. Corresponding Source for a
|
||||
non-source form of such a combination shall include the source code for
|
||||
the parts of OpenSSL and IJG JPEG Library used as well as that of the covered
|
||||
work.
|
||||
|
||||
You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
or by snail mail at:
|
||||
Cyan Worlds, Inc.
|
||||
14617 N Newport Hwy
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#ifndef plImpactGadgetComponent_inc
|
||||
#define plImpactGadgetComponent_inc
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
|
||||
#define IMPACTGADGET_CID Class_ID(0x6cb343d6, 0x36995c82)
|
||||
|
||||
// class plImpactGadget : public plActivatorBaseComponent
|
||||
// {
|
||||
// public:
|
||||
// plImpactGadget();
|
||||
//
|
||||
// bool SetupProperties(plMaxNode *node, plErrorMsg *pErrMsg);
|
||||
// bool Convert(plMaxNode *node, plErrorMsg *pErrMsg);
|
||||
// };
|
||||
|
||||
#endif // plImpactGadgetComponent_inc
|
@ -39,19 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plInventoryObjComponent.h" //Inventory Dependencies
|
||||
|
||||
#include "resource.h" //Resource Dependencies
|
||||
#include "hsResMgr.h" // Ibid
|
||||
|
||||
#include "plComponent.h" //Component Dependencies
|
||||
#include "plComponentReg.h" // Ibid
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plResponderComponent.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plInventoryObjComponent.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h" // Ibid
|
||||
#include "pnKeyedObject/hsKeyedObject.h" // Ibid
|
||||
#include "MaxMain/plMaxNode.h" // Ibid
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
|
||||
#include "plPhysical/plCollisionDetector.h" //Modifiers Dependencies
|
||||
#include "plModifier/plLogicModifier.h" // Ibid
|
||||
|
@ -42,13 +42,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plInventoryObjComponent_inc
|
||||
#define plInventoryObjComponent_inc
|
||||
|
||||
|
||||
|
||||
#include "plClickableComponent.h"
|
||||
#include "hsTemplates.h"
|
||||
#include <map>
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
class plErrorMsg;
|
||||
class plKey;
|
||||
class plMaxNode;
|
||||
|
||||
#define INVENTORYOBJCOMP_CID Class_ID(0x425e1687, 0x4a126b91)
|
||||
|
@ -39,19 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plLODFadeComponent.h"
|
||||
|
||||
#include "pfSurface/plFadeOpacityMod.h"
|
||||
|
@ -39,26 +39,26 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
// LightGroup component
|
||||
#include "plLightGrpComponent.h"
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "plGLight/plLightInfo.h"
|
||||
#include "plDrawable/plDrawableSpans.h"
|
||||
#include "pnSceneObject/plDrawInterface.h"
|
||||
#include "MaxPlasmaLights/plRealTimeLightBase.h"
|
||||
|
||||
#include "plLightGrpComponent.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// LightGroup Component
|
||||
|
@ -39,19 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "hsColorRGBA.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plDrawable/plGeometrySpan.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "plDrawable/plGeometrySpan.h"
|
||||
#include "plLightMapComponent.h"
|
||||
|
||||
void DummyCodeIncludeFuncLightMap()
|
||||
|
@ -43,10 +43,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plLightMapComponent_inc
|
||||
#define plLightMapComponent_inc
|
||||
|
||||
#include "plComponent.h"
|
||||
|
||||
#include "hsColorRGBA.h"
|
||||
|
||||
struct hsColorRGBA;
|
||||
class plKey;
|
||||
class plMipmap;
|
||||
|
||||
const Class_ID LIGHTMAP_COMP_CID(0x1b1d0317, 0x3b3821db);
|
||||
|
@ -39,22 +39,24 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plgDispatch.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "MaxMain/plPluginResManager.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
|
@ -39,12 +39,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "Max.h"
|
||||
#include "notetrck.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsTemplates.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
#include <notetrck.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plMaxAnimUtils.h"
|
||||
#include "MaxExport/plErrorMsg.h"
|
||||
|
@ -39,10 +39,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plMaxWaveUtils.h"
|
||||
#include "plAudioCore/plWavFile.h"
|
||||
#include "HeadSpin.h"
|
||||
|
||||
SegmentMap *GetWaveSegmentMap(const char *file, plErrorMsg *pErrMsg)
|
||||
{
|
||||
|
@ -39,17 +39,28 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "plCreatableIndex.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "plFileUtils.h"
|
||||
#include "hsFiles.h"
|
||||
|
||||
#include "plComponentReg.h"
|
||||
#include "plMiscComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plMaxNodeData.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <notify.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#ifdef MAXASS_AVAILABLE
|
||||
#include "../../AssetMan/PublicInterface/MaxAssInterface.h"
|
||||
# include "../../AssetMan/PublicInterface/MaxAssInterface.h"
|
||||
#endif
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxMain/plMaxNodeData.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "pnSceneObject/plCoordinateInterface.h"
|
||||
@ -57,20 +68,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "MaxMain/plPluginResManager.h"
|
||||
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plIntRefMsg.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
|
||||
|
||||
#include "plScene/plSceneNode.h"
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "plFileUtils.h"
|
||||
|
||||
// Follow mod
|
||||
#include "plInterp/plAnimPath.h"
|
||||
@ -95,7 +100,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAgeDescription/plAgeDescription.h"
|
||||
#include "MaxMain/plMaxCFGFile.h"
|
||||
#include "MaxMain/plAgeDescInterface.h"
|
||||
#include "hsFiles.h"
|
||||
#include "plResMgr/plPageInfo.h"
|
||||
|
||||
#include "plDrawable/plGeometrySpan.h"
|
||||
@ -108,6 +112,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "MaxConvert/plLayerConverter.h"
|
||||
#include "plGImage/plBitmap.h"
|
||||
|
||||
// NetSync
|
||||
#include "pnNetCommon/plSDLTypes.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
#include "plSurface/hsGMaterial.h"
|
||||
#include "plSurface/plLayerInterface.h"
|
||||
|
||||
void DummyCodeIncludeFuncMisc()
|
||||
{
|
||||
RegisterNotification(plPageInfoComponent::NotifyProc, nil, NOTIFY_FILE_POST_OPEN);
|
||||
@ -2029,12 +2039,6 @@ bool plReferencePointComponent::SetupProperties(plMaxNode *pNode, plErrorMsg *pE
|
||||
//
|
||||
//
|
||||
|
||||
#include "pnNetCommon/plSDLTypes.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
#include "plSurface/hsGMaterial.h"
|
||||
#include "plSurface/plLayerInterface.h"
|
||||
#include "plCreatableIndex.h"
|
||||
|
||||
class plNetSyncComponent : public plComponent
|
||||
{
|
||||
protected:
|
||||
|
@ -44,7 +44,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define plMiscComponents_inc
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "Notify.h"
|
||||
|
||||
#define ROOM_CID Class_ID(0x70a1570d, 0x472f5647)
|
||||
#define PAGEINFO_CID Class_ID(0x54ee40f1, 0x4de45acc)
|
||||
@ -53,8 +52,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define CIRCLE_CAM_CID Class_ID(0x66f85282, 0x4daa1b8e)
|
||||
#define IMAGE_LIB_CID Class_ID(0x736c18d3, 0x6a6d5dde)
|
||||
|
||||
class plComponentBase;
|
||||
class plAgeDescription;
|
||||
class plComponentBase;
|
||||
struct NotifyInfo;
|
||||
|
||||
const char* LocCompGetPage(plComponentBase* comp);
|
||||
|
||||
|
@ -39,21 +39,23 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "plPickNode.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "plPickNode.h"
|
||||
|
||||
#include "MaxExport/plExportProgressBar.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "plDrawable/plMorphSequence.h"
|
||||
#include "plDrawable/plSharedMesh.h"
|
||||
|
@ -39,23 +39,27 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plMultistageBehComponent.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "hsStream.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plMultistageBehComponent.h"
|
||||
|
||||
#include "plMultistageStage.h"
|
||||
|
||||
#include "hsStream.h"
|
||||
#include "resource.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
#include "plAvatar/plAnimStage.h"
|
||||
#include "plAvatar/plMultistageBehMod.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
void DummyCodeIncludeFuncMultistageBeh() {}
|
||||
|
@ -41,9 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#define MULTISTAGE_BEH_CID Class_ID(0x6c5234ab, 0x6c955a61)
|
||||
|
||||
|
||||
#include "max.h"
|
||||
|
||||
class plKey;
|
||||
class plComponentBase;
|
||||
class plMaxNodeBase;
|
||||
|
@ -39,13 +39,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plMultistageStage.h"
|
||||
#include "max.h"
|
||||
#include "hsStream.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
#include "plMultistageStage.h"
|
||||
#include "plAvatar/plAnimStage.h"
|
||||
|
||||
plBaseStage::plBaseStage()
|
||||
|
@ -39,11 +39,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
|
||||
|
||||
class hsStream;
|
||||
class plAnimStage;
|
||||
class plBaseStage;
|
||||
class hsStream;
|
||||
|
||||
enum StageTypes
|
||||
{
|
||||
|
@ -39,23 +39,22 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plNPCSpawnComp.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "HeadSpin.h"
|
||||
#include <map>
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plNPCSpawnComp.h"
|
||||
#include "plAvatar/plNPCSpawnMod.h"
|
||||
|
||||
#include "pnMessage/plNotifyMsg.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
// Keep from getting dead-code-stripped
|
||||
void DummyCodeIncludFuncNPCSpawn() {}
|
||||
|
@ -39,10 +39,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "max.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
class plComponentBase;
|
||||
class plKey;
|
||||
class plMaxNodeBase;
|
||||
|
||||
#define NPC_SPAWN_CLASS_ID Class_ID(0x784e3345, 0x2ed0288c)
|
||||
|
@ -39,21 +39,22 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h" // Resource Dependencies
|
||||
#include "plgDispatch.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
|
||||
#include "plComponent.h" //Component Dependencies
|
||||
#include "plComponentReg.h" // Ibid
|
||||
#include "MaxMain/plMaxNode.h" // Ibid
|
||||
#include "pnKeyedObject/plKey.h" // Ibid
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentProcBase.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plNavigableComponents.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
|
||||
#include "MaxConvert/hsConverterUtils.h" //Conversion Dependencies
|
||||
#include "MaxConvert/hsControlConverter.h" // Ibid
|
||||
@ -61,7 +62,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAvatar/plAvLadderModifier.h" //Modifier Dependencies
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
|
||||
#include "plgDispatch.h" //Message Dependencies
|
||||
#include "pnMessage/plObjRefMsg.h" // Ibid
|
||||
#include "pnMessage/plIntRefMsg.h" // Ibid
|
||||
#include "pnMessage/plNodeRefMsg.h" // Ibid
|
||||
|
@ -42,11 +42,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plAvLadderComponent_h_inc
|
||||
#define plAvLadderComponent_h_inc
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
class plComponentBase;
|
||||
|
||||
class plComponent;
|
||||
class plErrorMsg;
|
||||
class plKey;
|
||||
class plMaxNode;
|
||||
class INodeTab;
|
||||
template<class T> class hsTArray;
|
||||
|
||||
#define NAV_LADDER_CID Class_ID(0x6b010148, 0x47cc7464)
|
||||
|
||||
|
@ -39,9 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plNoteTrackDlgComp.h"
|
||||
|
||||
#include "plComponentBase.h"
|
||||
#include "plNoteTrackDlgComp.h"
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
void plComponentNoteTrackDlg::ICacheNoteTrack()
|
||||
{
|
||||
|
@ -39,10 +39,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
|
||||
#include "plComponentBase.h"
|
||||
#include "MaxMain/plMaxNodeBase.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plNotetrackAnim.h"
|
||||
|
||||
plNotetrackAnim::plNotetrackAnim() : fSegMap(nil)
|
||||
{
|
||||
|
@ -39,12 +39,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plNoteTrackDlg.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
|
||||
#include "max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "plInterp/plAnimEaseTypes.h"
|
||||
|
||||
plNoteTrackDlg::plNoteTrackDlg() : fhAnim(NULL), fhLoop(NULL), fPB(nil), fAnimID(-1), fLoopID(-1), fSegMap(nil), fOwner(nil)
|
||||
|
@ -42,12 +42,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PLNOTETRACKDLG_INC
|
||||
#define PLNOTETRACKDLG_INC
|
||||
|
||||
#include "HeadSpin.h"
|
||||
// For HWND
|
||||
#include "plMaxAnimUtils.h"
|
||||
|
||||
class IParamBlock2;
|
||||
class Animatable;
|
||||
class IParamBlock2;
|
||||
|
||||
class plNoteTrackDlg
|
||||
{
|
||||
|
@ -39,11 +39,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "pnEncryption/plRandom.h"
|
||||
#include "plObjectFlockerComponent.h"
|
||||
#include "pnKeyedObject/plUoid.h"
|
||||
|
@ -40,49 +40,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plOneShotComponent.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#if 0
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
|
||||
#include "plgDispatch.h"
|
||||
#include "plScene/plSceneNode.h"
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
|
||||
#include "plResMgr/plLoc.h"
|
||||
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plIntRefMsg.h"
|
||||
|
||||
#include "plMaxAnimUtils.h"
|
||||
#include "tempAnim.h"
|
||||
#include "plInterp/plController.h"
|
||||
#include "plHavok1/plHKPhysical.h"
|
||||
#include "plAvatar/plAvatarMod.h"
|
||||
#include "plModifier/plAliasModifier.h"
|
||||
#include "plAudible/plWinAudible.h"
|
||||
#include "pnSceneObject/plAudioInterface.h"
|
||||
#include "pnSceneObject/plCoordinateInterface.h"
|
||||
#endif
|
||||
|
||||
#include "hsResMgr.h"
|
||||
#include "plAvatar/plOneShotMod.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plOneShotComponent.h"
|
||||
#include "plAvatar/plOneShotMod.h"
|
||||
|
||||
|
||||
void DummyCodeIncludeFuncSingleSht() {}
|
||||
|
||||
@ -93,7 +63,7 @@ void DummyCodeIncludeFuncSingleSht() {}
|
||||
//
|
||||
enum
|
||||
{
|
||||
kAnimName, // Insert in v1
|
||||
kOneShotAnimName, // Insert in v1
|
||||
kStartPtBool_DEAD, // Insert in v1 // obsolete
|
||||
kStartPt_DEAD, // Insert in v1 // obsolete
|
||||
kTriggerVolBool, // Insert in v1
|
||||
@ -161,7 +131,7 @@ ParamBlockDesc2 gOneShotBlock
|
||||
IDD_COMP_ONESHOT, IDS_COMP_ONESHOTS, 0, 0, NULL,
|
||||
|
||||
//params
|
||||
kAnimName, _T("AnimationName"), TYPE_STRING, 0, 0,
|
||||
kOneShotAnimName, _T("AnimationName"), TYPE_STRING, 0, 0,
|
||||
p_ui, TYPE_EDITBOX, IDC_COMP_ONESHOT_ANIM_TEXTBOX,
|
||||
end,
|
||||
|
||||
@ -210,7 +180,7 @@ plKey plOneShotComponent::GetOneShotKey(plMaxNode *node)
|
||||
|
||||
bool plOneShotComponent::IsValid()
|
||||
{
|
||||
const char *animName = fCompPB->GetStr(kAnimName);
|
||||
const char *animName = fCompPB->GetStr(kOneShotAnimName);
|
||||
return (animName && *animName != '\0');
|
||||
}
|
||||
|
||||
@ -255,7 +225,7 @@ bool plOneShotComponent::Convert(plMaxNode* node, plErrorMsg *pErrMsg)
|
||||
{
|
||||
if (fMods.find(node) != fMods.end())
|
||||
{
|
||||
const char *animName = fCompPB->GetStr(kAnimName);
|
||||
const char *animName = fCompPB->GetStr(kOneShotAnimName);
|
||||
bool drivable = fCompPB->GetInt(kControlSpeedBool);
|
||||
bool reversable = fCompPB->GetInt(kPlayBackwardsBool);
|
||||
float seekDuration = fCompPB->GetFloat(kSeekTimeFloat);
|
||||
|
@ -39,10 +39,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "max.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
|
||||
class plComponentBase;
|
||||
class plKey;
|
||||
class plMaxNodeBase;
|
||||
|
||||
#define ONESHOTCLASS_ID Class_ID(0x1efd285a, 0x11ba00a2)
|
||||
|
@ -39,33 +39,38 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include <windowsx.h>
|
||||
|
||||
#include "max.h"
|
||||
#include "resource.h"
|
||||
#include "HeadSpin.h"
|
||||
#include "plgDispatch.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plParticleComponents.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <windowsx.h>
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
#include "plParticleComponents.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
|
||||
#include "pnSceneObject/plSceneObject.h"
|
||||
#include "plScene/plSceneNode.h"
|
||||
#include "plgDispatch.h"
|
||||
|
||||
#include "MaxConvert/plConvert.h"
|
||||
#include "MaxConvert/hsConverterUtils.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
#include "MaxConvert/plMeshConverter.h"
|
||||
#include "MaxConvert/hsControlConverter.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include "MaxPlasmaMtls/Materials/plParticleMtl.h"
|
||||
|
||||
#include "MaxExport/plErrorMsg.h"
|
||||
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "pnMessage/plObjRefMsg.h"
|
||||
#include "pnMessage/plNodeRefMsg.h"
|
||||
#include "plInterp/plController.h"
|
||||
|
@ -39,14 +39,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#pragma hdrstop
|
||||
|
||||
void DummyCodeIncludeFuncPhysConst()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#define PHYS_CONST_HINGE_CID Class_ID(0x790b1637, 0x32c94144)
|
||||
#define PHYS_CONST_WHEEL_CID Class_ID(0x6e2958dc, 0x62e86e87)
|
||||
#define PHYS_CONST_SS_CID Class_ID(0x14843886, 0x62a24e94)
|
||||
|
@ -39,24 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsResMgr.h"
|
||||
|
||||
#include "plComponentReg.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
// singular
|
||||
#include "plPhysicalComponents.h"
|
||||
|
||||
// local
|
||||
#include "plComponentReg.h"
|
||||
#include "resource.h"
|
||||
|
||||
// global
|
||||
#include "hsResMgr.h"
|
||||
|
||||
// other
|
||||
#include "plPhysical/plSimDefs.h"
|
||||
#include "plPhysicsGroups.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "MaxMain/plPhysicalProps.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
|
||||
#include "plPhysical/plCollisionDetector.h"
|
||||
|
@ -42,7 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plPhysicalComponents_h_inc
|
||||
#define plPhysicalComponents_h_inc
|
||||
|
||||
#include "max.h" //Max Dependencies
|
||||
#include "plComponent.h"
|
||||
|
||||
#define PHYSICS_BASE_CID Class_ID(0x610f187a, 0x25824341)
|
||||
|
@ -39,19 +39,21 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsStringTokenizer.h"
|
||||
|
||||
#include <max.h>
|
||||
#include "resource.h"
|
||||
#include <vector>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPickLocalizationDlg.h"
|
||||
#include "pfLocalizationMgr/pfLocalizationDataMgr.h"
|
||||
|
||||
#include "MaxMain/plMaxCFGFile.h"
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
|
||||
#include "hsStringTokenizer.h"
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool plPickLocalizationDlg::DoPick()
|
||||
|
@ -42,8 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plPickLocalizationDlg_h
|
||||
#define plPickLocalizationDlg_h
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include <string>
|
||||
|
||||
class plPickLocalizationDlg
|
||||
|
@ -39,15 +39,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plPickMaterialMap.h"
|
||||
#include "max.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsThread.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
|
||||
#include <set>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPickMaterialMap.h"
|
||||
|
||||
|
||||
// MAXR4 HACK
|
||||
// Coming in the backdoor...
|
||||
#include "hsThread.h"
|
||||
class hsHackWinFindThread : public hsThread
|
||||
{
|
||||
protected:
|
||||
|
@ -39,17 +39,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
class plMessage;
|
||||
class IParamBlock2;
|
||||
class ClassDesc2;
|
||||
class plMaxNode;
|
||||
class plErrorMsg;
|
||||
class plComponentBase;
|
||||
class Mtl;
|
||||
class plMaxNodeBase;
|
||||
template <class T> class hsTArray;
|
||||
|
||||
//int GetMatAnimModKey(Mtl* mtl, plMaxNodeBase* node, float begin, float end, hsTArray<plKey>& keys);
|
||||
class Mtl;
|
||||
class IParamBlock2;
|
||||
|
||||
namespace plPickMaterialMap
|
||||
{
|
||||
|
@ -39,17 +39,22 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plPickNode.h"
|
||||
#include "iparamb2.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plPythonFileComponent.h"
|
||||
#include "plBehavioralComponents.h"
|
||||
#include "plNavigableComponents.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPickNode.h"
|
||||
|
||||
#include "plCameraComponents.h"
|
||||
#include "plNavigableComponents.h"
|
||||
#include "plPythonFileComponent.h"
|
||||
|
||||
class plPickNodeMax : public HitByNameDlgCallback
|
||||
{
|
||||
|
@ -42,10 +42,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plPickNode_h_inc
|
||||
#define plPickNode_h_inc
|
||||
|
||||
#include "max.h"
|
||||
#include <vector>
|
||||
|
||||
class Class_ID;
|
||||
class plComponentBase;
|
||||
class IParamBlock2;
|
||||
|
||||
namespace plPick
|
||||
{
|
||||
|
@ -40,15 +40,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plPickNodeBase.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "plComponentBase.h"
|
||||
#include "resource.h"
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "plComponentBase.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPickNodeBase.h"
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
plPickNodeBase::plPickNodeBase(IParamBlock2* pb, int nodeParamID) : fPB(pb), fNodeParamID(nodeParamID)
|
||||
{
|
||||
}
|
||||
|
@ -42,13 +42,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plPickNodeBase_h_inc
|
||||
#define plPickNodeBase_h_inc
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include <vector>
|
||||
|
||||
class IParamBlock2;
|
||||
class plMaxNode;
|
||||
class Class_ID;
|
||||
class plComponentBase;
|
||||
class plMaxNode;
|
||||
class Mtl;
|
||||
class IParamBlock2;
|
||||
|
||||
class plPickNodeBase
|
||||
{
|
||||
|
@ -39,15 +39,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "plPickNodeBase.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "plComponentBase.h"
|
||||
#include "resource.h"
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include "plComponentBase.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPickNodeBase.h"
|
||||
#include "MaxMain/plMaxAccelerators.h"
|
||||
|
||||
plPickNodeBase::plPickNodeBase(IParamBlock2* pb, int nodeParamID) : fPB(pb), fNodeParamID(nodeParamID)
|
||||
{
|
||||
}
|
||||
|
@ -39,13 +39,25 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plPythonFileComponent.h"
|
||||
|
||||
#include "resource.h"
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#include "plComponent.h"
|
||||
#include "plComponentReg.h"
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include "resource.h"
|
||||
|
||||
#include <map>
|
||||
#include <notify.h>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPythonFileComponent.h"
|
||||
|
||||
#include "plAutoUIBlock.h"
|
||||
#include "plAutoUIParams.h"
|
||||
@ -56,7 +68,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plGUIComponents.h"
|
||||
#include "pfGUISkinComp.h"
|
||||
#include "plExcludeRegionComponent.h"
|
||||
#include "plAnimComponent.h"
|
||||
#include "plNotetrackAnim.h"
|
||||
#include "plOneShotComponent.h"
|
||||
#include "plMultistageBehComponent.h"
|
||||
@ -66,25 +77,19 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plDrawable/plWaveSetBase.h"
|
||||
#include "plClusterComponent.h"
|
||||
#include "plDrawable/plClusterGroup.h"
|
||||
#include "plPhysicalComponents.h"
|
||||
//#include "plHavok1/plHKPhysical.h"
|
||||
#include "plAvatar/plSwimRegion.h"
|
||||
#include "plSurface/plGrassShaderMod.h"
|
||||
#include "plGrassComponent.h"
|
||||
|
||||
#include "notify.h"
|
||||
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "pfPython/plPythonFileMod.h"
|
||||
#include "pfPython/plPythonParameter.h"
|
||||
|
||||
// for DynamicText hack to get the plKeys (could probably be removed later)
|
||||
#include "plGImage/plDynamicTextMap.h"
|
||||
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
//// plCommonPythonLib ///////////////////////////////////////////////////////
|
||||
// Derived class for our global python fileMods, since they go in to the
|
||||
// BuiltIn page
|
||||
@ -403,10 +408,6 @@ bool plPythonFileComponent::PreConvert(plMaxNode *node, plErrorMsg *pErrMsg)
|
||||
return true;
|
||||
}
|
||||
|
||||
#include "plActivatorBaseComponent.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "plResponderComponent.h"
|
||||
|
||||
bool plPythonFileComponent::Convert(plMaxNode *node, plErrorMsg *pErrMsg)
|
||||
{
|
||||
IParamBlock2 *pb = (IParamBlock2*)fCompPB->GetReferenceTarget(kPythonFilePB);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user