mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions
This commit is contained in:
parent
8f8578c57b
commit
380dd952ed
7 changed files with 14 additions and 19 deletions
|
@ -87,8 +87,7 @@ class PO2RPO : public Modifier {
|
|||
void GetClassName(TSTR& s) {s = GetString(IDS_CLASS_NAME);}
|
||||
|
||||
RefTargetHandle Clone( RemapDir &remap );
|
||||
RefResult NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,
|
||||
PartID& partID, RefMessage message);
|
||||
RefResult NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate);
|
||||
|
||||
int NumSubs() { return 0; }
|
||||
TSTR SubAnimName(int i) { return GetString(IDS_PARAMS); }
|
||||
|
|
|
@ -220,8 +220,8 @@ void PO2RPO::EndEditParams( IObjParam *ip, ULONG flags,Animatable *next)
|
|||
|
||||
// -----------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
//From ReferenceMaker
|
||||
RefResult PO2RPO::NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,PartID& partID, RefMessage message)
|
||||
//From ReferenceMaker
|
||||
RefResult PO2RPO::NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate)
|
||||
{
|
||||
//TODO: Add code to handle the various reference changed messages
|
||||
return REF_SUCCEED;
|
||||
|
|
|
@ -574,9 +574,8 @@ class EditPatchMod : public Modifier, IPatchOps, IPatchSelect, ISubMtlAPI, Attac
|
|||
static bool additiveTile;
|
||||
static bool automaticLighting;
|
||||
|
||||
RefResult NotifyRefChanged( Interval changeInt,RefTargetHandle hTarget,
|
||||
PartID& partID, RefMessage message ) { return REF_SUCCEED; }
|
||||
|
||||
RefResult NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate) { return REF_SUCCEED; }
|
||||
|
||||
int selLevel;
|
||||
|
||||
// RB:named sel sets
|
||||
|
|
|
@ -304,10 +304,10 @@ void RPO::GetDeformBBox(TimeValue t, Box3& box, Matrix3 *tm, BOOL useSel )
|
|||
// ------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
//From ReferenceMaker
|
||||
RefResult RPO::NotifyRefChanged( Interval changeInt, RefTargetHandle hTarget,PartID& partID, RefMessage message )
|
||||
RefResult RPO::NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget,PartID& partID, RefMessage message, BOOL propagate )
|
||||
{
|
||||
//TODO: Implement, if the object makes references to other things
|
||||
//return PatchObject::NotifyRefChanged( changeInt, hTarget, partID, message);
|
||||
//return PatchObject::NotifyRefChanged( changeInt, hTarget, partID, message, propagate);
|
||||
return(REF_SUCCEED);
|
||||
}
|
||||
|
||||
|
|
|
@ -422,8 +422,7 @@ class PaintPatchMod : public Modifier
|
|||
static bool automaticLighting;
|
||||
static bool lockBorders;
|
||||
|
||||
RefResult NotifyRefChanged( Interval changeInt,RefTargetHandle hTarget,
|
||||
PartID& partID, RefMessage message ) { return REF_SUCCEED; }
|
||||
RefResult NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate) { return REF_SUCCEED; }
|
||||
|
||||
bool includeMeshes;
|
||||
bool preloadTiles;
|
||||
|
|
|
@ -161,9 +161,7 @@ public:
|
|||
Animatable* SubAnim(int i);
|
||||
TSTR SubAnimName(int i);
|
||||
|
||||
RefResult NotifyRefChanged( Interval changeInt,RefTargetHandle hTarget,
|
||||
PartID& partID, RefMessage message);
|
||||
|
||||
RefResult NotifyRefChanged(const Interval& changeInt,RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate);
|
||||
|
||||
CreateMouseCallBack* GetCreateMouseCallBack() {return NULL;}
|
||||
void BeginEditParams(IObjParam *ip, ULONG flags,Animatable *prev);
|
||||
|
|
|
@ -85,8 +85,7 @@ class RGBAdd: public Texmap {
|
|||
int RemapRefOnLoad(int iref);
|
||||
|
||||
RefTargetHandle Clone(RemapDir &remap = DefaultRemapDir());
|
||||
RefResult NotifyRefChanged( Interval changeInt, RefTargetHandle hTarget,
|
||||
PartID& partID, RefMessage message );
|
||||
RefResult NotifyRefChanged(const Interval &changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate);
|
||||
|
||||
// IO
|
||||
IOResult Save(ISave *isave);
|
||||
|
@ -365,9 +364,10 @@ TSTR RGBAdd::SubAnimName(int i) {
|
|||
}
|
||||
}
|
||||
|
||||
RefResult RGBAdd::NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,
|
||||
PartID& partID, RefMessage message ) {
|
||||
switch (message) {
|
||||
RefResult RGBAdd::NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate)
|
||||
{
|
||||
switch (message)
|
||||
{
|
||||
case REFMSG_CHANGE:
|
||||
ivalid.SetEmpty();
|
||||
if (hTarget == pblock)
|
||||
|
|
Loading…
Reference in a new issue