From: Laszlo T. <ave...@us...> - 2006-06-26 10:33:08
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/bg1 In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv4182/GUIScripts/bg1 Modified Files: GUIWORLD.py Log Message: implemented SetTimedEvent guiscript function added a little delay to the death event continued combat implementation moveble: Added GetMostLikelyPosition for use Attack (to intercept target) Index: GUIWORLD.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/bg1/GUIWORLD.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** GUIWORLD.py 4 Dec 2005 23:12:41 -0000 1.10 --- GUIWORLD.py 26 Jun 2006 10:28:44 -0000 1.11 *************** *** 446,450 **** return ! def DeathWindow() : #playing death movie before continuing GemRB.PlayMovie ("deathand",1) --- 446,455 ---- return ! def DeathWindow (): ! GemRB.HideGUI () ! GemRB.SetTimedEvent ("DeathWindowEnd", 10) ! return ! ! def DeathWindowEnd (): #playing death movie before continuing GemRB.PlayMovie ("deathand",1) *************** *** 468,476 **** GemRB.SetEvent (Window, Button, IE_GUI_BUTTON_ON_PRESS, "QuitPress") ! hideflag = GemRB.HideGUI () GemRB.SetVar ("MessageWindow", -1) GemRB.SetVar ("ActionsWindow", Window) ! if hideflag: ! GemRB.UnhideGUI () #making the playing field gray GemRB.SetVisible (0,2) --- 473,480 ---- GemRB.SetEvent (Window, Button, IE_GUI_BUTTON_ON_PRESS, "QuitPress") ! GemRB.HideGUI () GemRB.SetVar ("MessageWindow", -1) GemRB.SetVar ("ActionsWindow", Window) ! GemRB.UnhideGUI () #making the playing field gray GemRB.SetVisible (0,2) |