MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / fileExists

Method fileExists

src/Abyss/AbyssEngine.cpp:356–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356bool AbyssEngine::fileExists(const std::string_view file_path) {
357 std::string path(file_path);
358 absl::AsciiStrToLower(&path);
359 absl::StrReplaceAll({{"{lang_font}", _locale}, {"{lang}", _lang}}, &path);
360 return _fileProvider.fileExists(path);
361}
362
363void AbyssEngine::setCursorImage(const std::string_view cursorName) { _cursorImage = _cursors[cursorName.data()].get(); }
364

Callers 3

SoundManager.cppFile · 0.45
MainMenuMethod · 0.45
playMainThemeMusicMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected