From ca34d435fac0d3d3f380a55ffd94f3377a487045 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 17 Sep 2011 10:48:11 +0000 Subject: [PATCH] 3dcube2: small appearance fixes git-svn-id: svn://kolibrios.org@2205 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/demos/3dcube2/trunk/3DCUBE2.ASM | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/programs/demos/3dcube2/trunk/3DCUBE2.ASM b/programs/demos/3dcube2/trunk/3DCUBE2.ASM index f5b5886f64..51138fdeb7 100644 --- a/programs/demos/3dcube2/trunk/3DCUBE2.ASM +++ b/programs/demos/3dcube2/trunk/3DCUBE2.ASM @@ -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