free3d04: correct window size, trasparent background

git-svn-id: svn://kolibrios.org@1416 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2010-02-15 01:24:40 +00:00
parent a4dce86d30
commit efabe7d047

View File

@ -12,6 +12,7 @@
; ;
; Heavyiron - new 0-function of drawing window from kolibri (do not work correctly with menuet) ; Heavyiron - new 0-function of drawing window from kolibri (do not work correctly with menuet)
TEX_SIZE equ 64*64*4 TEX_SIZE equ 64*64*4
ceil = sinus+16*1024 ceil = sinus+16*1024
wall = ceil+TEX_SIZE*1 wall = ceil+TEX_SIZE*1
@ -301,8 +302,8 @@ draw_window:
; DRAW WINDOW ; DRAW WINDOW
mov eax,0 ; function 0 : define and draw window mov eax,0 ; function 0 : define and draw window
mov ebx,50*65536+649 ; [x start] *65536 + [x size] mov ebx,50*65536+649 ; [x start] *65536 + [x size]
mov ecx,50*65536+504 ; [y start] *65536 + [y size] mov ecx,50*65536+506 ; [y start] *65536 + [y size]
mov edx,0x34ffffff ; color of work area RRGGBB,8->color gl mov edx,0x74ffffff ; color of work area RRGGBB,8->color gl
mov edi,title mov edi,title
mcall mcall