NLSOUND::CBackgroundSoundManager::TFxZone Struct Reference


Detailed Description

Storage for a fx zone.

Definition at line 291 of file background_sound_manager.h.

Public Member Functions

void serial (NLMISC::IStream &s)

Data Fields

NLMISC::TStringId FxName
 Name of the env fx.

NLMISC::CVector MaxBox
 The max vector of the bounding box.

NLMISC::CVector MinBox
 The min vector of the bounding box.

std::vector< NLMISC::CVectorPoints
 The vector of points compositing the primitive.


Member Function Documentation

void NLSOUND::CBackgroundSoundManager::TFxZone::serial NLMISC::IStream s  ) 
 

Definition at line 1487 of file background_sound_manager.cpp.

References FxName, NLMISC::CStringMapper::map(), and s.

01488 {
01489         std::string str;
01490 
01491         if (s.isReading())
01492         {
01493                 s.serial(str);
01494                 FxName= NLMISC::CStringMapper::map(str);
01495         }
01496         else
01497         {
01498                 s.serial(const_cast<std::string&>(NLMISC::CStringMapper::unmap(FxName)));
01499         }
01500 
01501         s.serialCont(Points);
01502         s.serial(MinBox);
01503         s.serial(MaxBox);
01504 }


Field Documentation

NLMISC::TStringId NLSOUND::CBackgroundSoundManager::TFxZone::FxName
 

Name of the env fx.

Definition at line 294 of file background_sound_manager.h.

Referenced by NLSOUND::CBackgroundSoundManager::addFxZone(), and serial().

NLMISC::CVector NLSOUND::CBackgroundSoundManager::TFxZone::MaxBox
 

The max vector of the bounding box.

Definition at line 300 of file background_sound_manager.h.

Referenced by NLSOUND::CBackgroundSoundManager::addFxZone().

NLMISC::CVector NLSOUND::CBackgroundSoundManager::TFxZone::MinBox
 

The min vector of the bounding box.

Definition at line 298 of file background_sound_manager.h.

Referenced by NLSOUND::CBackgroundSoundManager::addFxZone().

std::vector<NLMISC::CVector> NLSOUND::CBackgroundSoundManager::TFxZone::Points
 

The vector of points compositing the primitive.

Definition at line 296 of file background_sound_manager.h.

Referenced by NLSOUND::CBackgroundSoundManager::addFxZone().


The documentation for this struct was generated from the following files:
Generated on Tue Mar 16 14:32:09 2004 for NeL by doxygen 1.3.6