I have collision detection on my map, but it's just lame rectangle detection (32x32 areas). I was thinking of making it insanely accurate by overlaying a bit vector, so I can mark each individual pixel collidable or not.
However, I'm not seeing any C++ keyword for bit, and the closest thing I can come across is unsigned char (which BOOL is typedef'd as). This or int would typically be acceptable, but I'm considering the size of my saved map files. Obviously bits would be ideal, but I'm afraid ints could produce quite large file sizes.
Anyone have suggestions? Thanks in advance.