Thread: Weird bug

  1. #1
    Hunter2
    Guest

    Unhappy Weird bug

    Ok, this is my problem:
    I draw a transparent bitmap, and it DOESN'T WORK!

    This is what happens:

    I have aliens and a ship flying around; the ship shoots bullets/lasers/rockets, and the aliens shoot funny purple things. Except that the funny purple things don't show up, until I make the ship shoot something; then the funny purple things show up as whatever the ship shot. As far as I can tell, the bitmap loaded properly (the call to load it didn't return 0), and it's not my transparency function because it doesn't work with plain BitBlt() either.

    Any quick ideas? I'll post the code in a sec.

    P.S. Actually, the purple things show up, but as a box made up of random data (until the ship shoots; then it turns into whatever you shot).

  2. #2
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879

    code

    This is the entire code/bitmaps/workspace for the progam.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. weird bug in the scanf command
    By transgalactic2 in forum C Programming
    Replies: 13
    Last Post: 10-24-2008, 03:26 PM
  2. Debugging a rare / unreproducible bug..
    By g4j31a5 in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 08-05-2008, 12:56 PM
  3. ATL bug of CComPtr?
    By George2 in forum Windows Programming
    Replies: 6
    Last Post: 04-07-2008, 07:52 AM
  4. Compiler/Class bug?
    By Blackroot in forum C++ Programming
    Replies: 2
    Last Post: 01-31-2006, 11:56 PM
  5. Weird bug in the forum
    By SilentStrike in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-16-2002, 06:16 AM