Original Post
ok, heres my problem. Say I have a structure like this:
struct TILE_T
{
int foo;
char bar;
double baz;
LPDIRECTDRAWSURFACE *bmp;
}
Now considering I dont want to save a DirectDraw surface to a file, should I:
1) Create a whole new struct for saving and loading with an HBITMAP instead of DDSurface?
2) Just add a pointer to an HBitmap and during the game make it 0 and use it only for saving/loading?
or
3) Make it a void*, cast it to (lpdirectdrawsurface) when i use it and when i convert it cast it to hbitmap? (this sounds coolest)
Just want some input, which might give the least overhead.
-----------------------------
A wise man once said "A person with half a clue is more dangerous than a person with or without one."