From f039c33295b8bf2b472f286ecba81739153022dd Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Thu, 18 Aug 2011 20:37:57 +0000 Subject: [PATCH] rolled_up window fix git-svn-id: svn://kolibrios.org@2071 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/gomoku/trunk/gomoku.asm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/programs/games/gomoku/trunk/gomoku.asm b/programs/games/gomoku/trunk/gomoku.asm index 8cb55553ca..32982c475c 100644 --- a/programs/games/gomoku/trunk/gomoku.asm +++ b/programs/games/gomoku/trunk/gomoku.asm @@ -27,6 +27,12 @@ START: mov [rsx2],ax 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 48,4 xchg eax,ecx @@ -726,6 +732,7 @@ flags rw 1 ;3: ходы исчерпаны ;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: align 16 Board rb N*N