Full Unicode patch with RTL Support & BiDi logic

This commit is contained in:
rtw1x1
2025-12-26 13:15:02 +00:00
parent 72a8ac00bf
commit 833c909826
3951 changed files with 44843 additions and 122775 deletions

View File

@@ -62,11 +62,7 @@ class LoadingWindow(ui.ScriptWindow):
try:
pyScrLoader = ui.PythonScriptLoader()
if localeInfo.IsYMIR() or localeInfo.IsWE_KOREA() or localeInfo.IsCANADA() or localeInfo.IsBRAZIL() or localeInfo.IsEUROPE() or localeInfo.IsJAPAN():
pyScrLoader.LoadScriptFile(self, uiScriptLocale.LOCALE_UISCRIPT_PATH + "LoadingWindow.py")
else:
pyScrLoader.LoadScriptFile(self, "UIScript/LoadingWindow.py")
pyScrLoader.LoadScriptFile(self, "UIScript/LoadingWindow.py")
except:
import exception
exception.Abort("LodingWindow.Open - LoadScriptFile Error")
@@ -81,53 +77,6 @@ class LoadingWindow(ui.ScriptWindow):
self.errMsg.Hide()
# if localeInfo.IsHONGKONG():
# imgFileNameDict = {
# 0 : app.GetLocalePath() + "/ui/loading/loading0.sub",
# 1 : app.GetLocalePath() + "/ui/loading/loading1.sub",
# 2 : app.GetLocalePath() + "/ui/loading/loading2.sub",
# 3 : app.GetLocalePath() + "/ui/loading/loading3.sub",
# 4 : app.GetLocalePath() + "/ui/loading/loading4.sub",
# 5 : app.GetLocalePath() + "/ui/loading/loading5.sub",
# 6 : app.GetLocalePath() + "/ui/loading/loading6.sub"
# }
# elif localeInfo.IsCIBN10():
# imgFileNameDict = {
# 0 : app.GetLocalePath() + "/ui/loading/loading0.jpg",
# 1 : app.GetLocalePath() + "/ui/loading/loading1.jpg",
# 2 : app.GetLocalePath() + "/ui/loading/loading2.jpg",
# 3 : app.GetLocalePath() + "/ui/loading/loading3.jpg",
# 4 : app.GetLocalePath() + "/ui/loading/loading4.jpg",
# 5 : app.GetLocalePath() + "/ui/loading/loading5.jpg",
# 6 : app.GetLocalePath() + "/ui/loading/loading6.jpg",
# 7 : app.GetLocalePath() + "/ui/loading/loading7.jpg",
# }
# elif localeInfo.IsYMIR() or localeInfo.IsWE_KOREA() or localeInfo.IsCANADA() or localeInfo.IsBRAZIL() or localeInfo.IsEUROPE() or localeInfo.IsJAPAN():
# imgFileNameDict = {
# 0 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading0.sub",
# 1 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading1.sub",
# 2 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading2.sub",
# 3 : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/loading3.sub",
# }
# elif constInfo.SUB2_LOADING_ENABLE:
# imgFileNameDict = {
# 0 : "d:/ymir work/uiloading/background_loading_warrior.sub",
# 1 : "d:/ymir work/uiloading/background_loading_assassin.sub",
# 2 : "d:/ymir work/uiloading/background_loading_shaman.sub",
# 3 : "d:/ymir work/uiloading/background_loading_sura.sub",
# 4 : "d:/ymir work/uiloading/background_loading_assassin2.sub",
# 5 : "d:/ymir work/uiloading/background_loading_sura2.sub",
# 6 : "d:/ymir work/uiloading/background_loading_assassin3.sub",
# 7 : "d:/ymir work/uiloading/background_loading_assassin3.sub",
# }
# else:
# imgFileNameDict = {
# 0 : "d:/ymir work/ui/intro/pattern/background_loading_warrior.jpg",
# 1 : "d:/ymir work/ui/intro/pattern/background_loading_assassin.jpg",
# 2 : "d:/ymir work/ui/intro/pattern/background_loading_shaman.jpg",
# }
# Loading merged together
imgFileNameDict = {
# Base