All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ConfigSound Class Reference

#include <C4Config.h>

Public Member Functions

void CompileFunc (StdCompiler *pComp)

Public Attributes

int32_t RXSound
int32_t RXMusic
int32_t FEMusic
int32_t FESamples
int32_t Verbose
int32_t MusicVolume
int32_t SoundVolume

Detailed Description

Definition at line 124 of file C4Config.h.

Member Function Documentation

void C4ConfigSound::CompileFunc ( StdCompiler pComp)

Definition at line 143 of file C4Config.cpp.

References DONCOFF, FEMusic, FESamples, mkNamingAdapt(), MusicVolume, RXMusic, RXSound, SoundVolume, StdCompiler::Value(), and Verbose.

144 {
145  pComp->Value(mkNamingAdapt(RXSound, "Sound", DONCOFF ,false, true));
146  pComp->Value(mkNamingAdapt(RXMusic, "Music", DONCOFF ,false, true));
147  pComp->Value(mkNamingAdapt(FEMusic, "MenuMusic", DONCOFF ,false, true));
148  pComp->Value(mkNamingAdapt(FESamples, "MenuSound", DONCOFF ,false, true));
149  pComp->Value(mkNamingAdapt(Verbose, "Verbose", 0 ));
150  pComp->Value(mkNamingAdapt(MusicVolume, "MusicVolume2", 40 ,false, true));
151  pComp->Value(mkNamingAdapt(SoundVolume, "SoundVolume", 100 ,false, true));
152 }
int32_t FEMusic
Definition: C4Config.h:129
int32_t RXSound
Definition: C4Config.h:127
int32_t SoundVolume
Definition: C4Config.h:133
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:93
int32_t Verbose
Definition: C4Config.h:131
void Value(const T &rStruct)
Definition: StdCompiler.h:171
int32_t FESamples
Definition: C4Config.h:130
int32_t MusicVolume
Definition: C4Config.h:132
#define DONCOFF
Definition: C4Config.cpp:47
int32_t RXMusic
Definition: C4Config.h:128

Here is the call graph for this function:

Member Data Documentation

int32_t C4ConfigSound::FESamples
int32_t C4ConfigSound::MusicVolume
int32_t C4ConfigSound::SoundVolume
int32_t C4ConfigSound::Verbose

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