3dcube2: small appearance fixes

git-svn-id: svn://kolibrios.org@2205 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2011-09-17 10:48:11 +00:00
parent c1d90c2113
commit ca34d435fa

View File

@ -65,7 +65,7 @@ still:
; cmp eax,3 ; button in buffer ?
jz button
fps 230,8,cl_White,cl_Black
fps 220,9,cl_White,cl_Black
main_loop:
@ -110,23 +110,20 @@ exit:
;Draw window
draw_window:
mov eax,12 ;Start
mov ebx,1
mcall
mcall 12, 1 ;Start window redraw
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
mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size
mov edx,0x54000000 ;0x03 use skinned window
mov edi,title
mcall
mov eax,12 ;End
mov ebx,2
mcall
mcall 12, 2 ;End window redraw
ret
title db '3D TEST SAMPLE',0
title db '3D Cube Sample',0
; Draw faces procedure