109 static short meshBuilt;
110 static HWND hMaxEggParams;
111 static IObjParam *iObjParams;
120 void SaveCheckState();
124 void RemoveEgg(
int i);
125 MaxOptionsDialog *GetEgg(
int i) {
return (i >= 0 && i < numEggs) ? eggList[i] :
nullptr; }
129 RefResult NotifyRefChanged( Interval changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message );
130 void GetMat(TimeValue t, INode* inod, ViewExp *vpt, Matrix3& mat);
133 int HitTest(TimeValue t, INode* inode,
int type,
int crossing,
int flags, IPoint2 *p, ViewExp *vpt);
134 int Display(TimeValue t, INode* inode, ViewExp *vpt,
int flags);
135 CreateMouseCallBack* GetCreateMouseCallBack();
136 void BeginEditParams( IObjParam *ip, ULONG flags,Animatable *prev);
137 void EndEditParams( IObjParam *ip, ULONG flags,Animatable *next);
138#if MAX_VERSION_MAJOR < 15
139 TCHAR *GetObjectName() {
return GetString(IDS_LIBDESCRIPTION); }
141 const TCHAR *GetObjectName() {
return GetString(IDS_LIBDESCRIPTION); }
145 ObjectState Eval(TimeValue time);
146 void InitNodeName(TSTR& s) { s = GetString(IDS_CLASS_NAME); }
147 Interval ObjectValidity(TimeValue time);
149 int DoOwnSelectHilite() {
return 1; }
152 int IntersectRay(TimeValue t, Ray& r, PN_stdfloat& at) {
return 0; }
153 void GetWorldBoundBox(TimeValue t, INode *mat, ViewExp *vpt, Box3& box );
154 void GetLocalBoundBox(TimeValue t, INode *mat, ViewExp *vpt, Box3& box );
155 void GetDeformBBox(TimeValue t, Box3& box, Matrix3 *tm, BOOL useSel );
158 void DeleteThis() {
delete this; }
159 Class_ID ClassID() {
return MaxEggPlugin_CLASS_ID; }
160 void GetClassName(TSTR& s) { s = TSTR(GetString(IDS_CLASS_NAME)); }
161 TSTR SubAnimName(
int i) {
return TSTR(GetString(IDS_CLASS_NAME)); }
164 RefTargetHandle Clone(RemapDir& remap = DefaultRemapDir());
167 IOResult Save(ISave *isave);
168 IOResult Load(ILoad *iload);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.