| 1726 | int16_t matcen::GetCreationTexture() { return m_creation_texture; } |
| 1727 | |
| 1728 | int 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 | |
| 1736 | bool matcen::SetSound(char sound_type, int sound_index) { |
| 1737 | if (sound_type >= 0 && sound_type < MAX_MATCEN_SOUNDS) { |
no outgoing calls
no test coverage detected