mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
clean up "Add" menubar categoes on the 3d object side via the following:
SceneObject now defaults to a category of "misc" getCategoryOfClass now checks parent classes for what categories they hold so that variants can inherit categories are in one of a few rough groups and subgroups depending on actual mapper needs/usages
This commit is contained in:
parent
edbb76155b
commit
fbcfe02098
157 changed files with 127 additions and 131 deletions
|
|
@ -54,7 +54,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_AimData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_AltitudeConformData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_AltitudeConform : public afxXM_WeightedBase
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_BoxAdaptData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_BoxConformData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_BoxConform : public afxXM_Base
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ public:
|
|||
#endif
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_BoxHeightOffsetData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_FreezeData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_GroundConformData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_GroundConform : public afxXM_WeightedBase
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_HeightSamplerData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_MountedImageNodeData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_LocalOffsetData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
@ -145,7 +144,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WorldOffsetData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_OscillateData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_Oscillate_rot : public afxXM_WeightedBase
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_OscillateZodiacColorData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_OscillateZodiacColor : public afxXM_WeightedBase
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_PathConformData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxPath3D;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_PivotNodeOffsetData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_RandomRotData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_RandomRot : public afxXM_Base
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_ScaleData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_ShockwaveData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxConstraint;
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_SpinData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_VelocityOffsetData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -172,7 +172,6 @@ public:
|
|||
static afxXM_Waveform* getWaveform(U32 waveform_type);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WaveBaseData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
typedef afxXM_WaveBaseData::WaveFormType afxXM_WaveFormType;
|
||||
|
|
@ -210,7 +209,6 @@ public:
|
|||
static void initPersistFields();
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WaveRiderBaseData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -181,7 +181,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WaveColorData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
@ -297,7 +296,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WaveRiderColorData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -596,7 +596,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WaveScalarData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
@ -723,7 +722,6 @@ public:
|
|||
afxXM_Base* create(afxEffectWrapper* fx, bool on_server);
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WaveRiderScalarData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -91,7 +91,6 @@ public:
|
|||
virtual afxXM_Base* create(afxEffectWrapper* fx, bool on_server) { return 0; }
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_BaseData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_Base : public afxXM_Defs
|
||||
|
|
@ -147,7 +146,6 @@ public:
|
|||
static void initPersistFields();
|
||||
|
||||
DECLARE_CONOBJECT(afxXM_WeightedBaseData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
class afxXM_WeightedBase : public afxXM_Base
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue