DDCOLORKEY values - DX7

This is a discussion on DDCOLORKEY values - DX7 within the Game Programming forums, part of the General Programming Boards category; What format do I need to pass as a colorvalue when assigning a DDraw color key in DX7. The only ...

  1. #1
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065

    DDCOLORKEY values - DX7

    What format do I need to pass as a colorvalue when assigning a DDraw color key in DX7. The only thing that I've tried that's worked is 0 (black) which is the only value that the book I'm studying lists.

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    114
    How the colorkey (and all other colors also for that mather) are formated depends on you gfx-card and your screen resolution. There is something called colormask, and you should look it up, because it solves your problem. Now I don't have the DX7 sdk here, so I can look up more info for you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. putting values into an array
    By zdream8 in forum C Programming
    Replies: 15
    Last Post: 05-21-2008, 11:18 PM
  2. Replies: 1
    Last Post: 12-30-2007, 09:08 AM
  3. Need help with project
    By chrisa777 in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2006, 05:01 PM
  4. Replies: 1
    Last Post: 02-03-2005, 02:33 AM
  5. adding ASCII values
    By watshamacalit in forum C Programming
    Replies: 1
    Last Post: 12-26-2002, 06:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21