Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
SoundFXNugget Class Reference

Inherits FXNugget.

Public Member Functions

virtual void doFXPos (const Coord3D *primary, const Matrix3D *, const Real, const Coord3D *, const Real) const
 
virtual void doFXObj (const Object *primary, const Object *secondary=NULL) const
 
- Public Member Functions inherited from FXNugget
 FXNugget ()
 
- Public Member Functions inherited from MemoryPoolObject
void deleteInstance ()
 

Static Public Member Functions

static void parse (INI *ini, void *instance, void *, const void *)
 

Additional Inherited Members

- Protected Member Functions inherited from MemoryPoolObject
virtual ~MemoryPoolObject ()
 
void * operator new (size_t s)
 
void operator delete (void *p)
 
virtual MemoryPoolgetObjectMemoryPool ()=0
 

Detailed Description

Definition at line 96 of file FXList.cpp.

Member Function Documentation

◆ doFXObj()

virtual void SoundFXNugget::doFXObj ( const Object * primary,
const Object * secondary = NULL ) const
inlinevirtual

the object-based version... by default, just call the location-based implementation. Note that primary and/or secondary can be null, so you must check for this.

Reimplemented from FXNugget.

Definition at line 114 of file FXList.cpp.

◆ doFXPos()

virtual void SoundFXNugget::doFXPos ( const Coord3D * primary,
const Matrix3D * primaryMtx,
const Real primarySpeed,
const Coord3D * secondary,
const Real overrideRadius ) const
inlinevirtual

The main guts of the system: actually perform the sound and/or video effects needed. Note that primary and/or secondary can be null, so you must check for this.

Implements FXNugget.

Definition at line 102 of file FXList.cpp.

◆ parse()

static void SoundFXNugget::parse ( INI * ini,
void * instance,
void * ,
const void *  )
inlinestatic

Definition at line 127 of file FXList.cpp.


The documentation for this class was generated from the following file: