1 Attachment(s)
Please advice on my DirectX programming
I have made a small project using DirectX. It uses Direct Draw to blt frames from a bitmap based on the input keys. I just want you guys to check my source code and tell me if it is programmed in an optimized form or I can still make improvements.
One major improvement would be memory management. Every time I run the program my memory page size increases by about 42mb. How do I remove the memory allocated for my program
The compressed size of the bitmap even in GIF format was 163 kb, so I had to split the file in 2 attachments due to the limitations of this site.
1 Attachment(s)
The second half of the sprite bitmap
Here is the second half of the sprite bitmap. Open actionpic0.bmp from the previous zip file. Increase the height attribute to 980pxl.
Paste the bitmap in actionpic1.zip to the new area and Save as 'actionpic.bmp' in project directory. Sorry for the inconvenience.
actionpic0.bmp + actionpic1.bmp = actionpic.bmp (In App.Path)