Add auto line break, font size selection. Fix voicecheck in gallery. Adjust text box size

This commit is contained in:
2022-11-26 17:01:26 -05:00
parent d98093fc06
commit e58f2a5d8a
18 changed files with 446 additions and 342 deletions
@@ -11,8 +11,13 @@ namespace Qoo.Def
return FontDef.FontInfo[(int)eSize];
}
// Token: 0x040004D7 RID: 1239
public const bool KERNING_MODE = true;
public static void SetFontInfo(FONTINFO[] newFontInfo)
{
FontDef.FontInfo = newFontInfo;
}
// Token: 0x040004D7 RID: 1239
public const bool KERNING_MODE = true;
// Token: 0x040004D8 RID: 1240
public const int FONT_SMALL_FONT = 22;
@@ -324,7 +324,7 @@ namespace Qoo.Game
// Token: 0x0600009B RID: 155 RVA: 0x00004340 File Offset: 0x00002540
public static void StartVoiceCheck()
{
GameData.SetParamInt("voicecheck", string.Empty, 1);
GameData.SetParamInt("voicecheck", string.Empty, 0);
}
// Token: 0x0600009C RID: 156 RVA: 0x00004354 File Offset: 0x00002554
@@ -342,7 +342,7 @@ namespace Qoo.Game
// Token: 0x0600009E RID: 158 RVA: 0x00004388 File Offset: 0x00002588
public static bool IsFullVoiceCheck()
{
return GameData.GetParamInt("voicecheck", string.Empty) > 1;
return GameData.GetParamInt("voicecheck", string.Empty) > 0;
}
// Token: 0x0600009F RID: 159 RVA: 0x000043A8 File Offset: 0x000025A8
@@ -66,7 +66,7 @@ namespace Qoo.Game
{
SysData.InitCg();
SysData.InitBgm();
return SysData.m_Param.Init();
return SysData.m_Param.Init();
}
// Token: 0x06000119 RID: 281 RVA: 0x00005EBC File Offset: 0x000040BC
@@ -281,7 +281,7 @@ namespace Qoo.Game
// Token: 0x0600013B RID: 315 RVA: 0x00006170 File Offset: 0x00004370
public static bool IsReadCG(string name)
{
return SysData.m_LookCg.IsLook(FileId.Normalize(name));
return SysData.m_LookCg.IsLook(FileId.Normalize(name));
}
// Token: 0x0600013C RID: 316 RVA: 0x00006184 File Offset: 0x00004384
@@ -297,6 +297,7 @@ namespace Qoo.Game
}
// Token: 0x0600013E RID: 318 RVA: 0x000061A4 File Offset: 0x000043A4
//Will 100% all CGs if called
public static void SetReadCGAll()
{
SysData.m_LookCg.SetAll(true);