   Any other RGB encoder macro for DDraw?
  HI!I''m having problems in blitting my tiles that have transparent colors in them. I use Andre Lamothe''s macro:#define RGB16BIT565(r,g,b) ((b%32) + ((g%64) << 6) + ((r%32) << 11))The problem is, when I attach color key''s using this macro, it only accepts the colors Red,White,Blue,Black. It seems to accept only either values that have a 0 or 255 in them so if I want the color (70,70,70) as a transparent color, it just won''t work. Is the macro all wrong? Cause honestly I don''t know why Andre wrote RGB16BIT565(0,0,32) as pure blue. Why 32 and not 255? THANKS IN ADVANCE. 
  Well the thing is you''re extracting certain parts of whole bytes, so there are some losses depending on what values you use.A 16 bit RGB value (565) gives you 32shades of red/blue and 64 shades of green. which is why RGB(0,0,32) is "pure blue". 