d_place_name 90%

This commit is contained in:
Jasper St. Pierre
2023-10-15 21:21:07 -07:00
parent c9485926d6
commit 09c4a4dfc7
9 changed files with 268 additions and 48 deletions
+2
View File
@@ -69,6 +69,8 @@ public:
u8 getAlpha() const { return mAlpha; }
void setAlpha(u8 alpha) { mAlpha = alpha; }
bool isConnectParent() const { return mIsConnectParent; }
void show() { mVisible = true; }
void hide() { mVisible = false; }
public:
/* 0x04 */ u32 mMagic;
+8 -1
View File
@@ -9,6 +9,12 @@ class JKRArchive;
class J2DScreen : public J2DPane {
public:
J2DScreen(J2DPane* parent, bool visible, u32 tag, const JGeometry::TBox2<f32>& bounds)
: J2DPane(parent, visible, tag, bounds)
, mColor()
, mbClipToParent(false)
{}
virtual ~J2DScreen();
virtual u16 getTypeID() { return 0x08; }
virtual void calcMtx() { makeMatrix(mBounds.i.x, mBounds.i.y); }
@@ -16,10 +22,11 @@ public:
virtual J2DPane* search(u32 tag);
virtual J2DPane* createPane(J2DPane::J2DScrnBlockHeader const & header, JSURandomInputStream * pStream, J2DPane * pParent);
protected:
void draw(f32 x, f32 y, const J2DGrafContext * pCtx);
bool set(const char *pName, JKRArchive * pArc);
bool set(JSURandomInputStream * pStream);
protected:
s32 makeHierarchyPanes(J2DPane * pParent, JSURandomInputStream * pStream);
bool checkSignature(JSURandomInputStream * pStream);
bool getScreenInformation(JSURandomInputStream * pStream);