mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix MaxPlasmaMtls
This commit is contained in:
@ -46,19 +46,21 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plAnimStealthNode.h"
|
||||
#include "plPassMtlBase.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include "MaxMain/plMaxNode.h"
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAnimStealthNode.h"
|
||||
#include "plPassMtlBase.h"
|
||||
|
||||
#include "MaxComponent/plMaxAnimUtils.h"
|
||||
#include "MaxConvert/plConvert.h"
|
||||
#include "MaxConvert/hsMaterialConverter.h"
|
||||
#include "plSurface/hsGMaterial.h"
|
||||
#include "plSurface/plLayerAnimation.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
|
||||
//// Helpers /////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -49,15 +49,20 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "hsWindows.h"
|
||||
#include <windowsx.h>
|
||||
#include "../resource.h"
|
||||
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include <iparamm2.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plAnimStealthNode.h"
|
||||
#include "plPassMtlBase.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include "MaxComponent/plMaxAnimUtils.h"
|
||||
#include "MaxComponent/plPickNodeBase.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
extern TCHAR *GetString( int id );
|
||||
extern HINSTANCE hInstance;
|
||||
|
@ -51,12 +51,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef _plAnimStealthNode_h
|
||||
#define _plAnimStealthNode_h
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "MaxComponent/plAnimObjInterface.h"
|
||||
#include "MaxComponent/plMaxAnimUtils.h"
|
||||
|
||||
@ -67,11 +61,13 @@ extern HINSTANCE hInstance;
|
||||
|
||||
#define REFMSG_NOTETRACK_ADDED REFMSG_USER + 1
|
||||
|
||||
class plPassMtlBase;
|
||||
class NoteTrack;
|
||||
class plMaxNode;
|
||||
class plErrorMsg;
|
||||
class plAnimTimeConvert;
|
||||
class plErrorMsg;
|
||||
class plKey;
|
||||
class plMaxNode;
|
||||
class INode;
|
||||
class NoteTrack;
|
||||
class plPassMtlBase;
|
||||
|
||||
//// Class Def ///////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -40,19 +40,23 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plBumpMtl.h"
|
||||
#include "pnKeyedObject/plKey.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
//extern ClassDesc2* GetMaxLayerDesc();
|
||||
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include <iparamm2.h>
|
||||
#include <istdplug.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "../Shaders.h"
|
||||
|
||||
#include "plBumpMtl.h"
|
||||
#include "plBumpMtlBasicPB.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "../Layers/plLayerTex.h"
|
||||
#include "../Layers/plStaticEnvLayer.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
|
||||
extern HINSTANCE hInstance;
|
||||
|
||||
@ -89,6 +93,11 @@ plBumpMtl::plBumpMtl(BOOL loading) : plPassMtlBase( loading )
|
||||
IVerifyStealthPresent(ENTIRE_ANIMATION_NAME);
|
||||
}
|
||||
|
||||
void plBumpMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_BUMP_MTL);
|
||||
}
|
||||
|
||||
ParamDlg* plBumpMtl::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp)
|
||||
{
|
||||
fIMtlParams = imp;
|
||||
|
@ -42,10 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_BUMPMTL_H
|
||||
#define PL_BUMPMTL_H
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
|
||||
#include "../resource.h"
|
||||
#include "plPassMtlBase.h"
|
||||
|
||||
#define BUMP_MTL_CLASS_ID Class_ID(0x4dbf7b0a, 0x92226de)
|
||||
@ -77,7 +73,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return BUMP_MTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_BUMP_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
ParamDlg *CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp);
|
||||
void Update(TimeValue t, Interval& valid);
|
||||
|
@ -41,8 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plBumpMtl.h"
|
||||
#include "plPassBaseParamIDs.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "plPassAnimDlgProc.h"
|
||||
#include "plAnimStealthNode.h"
|
||||
|
@ -41,8 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plBumpMtl.h"
|
||||
#include "plBumpMtlBasicPB.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
class BumpBasicDlgProc : public ParamMap2UserDlgProc
|
||||
{
|
||||
|
@ -40,15 +40,21 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "plClothingMtl.h"
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
#include <windowsx.h>
|
||||
#include "../resource.h"
|
||||
#include "../Shaders.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plClothingMtl.h"
|
||||
|
||||
#include "../Shaders.h"
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "../plBMSampler.h"
|
||||
#include "stdmat.h"
|
||||
#include "../Layers/plLayerTex.h"
|
||||
#include "../Layers/plLayerTexBitmapPB.h"
|
||||
#include "plAvatar/plClothingLayout.h"
|
||||
@ -136,6 +142,11 @@ plClothingMtl::plClothingMtl(BOOL loading) : fBasicPB(NULL)
|
||||
fBasicPB->SetValue(ParamID(kThumbnail), 0, new plLayerTex);
|
||||
}
|
||||
|
||||
void plClothingMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_CLOTHING_MTL);
|
||||
}
|
||||
|
||||
void plClothingMtl::Reset()
|
||||
{
|
||||
fIValid.SetEmpty();
|
||||
|
@ -42,16 +42,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_CLOTHINGMTL_H
|
||||
#define PL_CLOTHINGMTL_H
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "../resource.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
class Bitmap;
|
||||
class plClothingItem;
|
||||
class plMaxNode;
|
||||
class plClothingElement;
|
||||
class Texmap;
|
||||
|
||||
#define CLOTHING_MTL_CLASS_ID Class_ID(0x792c6de4, 0x1f952b65)
|
||||
|
||||
@ -151,7 +148,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return CLOTHING_MTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_CLOTHING_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
ParamDlg *CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp);
|
||||
void Update(TimeValue t, Interval& valid);
|
||||
|
@ -39,11 +39,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
//#include "plClothingMtl.h"
|
||||
|
||||
#ifdef MAXASS_AVAILABLE
|
||||
#include "../../AssetMan/PublicInterface/AssManBaseTypes.h"
|
||||
#endif
|
||||
#include "max.h"
|
||||
|
||||
class plClothingEditBox
|
||||
{
|
||||
|
@ -40,9 +40,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plCompositeMtl.h"
|
||||
#include "plPassMtl.h"
|
||||
//#include "plCompositeMtlPB.h"
|
||||
#include "plCompositeMtlDlg.h"
|
||||
|
||||
class plCompositeClassDesc : public ClassDesc2
|
||||
@ -90,6 +96,11 @@ plCompositeMtl::plCompositeMtl(BOOL loading) : fPassesPB(NULL)
|
||||
}
|
||||
}
|
||||
|
||||
void plCompositeMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_COMP_MTL);
|
||||
}
|
||||
|
||||
void plCompositeMtl::Reset()
|
||||
{
|
||||
fIValid.SetEmpty();
|
||||
|
@ -42,11 +42,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef __PLCOMPMTL__H
|
||||
#define __PLCOMPMTL__H
|
||||
|
||||
#include "Max.h"
|
||||
#include "../resource.h"
|
||||
#include "istdplug.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
class Interval;
|
||||
class Mtl;
|
||||
class IParamBlock2;
|
||||
|
||||
extern TCHAR *GetString(int id);
|
||||
extern HINSTANCE hInstance;
|
||||
@ -135,7 +133,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return COMP_MTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_COMP_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
RefTargetHandle Clone(RemapDir &remap);
|
||||
RefResult NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,
|
||||
|
@ -40,13 +40,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "MaxIcon.h"
|
||||
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include <iparamb2.h>
|
||||
#include <maxicon.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plCompositeMtl.h"
|
||||
//#include "plCompositeMtlPB.h"
|
||||
//#include "plMaxLayer.h"
|
||||
#include "plCompositeMtlDlg.h"
|
||||
|
||||
struct LayerID
|
||||
|
@ -40,9 +40,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plDecalMtl.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
//extern ClassDesc2* GetMaxLayerDesc();
|
||||
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include <iparamm2.h>
|
||||
#include <istdplug.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plDecalMtl.h"
|
||||
|
||||
#include "../Shaders.h"
|
||||
#include "MaxComponent/plMaxAnimUtils.h"
|
||||
|
||||
@ -50,8 +58,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plDecalMtlBasicPB.h"
|
||||
#include "plDecalMtlLayersPB.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "../Layers/plLayerTex.h"
|
||||
#include "../Layers/plStaticEnvLayer.h"
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
@ -96,6 +102,11 @@ plDecalMtl::plDecalMtl(BOOL loading) : plPassMtlBase( loading )
|
||||
IVerifyStealthPresent(ENTIRE_ANIMATION_NAME);
|
||||
}
|
||||
|
||||
void plDecalMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_DECAL_MTL);
|
||||
}
|
||||
|
||||
ParamDlg* plDecalMtl::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp)
|
||||
{
|
||||
fIMtlParams = imp;
|
||||
|
@ -42,10 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_DECALMTL_H
|
||||
#define PL_DECALMTL_H
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
|
||||
#include "../resource.h"
|
||||
#include "plPassMtlBase.h"
|
||||
|
||||
#define DECAL_MTL_CLASS_ID Class_ID(0x691d2257, 0x419d629e)
|
||||
@ -82,7 +78,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return DECAL_MTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_DECAL_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
ParamDlg *CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp);
|
||||
void Update(TimeValue t, Interval& valid);
|
||||
|
@ -41,8 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plDecalMtl.h"
|
||||
#include "plPassBaseParamIDs.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "plPassAnimDlgProc.h"
|
||||
#include "plAnimStealthNode.h"
|
||||
|
@ -41,8 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plDecalMtl.h"
|
||||
#include "plDecalMtlBasicPB.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
class DecalBasicPBAccessor;
|
||||
extern DecalBasicPBAccessor basicAccessor;
|
||||
|
@ -41,9 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plDecalMtl.h"
|
||||
#include "plDecalMtlLayersPB.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "../Layers/plLayerTex.h"
|
||||
|
||||
|
@ -40,6 +40,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plMultipassMtl.h"
|
||||
#include "plPassMtl.h"
|
||||
#include "plMultipassMtlPB.h"
|
||||
@ -72,6 +79,11 @@ plMultipassMtl::plMultipassMtl(BOOL loading) : fPassesPB(NULL)
|
||||
SetNumSubMtls(1);
|
||||
}
|
||||
|
||||
void plMultipassMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_MULTI_MTL);
|
||||
}
|
||||
|
||||
void plMultipassMtl::Reset()
|
||||
{
|
||||
fIValid.SetEmpty();
|
||||
|
@ -42,12 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef __PLMAXMTL__H
|
||||
#define __PLMAXMTL__H
|
||||
|
||||
#include "Max.h"
|
||||
#include "../resource.h"
|
||||
#include "istdplug.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
extern TCHAR *GetString(int id);
|
||||
extern HINSTANCE hInstance;
|
||||
|
||||
@ -108,7 +102,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return MULTIMTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_MULTI_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
RefTargetHandle Clone(RemapDir &remap);
|
||||
RefResult NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,
|
||||
|
@ -40,13 +40,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "max.h"
|
||||
#include "MaxIcon.h"
|
||||
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <maxicon.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plMultipassMtl.h"
|
||||
#include "plMultipassMtlPB.h"
|
||||
//#include "plMaxLayer.h"
|
||||
#include "plMultipassMtlDlg.h"
|
||||
|
||||
struct LayerID
|
||||
|
@ -51,13 +51,15 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "plNoteTrackWatcher.h"
|
||||
#include "plPassMtlBase.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plNoteTrackWatcher.h"
|
||||
#include "plPassMtlBase.h"
|
||||
|
||||
//// Watcher Class Desc //////////////////////////////////////////////////////
|
||||
|
||||
|
@ -53,12 +53,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef _plNoteTrackWatcher_h
|
||||
#define _plNoteTrackWatcher_h
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
extern TCHAR *GetString(int id);
|
||||
extern HINSTANCE hInstance;
|
||||
|
||||
|
@ -40,16 +40,18 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plParticleMtl.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
//extern ClassDesc2* GetMaxLayerDesc();
|
||||
#include "../Shaders.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plParticleMtl.h"
|
||||
#include "../Shaders.h"
|
||||
|
||||
#include "MaxMain/plPlasmaRefMsgs.h"
|
||||
#include "../plBMSampler.h"
|
||||
#include "stdmat.h"
|
||||
#include "../Layers/plLayerTex.h"
|
||||
#include "../Layers/plLayerTexBitmapPB.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
@ -110,6 +112,11 @@ plParticleMtl::plParticleMtl(BOOL loading) : fBasicPB(NULL)//, fBM(NULL), fUVGen
|
||||
//fUVGen = GetNewDefaultUVGen();
|
||||
}
|
||||
|
||||
void plParticleMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_PARTICLE_MTL);
|
||||
}
|
||||
|
||||
void plParticleMtl::Reset()
|
||||
{
|
||||
fIValid.SetEmpty();
|
||||
|
@ -42,12 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_PARTICLEMTL_H
|
||||
#define PL_PARTICLEMTL_H
|
||||
|
||||
#include "Max.h"
|
||||
//#include "istdplug.h"
|
||||
#include "iparamb2.h"
|
||||
//#include "iparamm2.h"
|
||||
#include "../resource.h"
|
||||
|
||||
class Bitmap;
|
||||
|
||||
#define PARTICLE_MTL_CLASS_ID Class_ID(0x26df05ff, 0x60660749)
|
||||
@ -121,7 +115,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return PARTICLE_MTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_PARTICLE_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
ParamDlg *CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp);
|
||||
void Update(TimeValue t, Interval& valid);
|
||||
|
@ -46,12 +46,17 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPassAnimDlgProc.h"
|
||||
|
||||
#include "plPassBaseParamIDs.h"
|
||||
#include "MaxComponent/plNotetrackAnim.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "plAnimStealthNode.h"
|
||||
|
||||
|
@ -49,10 +49,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define _plPassAnimDlgProc_h
|
||||
|
||||
#include "plPassMtlBase.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
class plAnimStealthNode;
|
||||
class Interval;
|
||||
class IParamMap2;
|
||||
class ReferenceTarget;
|
||||
|
||||
class plPassAnimDlgProc : public ParamMap2UserDlgProc, public plMtlChangeCallback
|
||||
{
|
||||
|
@ -40,9 +40,16 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "HeadSpin.h"
|
||||
#include "plPassMtl.h"
|
||||
#include "hsBitVector.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
//extern ClassDesc2* GetMaxLayerDesc();
|
||||
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
#include <iparamm2.h>
|
||||
#include <stdmat.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPassMtl.h"
|
||||
#include "../Shaders.h"
|
||||
#include "MaxComponent/plMaxAnimUtils.h"
|
||||
|
||||
@ -50,13 +57,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plPassMtlBasicPB.h"
|
||||
#include "plPassMtlLayersPB.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "../Layers/plLayerTex.h"
|
||||
#include "../Layers/plStaticEnvLayer.h"
|
||||
#include "MaxMain/MaxCompat.h"
|
||||
|
||||
#include "hsBitVector.h"
|
||||
|
||||
extern HINSTANCE hInstance;
|
||||
|
||||
@ -103,6 +105,11 @@ plPassMtl::~plPassMtl()
|
||||
{
|
||||
}
|
||||
|
||||
void plPassMtl::GetClassName(TSTR& s)
|
||||
{
|
||||
s = GetString(IDS_PASS_MTL);
|
||||
}
|
||||
|
||||
ParamDlg* plPassMtl::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp)
|
||||
{
|
||||
fIMtlParams = imp;
|
||||
|
@ -42,12 +42,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef PL_PASSMTL_H
|
||||
#define PL_PASSMTL_H
|
||||
|
||||
#include "Max.h"
|
||||
//#include "istdplug.h"
|
||||
#include "iparamb2.h"
|
||||
//#include "iparamm2.h"
|
||||
|
||||
#include "../resource.h"
|
||||
#include "plPassMtlBase.h"
|
||||
#include "hsTemplates.h"
|
||||
|
||||
@ -85,7 +79,7 @@ public:
|
||||
//From Animatable
|
||||
Class_ID ClassID() { return PASS_MTL_CLASS_ID; }
|
||||
SClass_ID SuperClassID() { return MATERIAL_CLASS_ID; }
|
||||
void GetClassName(TSTR& s) { s = GetString(IDS_PASS_MTL); }
|
||||
void GetClassName(TSTR& s);
|
||||
|
||||
ParamDlg *CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp);
|
||||
void Update(TimeValue t, Interval& valid);
|
||||
|
@ -41,8 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plPassMtl.h"
|
||||
#include "plPassBaseParamIDs.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "plPassAnimDlgProc.h"
|
||||
#include "plAnimStealthNode.h"
|
||||
|
@ -47,11 +47,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsBitVector.h"
|
||||
#include "hsWindows.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "notify.h"
|
||||
#include "notetrck.h"
|
||||
#include <iparamb2.h>
|
||||
#include <max.h>
|
||||
#include <notetrck.h>
|
||||
#include <notify.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "plPassMtlBase.h"
|
||||
#include "plPassBaseParamIDs.h"
|
||||
|
@ -43,8 +43,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define PL_PASSMTLBASE_H
|
||||
|
||||
#include "hsTemplates.h"
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "plInterp/plAnimEaseTypes.h"
|
||||
|
||||
class plNoteTrackWatcher;
|
||||
|
@ -41,8 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plPassMtl.h"
|
||||
#include "plPassMtlBasicPB.h"
|
||||
#include "../resource.h"
|
||||
#include "iparamm2.h"
|
||||
|
||||
class PassBasicPBAccessor;
|
||||
extern PassBasicPBAccessor basicAccessor;
|
||||
|
@ -41,9 +41,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#include "plPassMtl.h"
|
||||
#include "plPassMtlLayersPB.h"
|
||||
#include "../resource.h"
|
||||
|
||||
#include "iparamm2.h"
|
||||
|
||||
#include "../Layers/plLayerTex.h"
|
||||
|
||||
|
Reference in New Issue
Block a user