forked from KolibriOS/kolibrios
3dcube2: small appearance fixes
git-svn-id: svn://kolibrios.org@2205 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c1d90c2113
commit
ca34d435fa
@ -65,7 +65,7 @@ still:
|
|||||||
; cmp eax,3 ; button in buffer ?
|
; cmp eax,3 ; button in buffer ?
|
||||||
jz button
|
jz button
|
||||||
|
|
||||||
fps 230,8,cl_White,cl_Black
|
fps 220,9,cl_White,cl_Black
|
||||||
|
|
||||||
main_loop:
|
main_loop:
|
||||||
|
|
||||||
@ -110,9 +110,7 @@ exit:
|
|||||||
|
|
||||||
;Draw window
|
;Draw window
|
||||||
draw_window:
|
draw_window:
|
||||||
mov eax,12 ;Start
|
mcall 12, 1 ;Start window redraw
|
||||||
mov ebx,1
|
|
||||||
mcall
|
|
||||||
|
|
||||||
mov eax,0 ;Draw window
|
mov eax,0 ;Draw window
|
||||||
mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
|
mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size
|
||||||
@ -121,12 +119,11 @@ draw_window:
|
|||||||
mov edi,title
|
mov edi,title
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
mov eax,12 ;End
|
mcall 12, 2 ;End window redraw
|
||||||
mov ebx,2
|
|
||||||
mcall
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
title db '3D TEST SAMPLE',0
|
title db '3D Cube Sample',0
|
||||||
|
|
||||||
|
|
||||||
; Draw faces procedure
|
; Draw faces procedure
|
||||||
|
Loading…
Reference in New Issue
Block a user