mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-07 21:30:47 -04:00
f_op_msg_mng Work (#685)
* f_op_msg_mng work * Fix Some Conflicts Haven't had much chance to work on actual progress, still looking to do more matching before merge * Tiny bit of Work Little bit of cleanup, start on a couple more functions * More Matches Also add back some missing nonmatch comments * Fixes * JPN ifdefs * Inline Fix Also force one match (there's no way that casting is real) * Reorder Strings Fix rodata, I think this order is also slightly more accurate to the function (but I'm not really trying to match it right now anyways)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPane.h"
|
||||
#include "JSystem/JKernel/JKRArchive.h"
|
||||
#include "JSystem/JUtility/JUTFont.h"
|
||||
#include "JSystem/JUtility/JUTResFont.h"
|
||||
|
||||
enum J2DTextBoxHBinding {
|
||||
@@ -36,6 +37,7 @@ public:
|
||||
|
||||
void initiate(const ResFONT*, const char*, J2DTextBoxHBinding, J2DTextBoxVBinding);
|
||||
void setFont(JUTFont*);
|
||||
JUTFont* getFont() { return mpFont; }
|
||||
void setFontSize(f32 sizeX, f32 sizeY) {
|
||||
mFontSizeX = sizeX > 0.0f ? sizeX : 0.0f;
|
||||
mFontSizeY = sizeY > 0.0f ? sizeY : 0.0f;
|
||||
@@ -53,6 +55,7 @@ public:
|
||||
void setWhite(JUtility::TColor c) { mBlack = c; }
|
||||
void setLineSpace(f32 x) { mLineSpace = x; }
|
||||
f32 getLineSpace() const { return mLineSpace; }
|
||||
f32 getCharSpace() const { return mCharSpace; }
|
||||
void setCharSpace(f32 x) { mCharSpace = x; }
|
||||
void draw(f32, f32, f32, J2DTextBoxHBinding);
|
||||
char* getStringPtr() const;
|
||||
|
||||
Reference in New Issue
Block a user