| 1 | // vim: set ft=cpp: |
| 2 | |
| 3 | #ifndef ZTERP_SOUND_H |
| 4 | #define ZTERP_SOUND_H |
| 5 | |
| 6 | #ifdef ZTERP_GLK |
| 7 | extern "C" { |
| 8 | #include <glk.h> |
| 9 | } |
| 10 | #endif |
| 11 | |
| 12 | #include "types.h" |
| 13 | |
| 14 | #ifdef GLK_MODULE_SOUND2 |
| 15 | void sound_stopped(glui32 chantype); |
| 16 | uint16_t sound_get_routine(glui32 chantype); |
| 17 | #endif |
| 18 | |
| 19 | void init_sound(); |
| 20 | bool sound_loaded(); |
| 21 | |
| 22 | void zsound_effect(); |
| 23 | |
| 24 | #endif |