mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
hide scopealwaysshape from the "add" list, by consensus shive portals et al back to being tagged as volumes
This commit is contained in:
parent
373508f622
commit
4e93c0543e
9 changed files with 9 additions and 8 deletions
|
|
@ -74,7 +74,7 @@ class AccumulationVolume : public ScenePolyhedralSpace
|
||||||
// SimObject.
|
// SimObject.
|
||||||
DECLARE_CONOBJECT( AccumulationVolume );
|
DECLARE_CONOBJECT( AccumulationVolume );
|
||||||
DECLARE_DESCRIPTION( "Allows objects in an area to have accumulation effect applied." );
|
DECLARE_DESCRIPTION( "Allows objects in an area to have accumulation effect applied." );
|
||||||
DECLARE_CATEGORY( "Area" );
|
DECLARE_CATEGORY("Volume");
|
||||||
|
|
||||||
virtual bool onAdd();
|
virtual bool onAdd();
|
||||||
virtual void onRemove();
|
virtual void onRemove();
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ class OcclusionVolume : public ScenePolyhedralSpace
|
||||||
// SimObject.
|
// SimObject.
|
||||||
DECLARE_CONOBJECT( OcclusionVolume );
|
DECLARE_CONOBJECT( OcclusionVolume );
|
||||||
DECLARE_DESCRIPTION( "A visibility blocking volume." );
|
DECLARE_DESCRIPTION( "A visibility blocking volume." );
|
||||||
DECLARE_CATEGORY("Area");
|
DECLARE_CATEGORY("Volume");
|
||||||
|
|
||||||
virtual bool onAdd();
|
virtual bool onAdd();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ class PhysicalZone : public SceneObject
|
||||||
|
|
||||||
// SimObject
|
// SimObject
|
||||||
DECLARE_CONOBJECT(PhysicalZone);
|
DECLARE_CONOBJECT(PhysicalZone);
|
||||||
DECLARE_CATEGORY("Area");
|
DECLARE_CATEGORY("Volume");
|
||||||
static void consoleInit();
|
static void consoleInit();
|
||||||
static void initPersistFields();
|
static void initPersistFields();
|
||||||
bool onAdd();
|
bool onAdd();
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,7 @@ class Portal : public Zone
|
||||||
|
|
||||||
// SimObject.
|
// SimObject.
|
||||||
DECLARE_CONOBJECT( Portal );
|
DECLARE_CONOBJECT( Portal );
|
||||||
DECLARE_CATEGORY("Area");
|
DECLARE_CATEGORY("Volume");
|
||||||
|
|
||||||
static void initPersistFields();
|
static void initPersistFields();
|
||||||
static void consoleInit();
|
static void consoleInit();
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ class ScopeAlwaysShape : public StaticShape
|
||||||
ScopeAlwaysShape();
|
ScopeAlwaysShape();
|
||||||
static void initPersistFields();
|
static void initPersistFields();
|
||||||
DECLARE_CONOBJECT(ScopeAlwaysShape);
|
DECLARE_CONOBJECT(ScopeAlwaysShape);
|
||||||
|
DECLARE_CATEGORY("UNLISTED");
|
||||||
};
|
};
|
||||||
|
|
||||||
ScopeAlwaysShape::ScopeAlwaysShape()
|
ScopeAlwaysShape::ScopeAlwaysShape()
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ class SFXSpace : public SceneAmbientSoundObject< ScenePolyhedralObject< SceneSpa
|
||||||
// SimObject.
|
// SimObject.
|
||||||
DECLARE_CONOBJECT( SFXSpace );
|
DECLARE_CONOBJECT( SFXSpace );
|
||||||
DECLARE_DESCRIPTION( "A box volume that defines an ambient sound space." );
|
DECLARE_DESCRIPTION( "A box volume that defines an ambient sound space." );
|
||||||
DECLARE_CATEGORY("Area");
|
DECLARE_CATEGORY("Volume");
|
||||||
|
|
||||||
static void consoleInit();
|
static void consoleInit();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ class Trigger : public GameBase
|
||||||
|
|
||||||
// SimObject
|
// SimObject
|
||||||
DECLARE_CONOBJECT(Trigger);
|
DECLARE_CONOBJECT(Trigger);
|
||||||
DECLARE_CATEGORY("Area");
|
DECLARE_CATEGORY("Volume");
|
||||||
|
|
||||||
DECLARE_CALLBACK( void, onAdd, ( U32 objectId ) );
|
DECLARE_CALLBACK( void, onAdd, ( U32 objectId ) );
|
||||||
DECLARE_CALLBACK( void, onRemove, ( U32 objectId ) );
|
DECLARE_CALLBACK( void, onRemove, ( U32 objectId ) );
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ class VehicleBlocker : public SceneObject
|
||||||
~VehicleBlocker();
|
~VehicleBlocker();
|
||||||
|
|
||||||
DECLARE_CONOBJECT(VehicleBlocker);
|
DECLARE_CONOBJECT(VehicleBlocker);
|
||||||
DECLARE_CATEGORY("Area");
|
DECLARE_CATEGORY("Volume");
|
||||||
static void initPersistFields();
|
static void initPersistFields();
|
||||||
|
|
||||||
U32 packUpdate (NetConnection *conn, U32 mask, BitStream *stream);
|
U32 packUpdate (NetConnection *conn, U32 mask, BitStream *stream);
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ class Zone : public SceneAmbientSoundObject< ScenePolyhedralZone >
|
||||||
// SimObject
|
// SimObject
|
||||||
DECLARE_CONOBJECT( Zone );
|
DECLARE_CONOBJECT( Zone );
|
||||||
DECLARE_DESCRIPTION( "A volume that encloses objects for visibility culling." );
|
DECLARE_DESCRIPTION( "A volume that encloses objects for visibility culling." );
|
||||||
DECLARE_CATEGORY( "Area" );
|
DECLARE_CATEGORY("Volume");
|
||||||
|
|
||||||
static void consoleInit();
|
static void consoleInit();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue