OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
GameMusic::GothicKitMusicProvider Struct Reference
Inheritance diagram for GameMusic::GothicKitMusicProvider:
GameMusic::MusicProvider

Public Member Functions

 GothicKitMusicProvider (uint16_t rate, uint16_t channels)
 
 ~GothicKitMusicProvider () override
 
void renderSound (int16_t *out, size_t n) override
 
void updateTheme ()
 
void stopTheme () override
 
DmEmbellishmentType computeEmbellishment (Tags nextTags, Tags currTags, zenkit::MusicTransitionEffect transtype) const
 
- Public Member Functions inherited from GameMusic::MusicProvider
void setEnabled (bool b)
 
bool isEnabled () const
 
void playTheme (const zenkit::IMusicTheme &theme, GameMusic::Tags tags)
 

Additional Inherited Members

- Protected Member Functions inherited from GameMusic::MusicProvider
bool updateTheme (zenkit::IMusicTheme &theme, Tags &tags)
 
- Static Protected Member Functions inherited from GameMusic::MusicProvider
static zenkit::MusicTransitionEffect computeTransitionEffect (Tags nextTags, Tags currTags, zenkit::MusicTransitionEffect transtype)
 
- Protected Attributes inherited from GameMusic::MusicProvider
Tags currentTags = Tags::Day
 

Detailed Description

Definition at line 223 of file gamemusic.cpp.

Constructor & Destructor Documentation

◆ GothicKitMusicProvider()

GameMusic::GothicKitMusicProvider::GothicKitMusicProvider ( uint16_t  rate,
uint16_t  channels 
)
inline

Definition at line 224 of file gamemusic.cpp.

◆ ~GothicKitMusicProvider()

GameMusic::GothicKitMusicProvider::~GothicKitMusicProvider ( )
inlineoverride

Definition at line 237 of file gamemusic.cpp.

Member Function Documentation

◆ computeEmbellishment()

DmEmbellishmentType GameMusic::GothicKitMusicProvider::computeEmbellishment ( Tags  nextTags,
Tags  currTags,
zenkit::MusicTransitionEffect  transtype 
) const
inline

Definition at line 281 of file gamemusic.cpp.

◆ renderSound()

void GameMusic::GothicKitMusicProvider::renderSound ( int16_t *  out,
size_t  n 
)
inlineoverride

Definition at line 241 of file gamemusic.cpp.

◆ stopTheme()

void GameMusic::GothicKitMusicProvider::stopTheme ( )
inlineoverridevirtual

Reimplemented from GameMusic::MusicProvider.

Definition at line 276 of file gamemusic.cpp.

◆ updateTheme()

void GameMusic::GothicKitMusicProvider::updateTheme ( )
inline

Definition at line 250 of file gamemusic.cpp.


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