Rev 1552 | Rev 1573 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1552 | Rev 1555 | ||
---|---|---|---|
Line 64... | Line 64... | ||
64 | BUT1_W equ 50 ;è¨à¨ |
64 | BUT1_W equ 50 ;è¨à¨ |
65 | BUT1_H equ 20 ;¢ëá®â |
65 | BUT1_H equ 20 ;¢ëá®â |
66 | BUT1_NEXT_TOP equ (BUT1_T+BUT1_H)*65536 |
66 | BUT1_NEXT_TOP equ (BUT1_T+BUT1_H)*65536 |
67 | end if |
67 | end if |
Line -... | Line 68... | ||
- | 68 | ||
- | 69 | FILE_NAME_MAX equ 20 ;¬ ªá¨¬ «ì ï ¤«¨ ¨¬¥¨ ä ©« (¡¥§ ¯ ¯®ª, ®â®á¨â¥«ì® ⥪ã饩) |
|
- | 70 | ;§ ç¥¨ï ¨¬¥ ¯® 㬮«ç ¨î |
|
- | 71 | ini_def_unit_file db 'wolf.png',0 |
|
68 | 72 | ;¨¬¥ ä ©«®¢ |
|
69 | fn_icon0 db 'curici.png',0 ;¨¬ï ä ©« á ¤¥ª®à æ¨ï¬¨ |
73 | fn_icon0 db 'curici.png',0 ;¨¬ï ä ©« á ¤¥ª®à æ¨ï¬¨ |
70 | fn_icon1 db 'wolf.png',0 ;¨¬ï ä ©« á ¢®«ª®¬ ¨ § ©æ¥¬ |
74 | fn_icon1 rb FILE_NAME_MAX ;¨¬ï ä ©« á ¢®«ª®¬ ¨ § ©æ¥¬ |
71 | fn_icon2 db 'eggs.png',0 ;¨¬ï ä ©« á ï©æ ¬¨ |
75 | fn_icon2 db 'eggs.png',0 ;¨¬ï ä ©« á ï©æ ¬¨ |
72 | fn_icon3 db 'chi.png',0 ;¨¬ï ä ©« á 樯«ïâ ¬¨ |
76 | fn_icon3 db 'chi.png',0 ;¨¬ï ä ©« á 樯«ïâ ¬¨ |
Line 73... | Line 77... | ||
73 | fn_font db 'font8x9.bmp',0 |
77 | fn_font db 'font8x9.bmp',0 |
74 | 78 | ||
- | 79 | ini_name db 'nu_pogod.ini',0 |
|
75 | ini_name db 'nu_pogod.ini',0 |
80 | ini_sec_files db 'Files',0 |
76 | ini_sec_files db 'Files',0 |
81 | key_file_unit db 'file_unit',0 |
- | 82 | key_displ_w db 'displ_w',0 |
|
77 | key_displ_w db 'displ_w',0 |
83 | key_displ_h db 'displ_h',0 |
78 | key_displ_h db 'displ_h',0 |
84 | |
Line 79... | Line 85... | ||
79 | ini_sec_color db 'Colors',0 |
85 | ini_sec_color db 'Colors',0 |
80 | key_color_unit db 'unit',0 |
86 | key_color_unit db 'unit',0 |
Line 604... | Line 610... | ||
604 | mov dword[displ_w],eax |
610 | mov dword[displ_w],eax |
605 | stdcall dword[ini_get_int],file_name,ini_sec_files,key_displ_h,140 |
611 | stdcall dword[ini_get_int],file_name,ini_sec_files,key_displ_h,140 |
606 | mov dword[displ_h],eax |
612 | mov dword[displ_h],eax |
607 | stdcall dword[ini_get_color],file_name,ini_sec_color,key_color_unit,0 |
613 | stdcall dword[ini_get_color],file_name,ini_sec_color,key_color_unit,0 |
608 | mov dword[color_wolf],eax |
614 | mov dword[color_wolf],eax |
- | 615 | stdcall dword[ini_get_str],file_name,ini_sec_files,key_file_unit,fn_icon1,FILE_NAME_MAX,ini_def_unit_file |
|
- | 616 | ||
Line 609... | Line 617... | ||
609 | 617 | ||
610 | mov edx,dword[displ_w] |
618 | mov edx,dword[displ_w] |
611 | imul edx,dword[displ_h] |
619 | imul edx,dword[displ_h] |
612 | lea edx,[edx+edx*2] |
620 | lea edx,[edx+edx*2] |