1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 09:25:37 +02:00

Remove irr namespace (#16309)

This commit is contained in:
Lars Müller
2025-07-09 10:35:52 +02:00
committed by GitHub
parent 7e22c72492
commit 61551cfc3a
381 changed files with 680 additions and 1632 deletions

View File

@@ -72,12 +72,12 @@ void FontEngine::clearCache()
}
}
irr::gui::IGUIFont *FontEngine::getFont(FontSpec spec)
gui::IGUIFont *FontEngine::getFont(FontSpec spec)
{
return getFont(spec, false);
}
irr::gui::IGUIFont *FontEngine::getFont(FontSpec spec, bool may_fail)
gui::IGUIFont *FontEngine::getFont(FontSpec spec, bool may_fail)
{
if (spec.mode == FM_Unspecified) {
spec.mode = s_default_font_mode;
@@ -310,7 +310,7 @@ gui::IGUIFont *FontEngine::initFont(FontSpec spec)
<< " " << size << "pt" << std::endl;
// Grab the face.
if (auto *face = irr::gui::SGUITTFace::loadFace(font_path)) {
if (auto *face = gui::SGUITTFace::loadFace(font_path)) {
auto *font = createFont(face);
face->drop();
return font;