afxResidueMgr

Engine/source/afx/afxResidueMgr.h

More...

Classes:

Private Types

enum
_Anonymous_ {
  ZODIAC 
  MODEL 
}
enum
_Anonymous_ {  FREE_POOL_BLOCK_SIZE = 256
}
Parent 

Public Friends

Private Static Attributes

Private Attributes

Private Functions

add_residue(Residue * )
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)
manage_residue(const Residue * r)
bool

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)

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)