forked from KolibriOS/kolibrios
1) fix draw caption in 'tree_list'
2) 'info3ds' correct scale on axis x and y git-svn-id: svn://kolibrios.org@5948 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
94a081e526
commit
bee21cb588
@ -521,6 +521,24 @@ align 4
|
||||
fild dword[rad_c]
|
||||
fdivp ;radius=(size.x+size.y)/rad_c
|
||||
fstp dword[sph_radius]
|
||||
|
||||
;¤¥« ¥¬ ®¤¨ ª®¢ë© ¬ áèâ ¡ ¯® ®áï¬ x ¨ y, çâ®-¡ë ¥ àãè «¨áì ¯à®¯®à樨 ¨§®¡à ¦¥¨ï
|
||||
fld dword[obj_y_scale]
|
||||
fdiv dword[ratio] ;¯à¨¢¥¤¥¨¥ ¬ áèâ ¡ ¯® ®á¨ y ãç¨âë¢ ï çâ® ¯® ¢ëá®â¥ íªà ¬¥ìè¥
|
||||
fcomp dword[obj_x_scale]
|
||||
fstsw ax
|
||||
sahf
|
||||
jb @f
|
||||
;ᦠ⨥ ¬ áèâ ¡ ¯® y
|
||||
fld dword[obj_x_scale]
|
||||
fmul dword[ratio]
|
||||
fstp dword[obj_y_scale] ;¬ áèâ ¡ ¯® ®á¨ y = ¬ áèâ ¡ ¯® ®á¨ x
|
||||
jmp .end
|
||||
@@:
|
||||
;ᦠ⨥ ¬ áèâ ¡ ¯® x >...<
|
||||
fld dword[obj_x_scale]
|
||||
fdiv dword[ratio]
|
||||
fstp dword[obj_x_scale]
|
||||
.end:
|
||||
ret
|
||||
endp
|
||||
@ -1268,6 +1286,7 @@ mouse_x dd 0
|
||||
mouse_y dd 0
|
||||
angle_dxm dd 1.7775 ;~ 3d_wnd_w/180 - ¯à¨¡ ¢«¥¨¥ 㣫®¢ ¯®¢®à®â áæ¥ë ¯à¨ ¢à 饨¨ ¬ë襩
|
||||
angle_dym dd 1.3335 ;~ 3d_wnd_h/180
|
||||
ratio dd 1.3333 ;~ 3d_wnd_w/3d_wnd_h
|
||||
;angle_dzm dd ?
|
||||
draw_mode dd 0 ;०¨¬ à¨á®¢ ¨ï ®¡ê¥ªâ
|
||||
obj_poi_data dd 0 ;㪠§ â¥«ì ª®®à¤¨ âë ¢¥àè¨
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user