View3ds 0.067: Sizable window [by macgub]

git-svn-id: svn://kolibrios.org@6648 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-11-01 14:45:32 +00:00
parent 39f57c29f2
commit 370074cb14
5 changed files with 496 additions and 411 deletions

View File

@ -749,8 +749,9 @@ if Ext>=SSE2
push ecx push ecx
mov edi,[screen_ptr] mov edi,[screen_ptr]
movzx ecx,word[size_x_var] ;SIZE_X*3/4 movzx ecx,word[size_x_var] ;SIZE_X*3/4
lea ecx,[ecx*3] lea ecx,[ecx*3+1]
shr ecx,2 shr ecx,2
; mov ecx,SIZE_X*3/4 ; mov ecx,SIZE_X*3/4
xor eax,eax xor eax,eax
rep stosd rep stosd

View File

@ -38,7 +38,7 @@
XYZpartices: XYZpartices:
db 'X','Y','Z' db 'X','Y','Z'
i10 dw 10 i10 dw 10
draw_win_at_first db 1
menu: menu:
db 2 ; button number = index db 2 ; button number = index
@ -314,7 +314,7 @@ base_vector:
if Ext=SSE2 if Ext=SSE2
db ' (SSE2)' db ' (SSE2)'
end if end if
db ' 0.066',0 db ' 0.067',0
labellen: labellen:
STRdata db '-1 ' STRdata db '-1 '
@ -440,6 +440,10 @@ align 8
dw ? dw ?
size_x_var: size_x_var:
dw ? dw ?
x_start:
dw ?
y_start:
dw ?
;=== ;===
@ -526,6 +530,8 @@ end if
; screen rb SIZE_X * SIZE_Y * 3 ; screen buffer ; screen rb SIZE_X * SIZE_Y * 3 ; screen buffer
;align 16 ;align 16
; Z_buffer rb SIZE_X * SIZE_Y * 4 ; Z_buffer rb SIZE_X * SIZE_Y * 4
procinfo:
rb 1024 ; process info
I_Param rb 256 I_Param rb 256
memStack rb 4000 ;memory area for stack memStack rb 4000 ;memory area for stack
align 16 align 16

View File

@ -1,4 +1,9 @@
View 3ds 0,066 - X 2016
1. App window size according to current screen resolution.
2. New emboss procedure.
-----------------------------------------------------------------------------------
View3ds 0.065 - Feb 2015 View3ds 0.065 - Feb 2015
1. Asc files support. 1. Asc files support.
----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------

View File

@ -1,10 +1,10 @@
View3ds 0.066 - tiny viewer to .3ds and .asc files with several graphics View3ds 0.067 - tiny viewer to .3ds and .asc files with several graphics
effects implementation. effects implementation.
What's new? What's new?
1. App window size according to current screen resolution; 1. Sizable app window.
2, New emboss procedure.
Buttons description: Buttons description:
1. rotary: choosing rotary axle: x, y, x+y. 1. rotary: choosing rotary axle: x, y, x+y.
@ -35,4 +35,4 @@ Buttons description:
20. bright - -> decrease picture brightness. 20. bright - -> decrease picture brightness.
21. wav effect -> do effect based sine function. 21. wav effect -> do effect based sine function.
Maciej Guba X 2016 Maciej Guba XI 2016

File diff suppressed because it is too large Load Diff