Subversion Repositories Kolibri OS

Rev

Rev 7526 | Rev 8219 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7526 Rev 8199
Line 10... Line 10...
10
include '../../../develop/libraries/box_lib/load_lib.mac'
10
include '../../../develop/libraries/box_lib/load_lib.mac'
Line 11... Line 11...
11
 
11
 
Line 12... Line 12...
12
;include 'lang.inc'
12
;include 'lang.inc'
13
 
13
 
Line 14... Line 14...
14
@use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
14
@use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
15
hed db 'Life 04.11.18',0 ;¯®¤¯¨áì ®ª­ 
15
hed db 'Life 16.11.20',0 ;¯®¤¯¨áì ®ª­ 
Line 16... Line 16...
16
 
16
 
Line 73... Line 73...
73
; col_cell_o - 梥â áâ à®© ï祩ª¨
73
; col_cell_o - 梥â áâ à®© ï祩ª¨
74
align 4
74
align 4
75
proc pole_init_colors uses eax ebx ecx edx esi edi, col_pole:dword, col_cell_n:dword, col_cell_o:dword
75
proc pole_init_colors uses eax ebx ecx edx esi edi, col_pole:dword, col_cell_n:dword, col_cell_o:dword
76
	mov esi,[CellColors]
76
	mov esi,[CellColors]
77
	mov ebx,[col_pole]
77
	mov ebx,[col_pole]
78
	mov dword[esi],ebx
78
	mov [esi],ebx
Line -... Line 79...
-
 
79
 
79
 
80
	lea edi,[esi+4*COL_MEM]
80
	add esi,4
-
 
81
	mov edi,COL_MEM
-
 
82
	dec edi
-
 
83
	shl edi,2
-
 
84
	add edi,esi
81
	add esi,4
85
	; esi - 㪠§ â¥«ì ­  1-© £à ¤¨¥­â­ë© 梥â
82
	; esi - 㪠§ â¥«ì ­  1-© £à ¤¨¥­â­ë© 梥â
86
	; edi - 㪠§ â¥«ì ­  ¯®á«¥¤­¨© £à ¤¨¥­â­ë© 梥â
83
	; edi - 㪠§ â¥«ì ­  ¯®á«¥¤­¨© £à ¤¨¥­â­ë© 梥â
87
	mov eax,[col_cell_n]
84
	mov eax,[col_cell_n]
Line 88... Line 85...
88
	mov ebx,[col_cell_o]
85
	mov ebx,[col_cell_o]
89
 
86
 
90
	mov dword[esi],eax
87
	mov [esi],eax
91
	mov dword[edi],ebx
88
	mov [edi],ebx
Line 92... Line 89...
92
	;need save ecx edx
89
	;need save ecx edx
93
	stdcall middle_colors, esi,edi
90
	stdcall middle_colors, esi,edi
Line 1765... Line 1762...
1765
	sz_buf2d_delete db 'buf2d_delete',0
1762
	sz_buf2d_delete db 'buf2d_delete',0
1766
	sz_buf2d_resize db 'buf2d_resize',0
1763
	sz_buf2d_resize db 'buf2d_resize',0
1767
	sz_buf2d_filled_rect_by_size db 'buf2d_filled_rect_by_size',0
1764
	sz_buf2d_filled_rect_by_size db 'buf2d_filled_rect_by_size',0
1768
	sz_buf2d_set_pixel db 'buf2d_set_pixel',0
1765
	sz_buf2d_set_pixel db 'buf2d_set_pixel',0
Line 1769... Line -...
1769
 
-
 
1770
mouse_dd dd 0
-
 
1771
sc system_colors 
-
 
1772
last_time dd 0
-
 
1773
 
-
 
1774
align 16
-
 
1775
procinfo process_information 
-
 
1776
 
1766
 
1777
align 4
1767
align 4
1778
buf_0: dd 0
1768
buf_0: dd 0
1779
.l: dw 0 ;+4 left
1769
.l: dw 0 ;+4 left
1780
.t: dw 35 ;+6 top
1770
.t: dw 35 ;+6 top
1781
.w: dd 476 ;+8 w
1771
.w: dd 476 ;+8 w
1782
.h: dd 352 ;+12 h
1772
.h: dd 352 ;+12 h
1783
.color: dd 0xffffd0 ;+16 color
1773
.color: dd 0xffffd0 ;+16 color
Line -... Line 1774...
-
 
1774
	db 24 ;+20 bit in pixel
1784
	db 24 ;+20 bit in pixel
1775
 
-
 
1776
align 16
-
 
1777
i_end:
-
 
1778
	mouse_dd dd 0
-
 
1779
	last_time dd 0
1785
 
1780
	sc system_colors 
1786
i_end:
1781
	procinfo process_information
1787
	rb 1024
1782
	rb 1024
1788
stacktop:
1783
stacktop:
1789
	sys_path rb 1024
1784
	sys_path rb 1024