2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 07:47:42 +00:00

CTextParser imps

This commit is contained in:
Jack Andersen
2016-03-20 14:25:53 -10:00
parent 6a2d791269
commit 89daac544f
14 changed files with 548 additions and 87 deletions

View File

@@ -17,22 +17,25 @@ class CSaveableState
friend class CFontInstruction;
friend class CLineExtraSpaceInstruction;
friend class CTextInstruction;
friend class CLineSpacingInstruction;
friend class CRemoveColorOverrideInstruction;
friend class CWordInstruction;
protected:
CDrawStringOptions x0_drawStrOpts;
TToken<CRasterFont> x14_font;
std::vector<CTextColor> x20_;
std::vector<bool> x30_;
std::vector<bool> x30_colorOverrides;
float x40_lineSpacing = 1.f;
s32 x44_extraLineSpace = 0;
bool x48_ = false;
EJustification x4c_just = EJustification::Zero;
EVerticalJustification x50_vjust = EVerticalJustification::Zero;
EJustification x4c_just = EJustification::Left;
EVerticalJustification x50_vjust = EVerticalJustification::Top;
public:
CSaveableState()
{
x20_.resize(3, zeus::CColor::skBlack);
x30_.resize(16);
x30_colorOverrides.resize(16);
}
};