work on d_msg_class and JUTResFont (#2015)

* JUTResFont - Set symbols on

* Work on d_msg_class
This commit is contained in:
hatal175
2023-12-28 22:45:53 +02:00
committed by GitHub
parent 3b7c793ac9
commit 402666242b
7 changed files with 657 additions and 250 deletions
+9 -3
View File
@@ -83,9 +83,15 @@ public:
/* 0x3C */ virtual ResFONT* getResFont() const = 0;
/* 0x40 */ virtual bool isLeadByte(int a1) const = 0;
static bool isLeadByte_1Byte(int b);
static bool isLeadByte_2Byte(int b);
static bool isLeadByte_ShiftJIS(int b);
static bool isLeadByte_1Byte(int b) {
return false;
}
static bool isLeadByte_2Byte(int b) {
return true;
}
static bool isLeadByte_ShiftJIS(int b) {
return (b >= 0x81 && b <= 0x9f) || (b >= 0xe0 && b <= 0xfc);
}
void initialize_state();
void setCharColor(JUtility::TColor col1);