405,8 → 405,7 |
.end_0: |
|
;横« ¯® «®£¨ç¥áª¨¬ í«¥¬¥â ¬ ¨ ¯®¤¯¨áï¬ |
stdcall dword[tl_node_poi_get_info],0,tree1 |
pop eax |
stdcall dword[tl_node_poi_get_info], tree1,0 |
@@: |
cmp eax,0 |
je .end_1 |
416,14 → 415,13 |
je .mov_1 |
jmp .end_mov_1 |
.mov_1: |
stdcall [tl_node_poi_get_data], eax, tree1 |
pop ecx |
|
add [ecx],edx ;coord x |
add [ecx+4],esi ;coord y |
mov ecx,eax |
stdcall [tl_node_poi_get_data], tree1,eax |
add [eax],edx ;coord x |
add [eax+4],esi ;coord y |
mov eax,ecx |
.end_mov_1: |
stdcall dword[tl_node_poi_get_next_info],eax,tree1 |
pop eax ;¯¥à¥å®¤¨¬ ª á«¥¤ã饬ã 㧫ã |
stdcall dword[tl_node_poi_get_next_info], tree1,eax ;¯¥à¥å®¤¨¬ ª á«¥¤ã饬ã 㧫ã |
jmp @b |
.end_1: |
|
536,25 → 534,22 |
|
align 4 |
proc p_paint_elems uses eax esi |
stdcall dword[tl_node_poi_get_info],0,tree1 |
pop esi |
stdcall dword[tl_node_poi_get_info], tree1,0 |
@@: |
cmp esi,0 |
cmp eax,0 |
je @f |
mov esi,eax |
cmp word[esi],el_icon_elems ;¯®«ã票¥ ç¥à¥§ esi ⨯ ¨ª®ª¨ |
jne .end_element |
stdcall [tl_node_poi_get_data], esi, tree1 |
pop eax |
stdcall [tl_node_poi_get_data], tree1,esi |
stdcall el_draw, eax |
.end_element: |
cmp word[esi],el_icon_captions ;¯®«ã票¥ ç¥à¥§ esi ⨯ ¨ª®ª¨ |
jne .end_caption |
stdcall [tl_node_poi_get_data], esi, tree1 |
pop eax |
stdcall [tl_node_poi_get_data], tree1,esi |
stdcall capt_draw, eax |
.end_caption: |
stdcall dword[tl_node_poi_get_next_info],esi,tree1 |
pop esi ;¯¥à¥å®¤¨¬ ª á«¥¤ã饬ã 㧫ã |
stdcall dword[tl_node_poi_get_next_info], tree1,esi |
jmp @b |
@@: |
ret |