| 88 | } |
| 89 | |
| 90 | void LoadSound(const char* path, const char* data) { |
| 91 | LOGI << "Loading Sound file \"" << path << "\"" << std::endl; |
| 92 | SoundPlayInfo spi; |
| 93 | spi.path = std::string("Data/Sounds/weapon_foley/cut/") + path; |
| 94 | Sound sound(""); |
| 95 | unsigned long handle = sound.CreateHandle(); |
| 96 | sound.Play(handle, spi); |
| 97 | SDL_Delay(1000); |
| 98 | } |
| 99 | |
| 100 | void LoadSoundGroupZipFile(const std::string& path) { |
| 101 | ExpandedZipFile ezf; |
no test coverage detected