96 #pragma push_macro("new")
99 using Collectable::operator
new;
100 using Collectable::operator
delete;
101 #pragma pop_macro("new")
112 BOOL derives_from_MAXWrapper() {
return TRUE; }
115 void drop_MAX_refs() { DeleteAllRefsFromMe(); }
117 bool can_collect_in_gc_light();
133 #pragma warning(push)
134 #pragma warning(disable:4100)
135 BOOL CanTransferReference(
int i) {
return FALSE; }
151 # undef def_generic_debug_ok
153 # undef def_2_prop_path
154 # undef def_nested_prop
156 #ifdef def_prop_getter
157 # undef def_prop_getter
158 # undef def_prop_setter
161 #define def_generic(fn, name) \
162 ScripterExport Value* fn##_vf(Value** arglist, int arg_count)
164 #define def_generic_debug_ok(fn, name) \
165 ScripterExport Value* fn##_vf(Value** arglist, int arg_count)
167 #define def_property(p) \
168 ScripterExport Value* get_##p(Value** arg_list, int count); \
169 ScripterExport Value* set_##p(Value** arg_list, int count)
170 #define def_prop_getter(p) \
171 ScripterExport Value* get_##p(Value** arg_list, int count)
172 #define def_prop_setter(p) \
173 ScripterExport Value* set_##p(Value** arg_list, int count)
174 #define def_2_prop_path(p1, p2) \
175 ScripterExport Value* get_##p1##_##p2(Value** arg_list, int count); \
176 ScripterExport Value* set_##p1##_##p2(Value** arg_list, int count)
177 #define def_nested_prop(p1) \
178 ScripterExport Value* get_nested_##p1(Value** arg_list, int count); \
179 ScripterExport Value* set_nested_##p1(Value** arg_list, int count)
190 def_generic (exprForMAXObject,
"exprForMAXObject");
249 virtual BOOL set_max_pos_controller(MAXControl* c) {
return FALSE; }
250 virtual BOOL set_max_scale_controller(MAXControl* c) {
return FALSE; }
251 virtual BOOL set_max_rotation_controller(MAXControl* c) {
return FALSE; }
252 virtual BOOL set_max_tm_controller(MAXControl* c) {
return FALSE; }
253 virtual BOOL set_max_controller(MAXControl* c) {
return FALSE; }
265 virtual void object_to_current_coordsys(
Point3& p,
int mode=0) { }
266 virtual void object_from_current_coordsys(
Point3& p,
int mode=0) { }
267 virtual void world_to_current_coordsys(
Point3& p,
int mode=0) { }
268 virtual void world_from_current_coordsys(
Point3& p,
int mode=0) { }
269 virtual void world_to_current_coordsys(
Quat& q) { }
270 virtual void world_from_current_coordsys(
Quat& q) { }
273 virtual void ctrl_to_current_coordsys(
Point3& p,
int mode=0) { }
274 virtual void ctrl_from_current_coordsys(
Point3& p,
int mode=0) { }
275 virtual void ctrl_to_current_coordsys(
Quat& q) { }
276 virtual void ctrl_from_current_coordsys(
Quat& q) { }
277 virtual void ctrl_to_current_coordsys(
ScaleValue& s) { }
278 virtual void ctrl_from_current_coordsys(
ScaleValue& s) { }
286 #define def_time_fn(_fn) ScripterExport Value* _fn##_vf(Value** arglist, int arg_count)
287 #include "../protocols/timefunctions.inl"
289 #define def_time_fn(_fn) ScripterExport Value* _fn(Animatable* anim, Value** arglist, int arg_count)
290 #include "../protocols/timefunctions.inl"
326 def_generic ( getSubAnimNames,
"getSubAnimNames" );
331 def_generic ( addPluginRollouts,
"addPluginRollouts");
345 friend void initialize_MAXScript();
Value * classOf_vf(Value **arg_list, int count)
const PartID PART_SELECT
See SELECT_CHANNEL.
Definition: ref.h:69
The Mesh class is provided for use by plug-ins and is used by the system.
Definition: mesh.h:1049
controller mat max min numsubs x z controller keys x z controller keys x
Definition: generics.inl:211
int Count() const
Retrieves the number of items in the Tab.
Definition: tab.h:223
Matrix2 Inverse(const Matrix2 &M)
virtual void SetReference(int i, RefTargetHandle rtarg)
Definition: rollouts.h:276
IOResult Save(ISave *isave)
controller mat max min numsubs x z controller keys x z controller keys x z angle controller keys x_rotation z_rotation axis isAnimated track
Definition: generics.inl:259
static Value * Load(ILoad *iload, USHORT chunkID, ValueLoader *vload)
#define class_tag(_cls)
Definition: value.h:438
BOOL is_kind_of(ValueMetaClass *c)
Definition: mxsobjects.h:460
controller mat max min numsubs x z controller keys x z controller
Definition: generics.inl:207
controller mat max min numsubs x z controller keys x z controller keys x z angle controller keys x_rotation z_rotation axis isAnimated scale
Definition: generics.inl:259
#define ScripterExport
Definition: ScripterExport.h:7
ReferenceTarget * r
Definition: ifnpub.h:1179
void to_fpvalue(FPValue &v)
Definition: functions.h:467
#define def_2_prop_path(p1, p2)
#define NULL
Definition: autoptr.h:20
Generic container class.
Definition: tab.h:181
Definition: ParamDimension.h:144
The MNMesh class is provided for temporary use by plug-ins, to help with complex topology-based modif...
Definition: mnmesh.h:1093
Definition: istdplug.h:3842
controller mat max min numsubs x z controller keys x z pos
Definition: generics.inl:207
Value * superClassOf_vf(Value **arg_list, int count)
Definition: Animatable.h:125
A pointer to a reference target.
Definition: paramtype.h:71
Definition: interval.h:33
#define MCHAR
MBCS/Unicode helper defines std::wofstream doesn't mix well with Unicode.
Definition: strbasic.h:92
Definition: baseinterface.h:67
Definition: maxtypes.h:138
ULONG SClass_ID
Definition: maxtypes.h:189
CoreExport IdentityTM idTM
ScripterExport RefResult NotifyRefChanged(const Interval &changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message, BOOL propagate)
Definition: ifnpub.h:1149
ULONG_PTR PartID
This is NOT just a bitmask, the parameter is also used to stuff pointers, hence the ULONG_PTR...
Definition: ref.h:52
CoreExport FPInterface * GetInterface(SClass_ID super, Class_ID cls, Interface_ID id)
Get ID'd interface from ClassDesc for given class/sclass.
Value * set_property(Value **arg_list, int count)
__inline int GetClassName(HWND hWnd, LPTSTR lpClassName, int nMaxCount)
Definition: Animatable.h:78
virtual CoreExport void * GetInterface(ULONG id)
Inherited from Animatable.
ParamType2 type
Definition: ifnpub.h:1152
const MCHAR * class_name()
Value * get_property(Value **arg_list, int count)
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
Definition: patchobj.h:483
Value * owner
Definition: functions.h:180
controller mat max min numsubs x z controller keys x z controller keys
Definition: generics.inl:209
Definition: control.h:1037
#define MAXSCRIPT_WRAPPER_CLASS_ID
Definition: plugapi.h:319
int NumRefs()
Definition: rollouts.h:273
#define REFMSG_CHANGE
Sent to dependents of a ReferenceTarget that has changed in some way.
Definition: ref.h:256
Value * isKindOf_vf(Value **arg_list, int count)
#define FOREVER
Definition: interval.h:141
SClass_ID SuperClassID()
Definition: mxsPlugin.h:192
A scene entity that is being owned and listened to by other scene entities.
Definition: ref.h:1796
Class_ID ClassID()
Definition: mxsPlugin.h:193
RefTargetHandle GetReference(int i)
Definition: rollouts.h:274
Definition: maxtypes.h:200
controller mat max min numsubs x z controller keys x z controller keys x z
Definition: generics.inl:213
unsigned int RefMessage
The message passed to notify and evaluate.
Definition: ref.h:207
Value * category
Definition: mxsobjects.h:553
#define def_nested_prop(p1)
Definition: strclass.h:70
#define def_prop_getter(p)
Definition: bitarray.h:59
RefResult
Return codes for reference handling and message processing methods.
Definition: ref.h:722
ScripterExport ReferenceTarget * get_max_object()
Definition: istdplug.h:3469
IOResult
Definition: maxtypes.h:268
virtual ScripterExport BOOL is_kind_of(ValueMetaClass *c)
#define def_generic(fn, name)