2013-10-04 13:43:01 +04:00
|
|
|
|
BGRedrawThread:
|
|
|
|
|
|
|
|
|
|
mcall 40,010000b
|
|
|
|
|
|
|
|
|
|
BGRTRedrawIcons:
|
2013-10-11 16:39:43 +04:00
|
|
|
|
@@:
|
|
|
|
|
cmp [bIcoBuff],1 ;<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ᮢ<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
jne @f
|
|
|
|
|
mcall 5,1
|
|
|
|
|
jmp @b
|
|
|
|
|
@@:
|
|
|
|
|
|
|
|
|
|
mov [bIcoBuff],1
|
|
|
|
|
|
2013-10-04 13:43:01 +04:00
|
|
|
|
mcall 48,5
|
|
|
|
|
mov dx,ax
|
|
|
|
|
shr eax,16
|
|
|
|
|
sub dx,ax
|
|
|
|
|
mov [ScreenX],dx
|
|
|
|
|
mov ax,bx
|
|
|
|
|
shr ebx,16
|
|
|
|
|
sub ax,bx
|
|
|
|
|
mov [ScreenY],ax
|
|
|
|
|
|
|
|
|
|
mov ecx,[MaxNumIcon]
|
|
|
|
|
test ecx,ecx
|
|
|
|
|
jz .NoDraw
|
|
|
|
|
xor ebx,ebx
|
|
|
|
|
@@: push ecx
|
|
|
|
|
cmp [IconNoDraw],ebx
|
|
|
|
|
je .nd
|
|
|
|
|
stdcall DrawIcon,ebx,0
|
|
|
|
|
.nd:
|
|
|
|
|
inc ebx
|
|
|
|
|
pop ecx
|
|
|
|
|
loop @b
|
|
|
|
|
.NoDraw:
|
|
|
|
|
|
2013-10-11 16:39:43 +04:00
|
|
|
|
mov [bIcoBuff],0
|
2013-10-04 13:43:01 +04:00
|
|
|
|
|
|
|
|
|
|
2013-10-08 14:18:04 +04:00
|
|
|
|
BGRTmessages:
|
|
|
|
|
mcall 10
|
|
|
|
|
sub eax,5
|
|
|
|
|
jz BGRTRedrawIcons
|
|
|
|
|
|
|
|
|
|
jmp BGRTmessages
|
|
|
|
|
|
|
|
|
|
|
2013-10-04 13:43:01 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|