mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 18:24:55 +00:00
Finish CMetroidAreaCollider
This commit is contained in:
@@ -11,7 +11,7 @@ namespace urde
|
||||
CGuiModel::CGuiModel(const CGuiWidgetParms& parms, CSimplePool* sp, ResId modelId, u32 lightMask, bool flag)
|
||||
: CGuiWidget(parms), x108_modelId(modelId), x10c_lightMask(lightMask)
|
||||
{
|
||||
if (!flag || (modelId & 0xffff) == 0xffff ||
|
||||
if (!flag || modelId == 0xffffffff ||
|
||||
parms.x0_frame->GetGuiSys().GetUsageMode() == CGuiSys::EUsageMode::Two)
|
||||
return;
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ void CGuiTextSupport::CheckAndRebuildTextBuffer()
|
||||
g_TextExecuteBuf->AddColor(EColorType::Outline, x28_outlineColor);
|
||||
|
||||
std::u16string initStr;
|
||||
if ((x5c_fontId & 0xffff) != 0xffff)
|
||||
if (x5c_fontId != 0xffffffff)
|
||||
initStr = hecl::Char16Format(L"&font=%08X;", u32(x5c_fontId));
|
||||
initStr += x0_string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user