clsBitmapAnyone who's ever worked with Windows' GDI and tried to blit some sprites knows what is necessary to make it look right. Masks for transparency, flipping, raster operations, etc. This is a class that is designed to encapsulate these functions, with speed in mind too. It can load any bitmap and optionally convert all off the cyan areas in the bitmap to translucent, as well as blit this to any Device Context. It can also generate a horizontally flipped bitmap of itself. I have included no documentation whatsoever. The class itself is fairly simple to use, and a management module is included to manage a list of bitmap classes for your game or whatever. Expect a small program demonstrating this class soon. Download
|