PCX to C++ Source Code Converter ================================ Here is a handy little utility you can use with XLIB to convert a bitmap and its palette from a 320x200x256 PCX file to C++ source code that you can include into your programs. It does linear and planar bitmaps. Actually, the source code it spits out can be used with libraries other than XLIB with some minor modification. I've even included the source code for you to see how I did it. The syntax is simple, just type: PCX2CSRC and press Enter. Then just follow the screen's instructions. Note that if you want to convert a bitmap to the planar bitmap C++ source code, you have to make sure that the width of the bitmap is evenly divisible by 4 (ie. when (end_x - start_x+1)/4 = an integer value). I hope this helps when you're coding that new game or demo. It helped me when I was making my game for my Software Engineering term project last year which became "Space Invaders from Hell : 3-D" (not released, hahaha, too imbarrasing... its my first game and did it in only 3 weeks), and also for my famous Vector Balls program which I released in Jan.'94. Tumblin / Bodies In Motion (a.k.a. Terry Sznober) email: m9cl@unbsj.ca