🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Blt problem
http://hometown.aol.com/lshadow27/index.html
Any ideas what it could be?
[This message has been edited by lshadow (edited December 19, 1999).]
[This message has been edited by lshadow (edited December 19, 1999).]
Good Luck
I don't think that works because isn't the right/bottom numbers both "excluded". So setting up as (0,0,32,32) includes (0,0,31,31).
------------------
Still Learning...
lpddsback->Blt(&rc,lpdds,NULL,DDBLT_WAIT,NULL);
This guarentees that your source rectangle is within bounds of the source bitmap. Your RECT rc= {0,0,32,32} looks fine. I suppose you could always check to make sure your vid drivers are the latest. DX drivers get screwed up from version to version a lot.
------------------
--Shannon, BLAZE Technologies, Inc.
[This message has been edited by blaze (edited December 21, 1999).]
RECT rc = {0,0,32,32};
lpddsback->Blt(&rc,lpdds,&rc,DDBLT_WAIT,NULL);
If I move the RECT to {0,1,32,33} it displays fine. The output is kinda crazy, and I don't understand it at all.
The output should just be one bitmap in the upper left corner instead of 20 bitmaps across the screen each moved up by one pixel. Go here to see what I mean.
http://hometown.aol.com/lshadow27/index.html
...the first bitmap is displayed, then it outputs another one moved up 1 on the y axis, and then another moved up 1 on the y axis, all the way across the screen.
If anyone has any clue of what I'm talking about I could use some help!!!
Thanks.
(I keep forgetting about the ubb and html code!)
[This message has been edited by lshadow (edited December 19, 1999).]
-ns