101 return (b >= 0x81 && b <= 0x9f) || (b >= 0xe0 && b <= 0xfc);
104 return (b >= 0xA1 && b <= 0xFE) || b == 0x8E;
T cLib_calcTimer(T *value)
Definition c_lib.h:74
void drawString_scale(f32 posX, f32 posY, f32 width, f32 height, const char *str, bool visible)
Definition JUTFont.h:121
virtual ResFONT * getResFont() const =0
JUtility::TColor mColor2
Definition JUTFont.h:140
void initialize_state()
Definition JUTFont.cpp:14
virtual s32 getAscent() const =0
virtual s32 getDescent() const =0
int getWidth(int i_no) const
Definition JUTFont.h:126
bool isFixed() const
Definition JUTFont.h:133
bool isValid() const
Definition JUTFont.h:132
void drawString_size(int posX, int posY, const char *str, u32 len, bool visible)
Definition JUTFont.h:117
virtual s32 getHeight() const =0
bool mValid
Definition JUTFont.h:136
virtual ~JUTFont()
Definition JUTFont.h:72
void drawString(int posX, int posY, const char *str, bool visible)
Definition JUTFont.h:113
static bool isLeadByte_EUC(int b)
Definition JUTFont.h:103
bool mFixed
Definition JUTFont.h:137
void setCharColor(JUtility::TColor col1)
Definition JUTFont.cpp:22
void setGradColor(JUtility::TColor col1, JUtility::TColor col2)
Definition JUTFont.cpp:31
static bool isLeadByte_ShiftJIS(int b)
Definition JUTFont.h:100
static bool isLeadByte_1Byte(int b)
Definition JUTFont.h:94
f32 drawString_size_scale(f32 posX, f32 posY, f32 width, f32 height, const char *str, u32 usz, bool visible)
Definition JUTFont.cpp:40
int mFixedWidth
Definition JUTFont.h:138
virtual f32 drawChar_scale(f32 a1, f32 a2, f32 a3, f32 a4, int a5, bool a6)=0
virtual s32 getCellHeight() const
Definition JUTFont.h:89
JUtility::TColor mColor1
Definition JUTFont.h:139
virtual void getWidthEntry(int i_no, TWidth *width) const =0
virtual void setGX(JUtility::TColor col1, JUtility::TColor col2)
Definition JUTFont.h:80
virtual s32 getCellWidth() const
Definition JUTFont.h:88
JUtility::TColor mColor4
Definition JUTFont.h:142
JUtility::TColor mColor3
Definition JUTFont.h:141
static bool isLeadByte_2Byte(int b)
Definition JUTFont.h:97
virtual bool isLeadByte(int a1) const =0
JUTFont()
Definition JUTFont.cpp:9
int getFixedWidth() const
Definition JUTFont.h:134
virtual int getFontType() const =0
virtual int getLeading() const =0
virtual s32 getWidth() const =0
u8 field_0x1
Definition JUTFont.h:76
u8 field_0x0
Definition JUTFont.h:75
u16 cellWidth
Definition JUTFont.h:46
u32 size
Definition JUTFont.h:43
u16 textureWidth
Definition JUTFont.h:52
u16 padding
Definition JUTFont.h:54
u16 endCode
Definition JUTFont.h:45
u16 numRows
Definition JUTFont.h:50
u16 numColumns
Definition JUTFont.h:51
u32 magic
Definition JUTFont.h:42
u16 cellHeight
Definition JUTFont.h:47
u16 startCode
Definition JUTFont.h:44
u32 textureSize
Definition JUTFont.h:48
u16 textureHeight
Definition JUTFont.h:53
u8 data[]
Definition JUTFont.h:55
u16 textureFormat
Definition JUTFont.h:49
u32 magic
Definition JUTFont.h:13
u16 descent
Definition JUTFont.h:17
u16 defaultCode
Definition JUTFont.h:20
u16 width
Definition JUTFont.h:18
u16 leading
Definition JUTFont.h:19
u32 size
Definition JUTFont.h:14
u16 fontType
Definition JUTFont.h:15
u16 ascent
Definition JUTFont.h:16
u16 startCode
Definition JUTFont.h:35
u16 mLeading
Definition JUTFont.h:38
u16 mappingMethod
Definition JUTFont.h:34
u16 endCode
Definition JUTFont.h:36
u16 numEntries
Definition JUTFont.h:37
u32 size
Definition JUTFont.h:33
u32 magic
Definition JUTFont.h:32
u8 mChunkNum[4]
Definition JUTFont.h:28
u16 startCode
Definition JUTFont.h:26
u16 endCode
Definition JUTFont.h:27
u32 size
Definition JUTFont.h:25
u32 magic
Definition JUTFont.h:24
u64 magic
Definition JUTFont.h:58
u8 data[]
Definition JUTFont.h:62
u32 numBlocks
Definition JUTFont.h:60
u8 padding[0x10]
Definition JUTFont.h:61
u32 filesize
Definition JUTFont.h:59
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned short u16
Definition types.h:9
unsigned long long u64
Definition types.h:11
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8