| 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)); |
| 344 | auto &cursorIcon = *_cursors[name.data()]; |
| 345 | cursorIcon.setPalette(palette); |
| 346 | cursorIcon.setBlendMode(Enums::BlendMode::Blend); |
| 347 | } |
| 348 | |
| 349 | FileSystem::InputStream AbyssEngine::loadFile(const std::string_view file_path) { |
| 350 | std::string path(file_path); |
no test coverage detected