Any one know how can i use direct draw 7 blt api? Tutorials if any:confused:
Posted on 2002-06-08 08:37:40 by Wonder Mage
can anyone tell me how can i draw transparent blts with sprites on the ddraw primary surface?
Posted on 2002-06-09 08:12:12 by Wonder Mage
Use color keys, take a look at one of these pages for an explanation:


Hope it helps,

Posted on 2002-06-09 08:44:14 by Flyke
Thanks for the links Flyke. I only understand masm and nasm language. I am like a zero in c++! but i am understanding the examples very well. If you know of directx tutorials for masm; please let me know.:)
Posted on 2002-06-10 07:47:19 by Wonder Mage
Some part of the answer is in
thread i guess. There is an example of a colorfill ::Blt method usage

if you want to get the IdirectDraw7 interface you only have to:
-QuerryInterface on a Idirectdraw1 object
-use CoCreateInstance with the right GUID for IdirectDraw7 object

you can then use the DirectDraw version 7 object the same way as a DirectDraw1,2 etc object (but with much more methods in the vtable of course)
Posted on 2002-06-10 09:04:53 by BogdanOntanu
Also notice that some functions change from an interface to another.. example SetDisplayMode's parameters count. This may lead to crashes if accidentally ignored or forgotten.
Posted on 2002-06-10 17:31:35 by Maverick
I know this problem very well. I have msdn library, it shows more params than that which we use for CreateSurface!
Posted on 2002-06-11 08:03:32 by Wonder Mage