Rev 8090 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8090 | Rev 8346 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | include 'lang.inc' |
6 | include 'lang.inc' |
7 | include '../../macros.inc' |
7 | include '../../macros.inc' |
8 | include '../../proc32.inc' |
8 | include '../../proc32.inc' |
9 | include '../../KOSfuncs.inc' |
9 | include '../../KOSfuncs.inc' |
10 | include '../../load_img.inc' |
10 | include '../../load_img.inc' |
- | 11 | include '../../load_lib.mac' |
|
11 | include '../../develop/libraries/TinyGL/asm_fork/opengl_const.inc' |
12 | include '../../develop/libraries/TinyGL/asm_fork/opengl_const.inc' |
12 | include '../../develop/libraries/TinyGL/asm_fork/zbuffer.inc' |
13 | include '../../develop/libraries/TinyGL/asm_fork/zbuffer.inc' |
13 | include '../../develop/libraries/libs-dev/libimg/libimg.inc' |
14 | include '../../develop/libraries/libs-dev/libimg/libimg.inc' |
14 | include '../../develop/info3ds/info_fun_float.inc' |
15 | include '../../develop/info3ds/info_fun_float.inc' |
Line 15... | Line 16... | ||
15 | 16 | ||
16 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
17 | @use_library mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
Line 17... | Line 18... | ||
17 | caption db 'Image transform 02.10.20',0 ;¯®¤¯¨áì ®ª |
18 | caption db 'Image transform 08.12.20',0 ;¯®¤¯¨áì ®ª |
18 | 19 | ||
19 | BUF_STRUCT_SIZE equ 21 |
20 | BUF_STRUCT_SIZE equ 21 |
20 | buf2d_data equ dword[edi] ;¤ ë¥ ¡ãä¥à ¨§®¡à ¦¥¨ï |
21 | buf2d_data equ dword[edi] ;¤ ë¥ ¡ãä¥à ¨§®¡à ¦¥¨ï |
Line 1421... | Line 1422... | ||
1421 | lib_name_2 db 'buf2d.obj',0 |
1422 | lib_name_2 db 'buf2d.obj',0 |
1422 | system_dir_3 db '/sys/lib/' |
1423 | system_dir_3 db '/sys/lib/' |
1423 | lib_name_3 db 'tinygl.obj',0 |
1424 | lib_name_3 db 'tinygl.obj',0 |
Line 1424... | Line 1425... | ||
1424 | 1425 | ||
1425 | align 4 |
- | |
1426 | head_f_i: |
- | |
1427 | if lang eq ru |
- | |
1428 | head_f_l db '"¨á⥬ ï ®è¨¡ª ',0 |
- | |
1429 | err_message_found_lib_0 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'proc_lib.obj',39,'" -tE',0 |
- | |
1430 | err_message_import_0 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'proc_lib.obj',39,'" -tE',0 |
- | |
1431 | err_message_found_lib_1 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'libimg.obj',39,'" -tE',0 |
- | |
1432 | err_message_import_1 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'libimg.obj',39,'" -tE',0 |
- | |
1433 | err_msg_found_lib_2 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'buf2d.obj',39,'" -tE',0 |
- | |
1434 | err_msg_import_2 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'buf2d',39,'" -tE',0 |
- | |
1435 | err_msg_found_lib_3 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'tinygl.obj',39,'" -tE',0 |
- | |
1436 | err_msg_import_3 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'tinygl',39,'" -tE',0 |
- | |
1437 | else |
- | |
1438 | head_f_l db '"System error',0 |
- | |
1439 | err_message_found_lib_0 db 'Sorry I cannot found library ',39,'proc_lib.obj',39,'" -tE',0 |
- | |
1440 | err_message_import_0 db 'Error on load import library ',39,'proc_lib.obj',39,'" -tE',0 |
- | |
1441 | err_message_found_lib_1 db 'Sorry I cannot found library ',39,'libimg.obj',39,'" -tE',0 |
- | |
1442 | err_message_import_1 db 'Error on load import library ',39,'libimg.obj',39,'" -tE',0 |
- | |
1443 | err_msg_found_lib_2 db 'Sorry I cannot found library ',39,'buf2d.obj',39,'" -tE',0 |
- | |
1444 | err_msg_import_2 db 'Error on load import library ',39,'buf2d',39,'" -tE',0 |
- | |
1445 | err_msg_found_lib_3 db 'Sorry I cannot found library ',39,'tinygl.obj',39,'" -tE',0 |
- | |
1446 | err_msg_import_3 db 'Error on load import library ',39,'tinygl',39,'" -tE',0 |
- | |
1447 | end if |
- | |
1448 | - | ||
1449 | align 4 |
1426 | align 4 |
1450 | l_libs_start: |
1427 | l_libs_start: |
1451 | lib_0 l_libs lib_name_0, sys_path, file_name, system_dir_0,\ |
- | |
1452 | err_message_found_lib_0, head_f_l, proclib_import,err_message_import_0, head_f_i |
1428 | lib_0 l_libs lib_name_0, file_name, system_dir_0, import_proclib |
1453 | lib_1 l_libs lib_name_1, sys_path, file_name, system_dir_1,\ |
- | |
1454 | err_message_found_lib_1, head_f_l, import_libimg, err_message_import_1, head_f_i |
1429 | lib_1 l_libs lib_name_1, file_name, system_dir_1, import_libimg |
1455 | lib_2 l_libs lib_name_2, sys_path, library_path, system_dir_2,\ |
- | |
1456 | err_msg_found_lib_2,head_f_l,import_buf2d,err_msg_import_2,head_f_i |
1430 | lib_2 l_libs lib_name_2, library_path, system_dir_2, import_buf2d |
1457 | lib_3 l_libs lib_name_3, sys_path, library_path, system_dir_3,\ |
- | |
1458 | err_msg_found_lib_3,head_f_l,import_lib_tinygl,err_msg_import_3,head_f_i |
1431 | lib_3 l_libs lib_name_3, library_path, system_dir_3, import_lib_tinygl |
Line 1459... | Line 1432... | ||
1459 | l_libs_end: |
1432 | l_libs_end: |
1460 | 1433 | ||
1461 | align 4 |
1434 | align 4 |
Line 1504... | Line 1477... | ||
1504 | aimg_rotate db 'img_rotate',0 |
1477 | aimg_rotate db 'img_rotate',0 |
1505 | aimg_rotate_layer db 'img_rotate_layer',0 |
1478 | aimg_rotate_layer db 'img_rotate_layer',0 |
1506 | aimg_draw db 'img_draw',0 |
1479 | aimg_draw db 'img_draw',0 |
Line 1507... | Line 1480... | ||
1507 | 1480 | ||
1508 | align 4 |
1481 | align 4 |
1509 | proclib_import: ;®¯¨á ¨¥ íªá¯®àâ¨à㥬ëå äãªæ¨© |
1482 | import_proclib: |
1510 | OpenDialog_Init dd aOpenDialog_Init |
1483 | OpenDialog_Init dd aOpenDialog_Init |
1511 | OpenDialog_Start dd aOpenDialog_Start |
1484 | OpenDialog_Start dd aOpenDialog_Start |
1512 | OpenDialog_Set_file_name dd aOpenDialog_Set_file_name |
1485 | OpenDialog_Set_file_name dd aOpenDialog_Set_file_name |
1513 | OpenDialog_Set_file_ext dd aOpenDialog_Set_file_ext |
1486 | OpenDialog_Set_file_ext dd aOpenDialog_Set_file_ext |
Line 1654... | Line 1627... | ||
1654 | run_file_70 FileInfoBlock |
1627 | run_file_70 FileInfoBlock |
1655 | rb 4096 |
1628 | rb 4096 |
1656 | align 16 |
1629 | align 16 |
1657 | stacktop: |
1630 | stacktop: |
1658 | sys_path rb 1024 |
1631 | sys_path rb 1024 |
1659 | file_name: |
- | |
1660 | rb 1024 ;4096 |
1632 | file_name rb 1024 ;4096 |
1661 | library_path rb 1024 |
1633 | library_path rb 1024 |
1662 | plugin_path rb 4096 |
1634 | plugin_path rb 4096 |
1663 | openfile_path rb 4096 |
1635 | openfile_path rb 4096 |
1664 | filename_area rb 256 |
1636 | filename_area rb 256 |
1665 | mem: |
1637 | mem: |