forked from metin2/client
Added game files from TMP4
This commit is contained in:
@ -2,6 +2,7 @@ import net
|
||||
import app
|
||||
import ui
|
||||
import uiOption
|
||||
|
||||
import uiSystemOption
|
||||
import uiGameOption
|
||||
import uiScriptLocale
|
||||
@ -9,7 +10,7 @@ import networkModule
|
||||
import constInfo
|
||||
import localeInfo
|
||||
|
||||
SYSTEM_MENU_FOR_PORTAL = FALSE
|
||||
SYSTEM_MENU_FOR_PORTAL = False
|
||||
|
||||
###################################################################################################
|
||||
## System
|
||||
@ -127,13 +128,13 @@ class SystemDialog(ui.ScriptWindow):
|
||||
if None != self.eventOpenHelpWindow:
|
||||
self.eventOpenHelpWindow()
|
||||
|
||||
def __ClickInGameShopButton(self):
|
||||
self.Close()
|
||||
def __ClickInGameShopButton(self):
|
||||
self.Close()
|
||||
net.SendChatPacket("/in_game_mall")
|
||||
|
||||
def Close(self):
|
||||
self.Hide()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def RefreshMobile(self):
|
||||
if self.gameOptionDlg:
|
||||
@ -158,11 +159,11 @@ class SystemDialog(ui.ScriptWindow):
|
||||
|
||||
def OnPressExitKey(self):
|
||||
self.Close()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
def OnPressEscapeKey(self):
|
||||
self.Close()
|
||||
return TRUE
|
||||
return True
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@ -176,10 +177,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)
|
||||
|
Reference in New Issue
Block a user