Debug output window messages to diagnose when demo glitches about 5 seconds in. Happens at WM_NCMOUSEMOVE, which doesn't appear to help.
Remove raw for loops.
Remove raw for loop.
Continued removal of raw loops.  Not convinced that it's best for all cases yet, however it is demonstrating some scope issues.
PCX validation of 0C byte palette marker.
Missing const.
Convert to Counter clockwise incides, for easier integration with my personal code.
Start particle drawing from upper-left corner.  Either targa or pcx is drawing upside down.
Support inverted targa images.
Missing static on non-exported functions.
Targa writing, to create correctly oriented targa files.
Use top-down tga by default.