| 334 | Common::Configuration &AbyssEngine::getConfiguration() { return _configuration; } |
| 335 | |
| 336 | void AbyssEngine::setBackgroundMusic(const std::string_view path) { |
| 337 | _backgroundMusic = std::make_unique<Streams::AudioStream>(loadFile(path)); |
| 338 | _backgroundMusic->setLoop(true); |
| 339 | _backgroundMusic->play(); |
| 340 | } |
| 341 | |
| 342 | void AbyssEngine::addCursorImage(const std::string_view name, const std::string_view path, const DataTypes::Palette &palette) { |
| 343 | _cursors.emplace(std::string(name), new DataTypes::DC6(path)); |
no test coverage detected