[Bug 1129] - bitmaps are not drawn in "Dink Smallwood"

wine-bugs at winehq.com wine-bugs at winehq.com
Fri Nov 15 18:52:00 CST 2002


http://bugs.winehq.com/show_bug.cgi?id=1129





------- Additional Comments From kniederk at math.uni-koeln.de  2002-11-15 18:51 -------
Sorry for the trace inside the comment.I took a look myself at the wine-code and while I did not solve the real bug,I found a smaller one in the debugging output, which I have fixed (I'm veryproud of myself!!)As you maybe see in the trace, but probably not, the last argument of theSurface_BltFast-fnc is 0 and latter in the debugging output you see "trans:"but the value of trans (which is given by the last argument) is not displayed.The reason is the following (include/ddraw.h):trans = DDBLTFAST_NOCOLORKEY = 0but in dll/ddraw/helper.c the debugging output is generated by DDRAW_dump_flags_:for (i=0; i < num_names; i++)	if (names[i].val & flags)		DPRINTF("%s ", names[i].name);The "if" does not detect the case trans == 0, so I modified this into    for (i=0; i < num_names; i++)        if (names[i].val == 0 && flags == 0)            DPRINTF("%s ", names[i].name);        else if (names[i].val & flags)	    DPRINTF("%s ", names[i].name);I don't know if this is the fix like it should be or not, but I'm proud anyway.I still have no clue, why the game does not work.Cheers	Klaus

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list