rolled_up window fix

git-svn-id: svn://kolibrios.org@2071 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2011-08-18 20:37:57 +00:00
parent 91d1224af9
commit f039c33295

View File

@ -27,6 +27,12 @@ START:
mov [rsx2],ax mov [rsx2],ax
redraw_all: redraw_all:
mcall 9,proc_info,-1
test [proc_info.wnd_state], 0x04 ; is rolled_up?
jz @f
mcall 0,100*65536+(16*N+12),,0x34FFFFFF,,title
jmp still
@@:
mcall 12,1 mcall 12,1
mcall 48,4 mcall 48,4
xchg eax,ecx xchg eax,ecx
@ -726,6 +732,7 @@ flags rw 1
;3: å®¤ë ¨áç¥à¯ ­ë ;3: å®¤ë ¨áç¥à¯ ­ë
;4: ¢ print_board - ¢ë¤¥«¥­¨¥ ªà á­ë¬ 梥⮬ 5-⨠¢ àï¤ ª«¥â®ª ;4: ¢ print_board - ¢ë¤¥«¥­¨¥ ªà á­ë¬ 梥⮬ 5-⨠¢ àï¤ ª«¥â®ª
proc_info process_information ; it should be after I_END, but i'm afraid of lines 11-12. dunkaist
I_END: I_END:
align 16 align 16
Board rb N*N Board rb N*N