NLSOUND::TEnvEffectRoom Struct Reference

#include <env_effect.h>


Detailed Description

Enveffect preset and size.

Definition at line 72 of file env_effect.h.

Public Member Functions

void serial (NLMISC::IStream &s)
 Serialize.

 TEnvEffectRoom (const TEnvEffectPreset &preset=ENVEFFECT_ROOM, float size=7.5)
 Constructor.


Data Fields

TEnvEffectPreset Preset
float Size


Constructor & Destructor Documentation

NLSOUND::TEnvEffectRoom::TEnvEffectRoom const TEnvEffectPreset preset = ENVEFFECT_ROOM,
float  size = 7.5
[inline]
 

Constructor.

Definition at line 78 of file env_effect.h.

References Preset, and size.

00078 : Preset(preset), Size(size) {}


Member Function Documentation

void NLSOUND::TEnvEffectRoom::serial NLMISC::IStream s  )  [inline]
 

Serialize.

Definition at line 81 of file env_effect.h.

References Preset, s, NLSOUND::TEnvEffectPreset, and uint8.

00082         {
00083                 uint8 preset8 = (uint8)Preset; // out
00084                 s.serial( preset8 );
00085                 Preset = (TEnvEffectPreset)preset8; // in
00086                 s.serial( Size );
00087         }


Field Documentation

TEnvEffectPreset NLSOUND::TEnvEffectRoom::Preset
 

Definition at line 74 of file env_effect.h.

Referenced by serial(), and TEnvEffectRoom().

float NLSOUND::TEnvEffectRoom::Size
 

Definition at line 75 of file env_effect.h.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 14:52:24 2004 for NeL by doxygen 1.3.6