mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
string_view refactor
This commit is contained in:
@@ -267,16 +267,16 @@ public:
|
||||
static zeus::CTransform BuildFinalCameraTransform(const zeus::CQuaternion& rot,
|
||||
const zeus::CVector3f& pos,
|
||||
const zeus::CVector3f& camPos);
|
||||
static void DisplayHudMemo(const std::u16string& text, const CHUDMemoParms& info)
|
||||
static void DisplayHudMemo(std::u16string_view text, const CHUDMemoParms& info)
|
||||
{
|
||||
if (g_SamusHud)
|
||||
g_SamusHud->InternalDisplayHudMemo(text, info);
|
||||
}
|
||||
void InternalDisplayHudMemo(const std::u16string& text, const CHUDMemoParms& info)
|
||||
void InternalDisplayHudMemo(std::u16string_view text, const CHUDMemoParms& info)
|
||||
{
|
||||
SetMessage(text, info);
|
||||
}
|
||||
void SetMessage(const std::u16string& text, const CHUDMemoParms& info);
|
||||
void SetMessage(std::u16string_view text, const CHUDMemoParms& info);
|
||||
static void DeferHintMemo(CAssetId strg, u32 strgIdx, const CHUDMemoParms& info)
|
||||
{
|
||||
if (g_SamusHud)
|
||||
|
||||
Reference in New Issue
Block a user