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 ? ; 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