Torque3D Documentation / _generateds / afxChoreographer

afxChoreographer

Engine/source/afx/afxChoreographer.h

More...

Classes:

Public Types

enum
_Anonymous_ {  USER_EXEC_CONDS_MASK = 0x00ffffff
}
enum
MaskBits {
  TriggerMask = Parent::NextFreeMask << 0
  RemapConstraintMask = Parent::NextFreeMask << 1
  NextFreeMask = Parent::NextFreeMask << 2
}

Private Types

Parent 

Public Functions

bool
addConstraint(const char * source_spec, const char * cons_name)
addObjectConstraint(SceneObject * , const char * cons_name)
addObjectConstraint(U16 scope_id, const char * cons_name, bool is_shape)
addPointConstraint(Point3F & , const char * cons_name)
addTransformConstraint(MatrixF & , const char * cons_name)
executeScriptEvent(const char * method, afxConstraint * , const MatrixF & xfm, const char * data)
inflictDamage(const char * label, const char * flavor, SimObjectId target, F32 amt, U8 count, F32 ad_amt, F32 rad, Point3F pos, F32 imp)
bool

Called when the object is added to the sim.

Called when a SimObject is deleted.

bool
onNewDataBlock(GameBaseData * dptr, bool reload)

Called when a new datablock is set.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

bool
remapConstraint(const char * source_spec, const char * cons_name)
remapObjectConstraint(U16 scope_id, const char * cons_name, bool is_shape)
remapPointConstraint(Point3F & , const char * cons_name)
setTriggerMask(U32 trigger_mask)
bool
testLevelOfDetail(U8 low, U8 high)
bool
testRanking(U8 low, U8 high)

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

Detailed Description

Public Types

@1

Enumerator

USER_EXEC_CONDS_MASK = 0x00ffffff
MaskBits

Enumerator

TriggerMask = Parent::NextFreeMask << 0
RemapConstraintMask = Parent::NextFreeMask << 1
NextFreeMask = Parent::NextFreeMask << 2

Private Types

typedef GameBase Parent 

Private Attributes

afxChoreographerData * datablock 
Vector< dynConstraintDef > dc_defs_a 
Vector< dynConstraintDef > dc_defs_b 
SimObject * exeblock 
afxForceSetMgr * force_set_mgr 
SimSet named_effects 
Vector< afxParticlePool * > particle_pools 
GameBase * proc_after_obj 
U32 trigger_mask 

Protected Attributes

U32 choreographer_id 
afxConstraintMgr * constraint_mgr 
Vector< dynConstraintDef > * dyn_cons_defs 
Vector< dynConstraintDef > * dyn_cons_defs2 
U32 exec_conds_mask 
Vector< NetConnection * > explicit_clients 
U8 lod 
SimObject * mExtra 
bool postpone_activation 
U8 ranking 
Vector< dynConstraintDef * > remapped_cons_defs 
bool remapped_cons_sent 
bool started_with_newop 

Protected Functions

check_packet_usage(NetConnection * , BitStream * , S32 mark_stream_pos, const char * msg_tag)

find_cons_def_by_name(const char * cons_name)

get_camera(Point3F * cam_pos)

pack_constraint_info(NetConnection * conn, BitStream * stream)

Reimplemented by: afxMagicSpell

remap_builtin_constraint(SceneObject * , const char * cons_name)

Reimplemented by: afxMagicSpell

setup_dynamic_constraints()

unpack_constraint_info(NetConnection * conn, BitStream * stream)

Reimplemented by: afxMagicSpell

Public Functions

afxChoreographer()

~afxChoreographer()

addConstraint(const char * source_spec, const char * cons_name)

addExplicitClient(NetConnection * conn)

addNamedEffect(afxEffectWrapper * )

addObjectConstraint(SceneObject * , const char * cons_name)

addObjectConstraint(U16 scope_id, const char * cons_name, bool is_shape)

addPointConstraint(Point3F & , const char * cons_name)

addTransformConstraint(MatrixF & , const char * cons_name)

clearChoreographerId()

DECLARE_CATEGORY("AFX" )

DECLARE_CONOBJECT(afxChoreographer )

executeScriptEvent(const char * method, afxConstraint * , const MatrixF & xfm, const char * data)

Reimplemented by: afxMagicSpell

findNamedEffect(StringTableEntry )

findParticlePool(afxParticlePoolData * key_block, U32 key_index)

getChoreographerId()

getConstraintMgr()

getExecConditions()

getExplicitClientCount()

getForceSetMgr()

getLevelOfDetail()

getRanking()

getTriggerMask()

impactNotify(const Point3F & p, const Point3F & n, SceneObject * )

Reimplemented from: afxMagicMissileCallback

Reimplemented by: afxMagicSpell

inflictDamage(const char * label, const char * flavor, SimObjectId target, F32 amt, U8 count, F32 ad_amt, F32 rad, Point3F pos, F32 imp)

Reimplemented by: afxEffectron, afxMagicSpell

onAdd()

Reimplemented from: SceneObject

Reimplemented by: afxEffectron, afxMagicSpell, afxSelectron

onDeleteNotify(SimObject * object)

Reimplemented from: SceneObject

Reimplemented by: afxMagicSpell

onNewDataBlock(GameBaseData * dptr, bool reload)

Reimplemented from: GameBase

Reimplemented by: afxEffectron, afxMagicSpell, afxSelectron

onRemove()

Reimplemented from: SceneObject

Reimplemented by: afxMagicSpell, afxSelectron

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: SceneObject

Reimplemented by: afxEffectron, afxMagicSpell, afxSelectron

postProcessAfterObject(GameBase * obj)

registerParticlePool(afxParticlePool * )

remapConstraint(const char * source_spec, const char * cons_name)

remapObjectConstraint(SceneObject * , const char * cons_name)

remapObjectConstraint(U16 scope_id, const char * cons_name, bool is_shape)

remapPointConstraint(Point3F & , const char * cons_name)

remapTransformConstraint(MatrixF & , const char * cons_name)

removeExplicitClient(NetConnection * conn)

removeNamedEffect(afxEffectWrapper * )

restoreObject(SceneObject * )

Reimplemented by: afxMagicSpell

restoreScopedObject(SceneObject * obj)

setExecConditions(U32 mask)

setExtra(SimObject * extra)

setGhostConstraintObject(SceneObject * , StringTableEntry cons_name)

setLevelOfDetail(U8 value)

setRanking(U8 value)

setTriggerMask(U32 trigger_mask)

sync_with_clients()

Reimplemented by: afxEffectron, afxMagicSpell, afxSelectron

testLevelOfDetail(U8 low, U8 high)

testRanking(U8 low, U8 high)

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject

Reimplemented by: afxEffectron, afxMagicSpell, afxSelectron

unregisterParticlePool(afxParticlePool * )

Public Static Functions

initPersistFields()