Added game files from TMP4

This commit is contained in:
2023-07-21 21:55:58 +03:00
parent bb44b31af9
commit eb47a22455
9325 changed files with 276198 additions and 69890 deletions

View File

@ -9,10 +9,10 @@ import constInfo
import chrmgr
import player
MOBILE = FALSE
MOBILE = False
if localeInfo.IsYMIR():
MOBILE = TRUE
MOBILE = True
blockMode = 0
@ -323,32 +323,32 @@ class OptionDialog(ui.ScriptWindow):
text.replace('-', '')
net.SendChatPacket("/mobile " + text)
self.OnCloseInputDialog()
return TRUE
return True
def OnInputMobileAuthorityCode(self):
text = self.inputDialog.GetText()
net.SendChatPacket("/mobile_auth " + text)
self.OnCloseInputDialog()
return TRUE
return True
def OnDeleteMobile(self):
net.SendChatPacket("/mobile")
self.OnCloseQuestionDialog()
return TRUE
return True
def OnCloseInputDialog(self):
self.inputDialog.Close()
self.inputDialog = None
return TRUE
return True
def OnCloseQuestionDialog(self):
self.questionDialog.Close()
self.questionDialog = None
return TRUE
return True
def OnPressEscapeKey(self):
self.Close()
return TRUE
return True
def RefreshMobile(self):
global MOBILE
@ -407,10 +407,10 @@ if __name__ == "__main__":
import background
import player
#wndMgr.SetOutlineFlag(TRUE)
#wndMgr.SetOutlineFlag(True)
app.SetMouseHandler(mouseModule.mouseController)
app.SetHairColorEnable(TRUE)
app.SetHairColorEnable(True)
wndMgr.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())
app.Create("METIN2 CLOSED BETA", systemSetting.GetWidth(), systemSetting.GetHeight(), 1)