mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +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
|
|
@ -205,6 +205,7 @@ class Explosion : public GameBase, public ISceneLight
|
|||
void setCollideType( U32 cType ){ mCollideType = cType; }
|
||||
|
||||
DECLARE_CONOBJECT(Explosion);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
static void initPersistFields();
|
||||
private:
|
||||
SimObject* ss_object;
|
||||
|
|
|
|||
|
|
@ -390,6 +390,7 @@ public:
|
|||
|
||||
// Declare Console Object.
|
||||
DECLARE_CONOBJECT(fxFoliageReplicator);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
};
|
||||
#pragma warning( pop )
|
||||
#endif // _FOLIAGEREPLICATOR_H_
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ public:
|
|||
void setTransform(const MatrixF & mat) { Parent::setTransform(mat); setRenderTransform(mat); };
|
||||
|
||||
DECLARE_CONOBJECT(fxShapeReplicatedStatic);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -187,6 +188,7 @@ public:
|
|||
|
||||
// Declare Console Object.
|
||||
DECLARE_CONOBJECT(fxShapeReplicator);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
};
|
||||
|
||||
#endif // _SHAPEREPLICATOR_H_
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ public:
|
|||
~GroundCover();
|
||||
|
||||
DECLARE_CONOBJECT(GroundCover);
|
||||
DECLARE_CATEGORY("Environment \t BackGround");
|
||||
|
||||
static void consoleInit();
|
||||
static void initPersistFields();
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ class Lightning : public GameBase
|
|||
void processEvent(LightningStrikeEvent*);
|
||||
|
||||
DECLARE_CONOBJECT(Lightning);
|
||||
DECLARE_CATEGORY("Environment \t Weather");
|
||||
static void initPersistFields();
|
||||
|
||||
U32 packUpdate (NetConnection *conn, U32 mask, BitStream *stream);
|
||||
|
|
|
|||
|
|
@ -168,6 +168,7 @@ class ParticleEmitter : public GameBase
|
|||
~ParticleEmitter();
|
||||
|
||||
DECLARE_CONOBJECT(ParticleEmitter);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
|
||||
static Point3F mWindVelocity;
|
||||
static void setWindVelocity( const Point3F &vel ){ mWindVelocity = vel; }
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ class ParticleEmitterNode : public GameBase
|
|||
void advanceTime(F32 dt);
|
||||
|
||||
DECLARE_CONOBJECT(ParticleEmitterNode);
|
||||
DECLARE_CATEGORY("Environment \t FX");
|
||||
static void initPersistFields();
|
||||
|
||||
U32 packUpdate (NetConnection *conn, U32 mask, BitStream* stream);
|
||||
|
|
|
|||
|
|
@ -280,6 +280,7 @@ class Precipitation : public GameBase
|
|||
|
||||
bool onNewDataBlock( GameBaseData *dptr, bool reload );
|
||||
DECLARE_CONOBJECT(Precipitation);
|
||||
DECLARE_CATEGORY("Environment \t Weather");
|
||||
static void initPersistFields();
|
||||
|
||||
U32 packUpdate(NetConnection*, U32 mask, BitStream* stream);
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ public:
|
|||
~Ribbon();
|
||||
|
||||
DECLARE_CONOBJECT(Ribbon);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
static void initPersistFields();
|
||||
bool onNewDataBlock(GameBaseData*,bool);
|
||||
void onRemove();
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ public:
|
|||
void advanceTime(F32 dt);
|
||||
|
||||
DECLARE_CONOBJECT(RibbonNode);
|
||||
DECLARE_CATEGORY("Environment \t FX");
|
||||
static void initPersistFields();
|
||||
|
||||
U32 packUpdate (NetConnection *conn, U32 mask, BitStream* stream);
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ public:
|
|||
|
||||
bool onNewDataBlock( GameBaseData *dptr, bool reload );
|
||||
DECLARE_CONOBJECT(Splash);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue