MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetSound

Method GetSound

Descent3/matcen.cpp:1728–1734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1726int16_t matcen::GetCreationTexture() { return m_creation_texture; }
1727
1728int matcen::GetSound(char sound_type) {
1729 if (sound_type >= 0 && sound_type < MAX_MATCEN_SOUNDS) {
1730 return m_sounds[sound_type];
1731 }
1732
1733 return MATCEN_ERROR;
1734}
1735
1736bool matcen::SetSound(char sound_type, int sound_index) {
1737 if (sound_type >= 0 && sound_type < MAX_MATCEN_SOUNDS) {

Callers 3

UpdateDialogMethod · 0.80
osipf_MatcenValueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected