mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 21:39:11 +00:00
Get MP1 Trilogy loading, implement version difference in CGuiTextPane, harden FrontEnd for Trilogy missing files
This commit is contained in:
@@ -15,7 +15,7 @@ class CGuiTextPane : public CGuiPane {
|
||||
public:
|
||||
CGuiTextPane(const CGuiWidgetParms& parms, CSimplePool* sp, const zeus::CVector2f& dim, const zeus::CVector3f& vec,
|
||||
CAssetId fontId, const CGuiTextProperties& props, const zeus::CColor& col1, const zeus::CColor& col2,
|
||||
s32 padX, s32 padY);
|
||||
s32 padX, s32 padY, CAssetId jpFontId, s32 jpExtentX, s32 jpExtentY);
|
||||
FourCC GetWidgetTypeID() const override { return FOURCC('TXPN'); }
|
||||
|
||||
CGuiTextSupport& TextSupport() { return xd4_textSupport; }
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
||||
bool TestCursorHit(const zeus::CMatrix4f& vp, const zeus::CVector2f& point) const override;
|
||||
|
||||
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
||||
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp, u32 version);
|
||||
};
|
||||
|
||||
} // namespace metaforce
|
||||
|
||||
Reference in New Issue
Block a user