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 123 of file C4Config.h.

Member Function Documentation

◆ CompileFunc()

void C4ConfigSound::CompileFunc ( StdCompiler pComp)

Definition at line 139 of file C4Config.cpp.

References DONCOFF, mkNamingAdapt(), and StdCompiler::Value().

140 {
141  pComp->Value(mkNamingAdapt(RXSound, "Sound", DONCOFF ,false, true));
142  pComp->Value(mkNamingAdapt(RXMusic, "Music", DONCOFF ,false, true));
143  pComp->Value(mkNamingAdapt(FEMusic, "MenuMusic", DONCOFF ,false, true));
144  pComp->Value(mkNamingAdapt(FESamples, "MenuSound", DONCOFF ,false, true));
145  pComp->Value(mkNamingAdapt(Verbose, "Verbose", 0 ));
146  pComp->Value(mkNamingAdapt(MusicVolume, "MusicVolume2", 40 ,false, true));
147  pComp->Value(mkNamingAdapt(SoundVolume, "SoundVolume", 100 ,false, true));
148 }
int32_t FEMusic
Definition: C4Config.h:128
int32_t RXSound
Definition: C4Config.h:126
int32_t SoundVolume
Definition: C4Config.h:132
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
int32_t Verbose
Definition: C4Config.h:130
void Value(const T &rStruct)
Definition: StdCompiler.h:161
int32_t FESamples
Definition: C4Config.h:129
int32_t MusicVolume
Definition: C4Config.h:131
#define DONCOFF
Definition: C4Config.cpp:43
int32_t RXMusic
Definition: C4Config.h:127
Here is the call graph for this function:

Member Data Documentation

◆ FEMusic

◆ FESamples

int32_t C4ConfigSound::FESamples

◆ MusicVolume

◆ RXMusic

◆ RXSound

◆ SoundVolume

int32_t C4ConfigSound::SoundVolume

◆ Verbose

int32_t C4ConfigSound::Verbose

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