Rev 6358 | Rev 6360 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6358 | Rev 6359 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;******************************************************* |
1 | ;******************************************************* |
2 | ;**************GRAPHICS EDITOR ANIMAGE ***************** |
2 | ;**************GRAPHICS EDITOR ANIMAGE ***************** |
3 | ;******************************************************* |
3 | ;******************************************************* |
- | 4 | ; version: 1.5 |
|
- | 5 | ; last update: 21.03.2016 |
|
- | 6 | ; changes: Use library 'kmenu.obj' |
|
- | 7 | ; autors: IgorA, Veliant |
|
- | 8 | ;-------------------------------------------------------- |
|
4 | ; version: 1.4 |
9 | ; version: 1.4 |
5 | ; last update: 12/03/2016 |
10 | ; last update: 12.03.2016 |
6 | ; changes: Use library 'libimg.obj' |
11 | ; changes: Use library 'libimg.obj' |
- | 12 | ; autors: IgorA |
|
7 | ;-------------------------------------------------------- |
13 | ;-------------------------------------------------------- |
8 | ; version: 1.3 |
14 | ; version: 1.3 |
9 | ; last update: 05/10/2010 |
15 | ; last update: 05.10.2010 |
10 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
16 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
11 | ; changes: Fixed window flicker when redrawing, |
17 | ; changes: Fixed window flicker when redrawing, |
12 | ; Fixed memory leak for stack |
18 | ; Fixed memory leak for stack |
13 | ;-------------------------------------------------------- |
19 | ;-------------------------------------------------------- |
14 | ; version: 1.2 |
20 | ; version: 1.2 |
15 | ; last update: 30/09/2010 |
21 | ; last update: 30.09.2010 |
16 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
22 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
17 | ; changes: Program used function 68 instead 64 is now, |
23 | ; changes: Program used function 68 instead 64 is now, |
18 | ; select path with OpenDialog |
24 | ; select path with OpenDialog |
19 | ;-------------------------------------------------------- |
25 | ;-------------------------------------------------------- |
- | 26 | ; version: 1.1 |
|
20 | ; version 1.1 year 9.12.2006 |
27 | ; last update: 09.12.2006 |
21 | ; AUTORS: |
28 | ; autors: |
22 | ; programming by andrew_programmer |
29 | ; programming by andrew_programmer |
23 | ; design by golus |
30 | ; design by golus |
Line 24... | Line 31... | ||
24 | 31 | ||
25 | use32 |
32 | use32 |
Line 46... | Line 53... | ||
46 | ;--------------------------------------------------------- |
53 | ;--------------------------------------------------------- |
47 | ; *** ª®áâ âë ¤«ï ¨â¥à䥩á *** |
54 | ; *** ª®áâ âë ¤«ï ¨â¥à䥩á *** |
48 | ; *** constants for interface *** |
55 | ; *** constants for interface *** |
Line 49... | Line 56... | ||
49 | 56 | ||
50 | ; ª®à४â¨à®¢ª¨ ᪨ |
57 | ; ª®à४â¨à®¢ª¨ ᪨ |
51 | ci_offs_skin_w equ 0 ; 5 ;ª®à४â¨à®¢ª è¨à¨ã à ¬ª¨ ᪨ |
58 | ci_offs_skin_w equ 5 ;ª®à४â¨à®¢ª è¨à¨ã à ¬ª¨ ᪨ |
Line 52... | Line 59... | ||
52 | ci_offs_skin_h equ 0 ;24 ;ª®à४â¨à®¢ª ¢ëá®âã ᪨ |
59 | ci_offs_skin_h equ 24 ;ª®à४â¨à®¢ª ¢ëá®âã ᪨ |
53 | 60 | ||
54 | ; £« ¢®¥ ®ª® |
61 | ; £« ¢®¥ ®ª® |
Line -... | Line 62... | ||
- | 62 | ci_wnd_min_siz_x equ 585 ;minimum size x |
|
- | 63 | ci_wnd_min_siz_y equ 400 ;minimum size y |
|
- | 64 | ||
- | 65 | ; ¯ ¥«ì ¨áâà㬥⮢ |
|
- | 66 | ci_panel_x_pos equ 0 ;ª®®à¤¨ â x ¤«ï ¯ ¥«¨ |
|
- | 67 | ci_panel_y_pos equ 20 ;ª®®à¤¨ â y ¤«ï ¯ ¥«¨ |
|
- | 68 | ci_panel_but_y1 equ ci_panel_y_pos +5 ;ª®®à¤¨ â y ¤«ï 1-£® àï¤ ª®¯®ª |
|
55 | ci_wnd_min_siz_x equ 585 ;minimum size x |
69 | ci_panel_but_y2 equ ci_panel_y_pos+30 ;ª®®à¤¨ â y ¤«ï 2-£® àï¤ ª®¯®ª |
56 | ci_wnd_min_siz_y equ 400 ;minimum size y |
70 | ci_palete_y_pos equ ci_panel_y_pos+51 ;ª®®à¤¨ â y ¤«ï ¯ «¨âàë 梥⮢ |
57 | 71 | ||
58 | ; ®ª® । ªâ®à |
72 | ; ®ª® । ªâ®à |
Line 59... | Line 73... | ||
59 | ci_edit_wnd_x_pos equ 5 ;ª®®à¤¨ â x ¤«ï ®ª । ªâ®à |
73 | ci_edit_wnd_x_pos equ 0 ;ª®®à¤¨ â x ¤«ï ®ª । ªâ®à |
60 | ci_edit_wnd_y_pos equ 87 ;ª®®à¤¨ â y ¤«ï ®ª । ªâ®à |
74 | ci_edit_wnd_y_pos equ 71 ;ª®®à¤¨ â y ¤«ï ®ª । ªâ®à |
61 | ci_edit_wnd_border equ 3 ;à ¬ª ¢®ªà㣠®ª । ªâ®à |
75 | ci_edit_wnd_border equ 3 ;à ¬ª ¢®ªà㣠®ª । ªâ®à |
Line 77... | Line 91... | ||
77 | include 'memory.inc' |
91 | include 'memory.inc' |
78 | include 'load_from_parameters.inc' |
92 | include 'load_from_parameters.inc' |
Line 79... | Line 93... | ||
79 | 93 | ||
80 | START: |
94 | START: |
- | 95 | mcall SF_SYS_MISC,SSF_HEAP_INIT |
|
Line 81... | Line 96... | ||
81 | mcall SF_SYS_MISC,SSF_HEAP_INIT |
96 | mcall SF_STYLE_SETTINGS, SSF_GET_COLORS, syscolors, syscolors_end-syscolors |
Line 82... | Line 97... | ||
82 | 97 | ||
83 | load_libraries l_libs_start,end_l_libs |
98 | load_libraries l_libs_start,end_l_libs |
Line 95... | Line 110... | ||
95 | ;--------get memory and draw window of program------------- |
110 | ;--------get memory and draw window of program------------- |
96 | ;---------------------------------------------------------- |
111 | ;---------------------------------------------------------- |
97 | call GetMemory |
112 | call GetMemory |
98 | call cleare_work_arrea |
113 | call cleare_work_arrea |
99 | call load_icons |
114 | call load_icons |
- | 115 | call init_main_menu |
|
Line 100... | Line 116... | ||
100 | 116 | ||
101 | ;load cursors |
117 | ;load cursors |
102 | mov eax,CursorsID |
118 | mov eax,CursorsID |
Line 175... | Line 191... | ||
175 | include 'sprites.inc' |
191 | include 'sprites.inc' |
176 | include 'string.inc' |
192 | include 'string.inc' |
177 | include 'palette.inc' |
193 | include 'palette.inc' |
178 | include 'files.inc' |
194 | include 'files.inc' |
179 | include 'time.inc' |
195 | include 'time.inc' |
- | 196 | include 'menu.inc' |
|
180 | ;----------------------------------------------------------- |
197 | ;----------------------------------------------------------- |
181 | ;------------variables and data of program------------------ |
198 | ;------------variables and data of program------------------ |
182 | ;----------------------------------------------------------- |
199 | ;----------------------------------------------------------- |
183 | sound_havent_memory db 150,64,0 |
200 | sound_havent_memory db 150,64,0 |
Line 335... | Line 352... | ||
335 | filename_area rb 256 |
352 | filename_area rb 256 |
336 | temp_dir_pach rb 4096 |
353 | temp_dir_pach rb 4096 |
337 | library_path rb 4096 |
354 | library_path rb 4096 |
338 | cur_dir_path rb 4096 |
355 | cur_dir_path rb 4096 |
339 | procinfo: rb 1024 |
356 | procinfo: rb 1024 |
- | 357 | align 4 |
|
- | 358 | syscolors rb 192 |
|
- | 359 | syscolors_end: |
|
340 | ;--------------------------------------------------------------------- |
360 | ;--------------------------------------------------------------------- |
341 | align 4 |
361 | align 4 |
342 | rb 4096 |
362 | rb 4096 |
343 | stacktop: |
363 | stacktop: |
344 | ;--------------------------------------------------------------------- |
364 | ;--------------------------------------------------------------------- |