afxResidueMgr
Engine/source/afx/afxResidueMgr.h
Classes:
Public Friends
class
Private Static Attributes
Private Attributes
Private Functions
Private Static Functions
add_zodiac(F32 dur, F32 fade_dur, afxZodiacData * , const Point3F & pos, F32 rad, const Point2F & vrange, const LinearColorF & col, F32 ang, bool on_terrain)
Protected Functions
deleteResidueObject(SimObject * obj, bool del_notify)
disable_delete_tracking(Residue * )
enable_delete_tracking(Residue * )
manage_residue(const Residue * r)
bool
requires_delete_tracking(Residue * )
Public Functions
DECLARE_CATEGORY("AFX" )
onDeleteNotify(SimObject * object)
Called when a SimObject is deleted.
Public Static Functions
add_interior_zodiac(F32 dur, F32 fade_dur, afxZodiacData * , const Point3F & pos, F32 rad, const Point2F & vrange, const LinearColorF & col, F32 ang)
add_terrain_zodiac(F32 dur, F32 fade_dur, afxZodiacData * , const Point3F & pos, F32 rad, const LinearColorF & col, F32 ang)
setMaster(afxResidueMgr * m)
Detailed Description
Private Types
@20
Enumerator
- ZODIAC
- MODEL
@21
Enumerator
- FREE_POOL_BLOCK_SIZE = 256
typedef GameBase Parent
Public Friends
Private Static Attributes
bool enabled
U32 m_max_residue_objs
afxResidueMgr * the_mgr
Private Attributes
Vector< Residue * > m_free_pool_blocks
ResidueList m_managed
Residue * m_next_free
Private Functions
add_residue(Residue * )
alloc_free_pool_block()
alloc_residue()
bump_residue()
free_residue(Residue * )
Private Static Functions
add_zodiac(F32 dur, F32 fade_dur, afxZodiacData * , const Point3F & pos, F32 rad, const Point2F & vrange, const LinearColorF & col, F32 ang, bool on_terrain)
Protected Functions
deleteResidueObject(SimObject * obj, bool del_notify)
disable_delete_tracking(Residue * )
enable_delete_tracking(Residue * )
manage_residue(const Residue * r)
requires_delete_tracking(Residue * )
Public Functions
afxResidueMgr()
~afxResidueMgr()
cleanup()
DECLARE_CATEGORY("AFX" )
DECLARE_CONOBJECT(afxResidueMgr )
onDeleteNotify(SimObject * object)
Reimplemented from: SceneObject
residueAdvanceTime()
Public Static Functions
add(F32 dur, F32 fade_dur, afxModel * )
add_interior_zodiac(F32 dur, F32 fade_dur, afxZodiacData * , const Point3F & pos, F32 rad, const Point2F & vrange, const LinearColorF & col, F32 ang)
add_terrain_zodiac(F32 dur, F32 fade_dur, afxZodiacData * , const Point3F & pos, F32 rad, const LinearColorF & col, F32 ang)
getMaster()
setMaster(afxResidueMgr * m)