vgui::HFont ASW_GetSmallFont(bool bGlow) { vgui::IScheme *pScheme = vgui::scheme()->GetIScheme( vgui::scheme()->GetScheme( "SwarmSchemeNew" ) ); if ( !pScheme ) return vgui::INVALID_FONT; return pScheme->GetFont( "DefaultSmall", true ); if (!g_hObjectivesHUD.Get()) { g_hObjectivesHUD = GET_HUDELEMENT( CASWHudObjective ); } if (!g_hObjectivesHUD.Get()) { return vgui::INVALID_FONT; } if (g_hObjectivesHUD->m_iLastHeight != ScreenHeight()) g_hObjectivesHUD->SetDefaultHUDFonts(); if (bGlow) return g_hObjectivesHUD->m_hSmallGlowFont; return g_hObjectivesHUD->m_hSmallFont; }