In order to dramatically reduce the pain of compiling, this switches the graphics strategy from embedding image data directly into the executable to using Windows resources like a good boy.
Remarks:
The compile_resources.py script has been retired since it's no longer necessary.
We now rely on bitmap images being in a VERY specific format, namely an 8bpp uncompressed BITMAPINFOHEADER with a precise 8-color palette. We have a new script that will take any old image and convert it into this format, which is why all the old .pngs have moved into a new folder and the bitmaps folder is now autogenerated.
Unfortunately, adding new bitmaps becomes much more annoying with this change. You'll now need to use visual studio (or your brain) to add them to the .rc file, then manually add the new bitmap name to the enum and map in resources.h.
I might be insane, but I think the screensaver performs better now?
There is now potentially a world where I can actually compile a 32-bit build and run this on Windows XP?
In order to dramatically reduce the pain of compiling, this switches the graphics strategy from embedding image data directly into the executable to using Windows resources like a good boy.
Remarks:
compile_resources.py
script has been retired since it's no longer necessary.BITMAPINFOHEADER
with a precise 8-color palette. We have a new script that will take any old image and convert it into this format, which is why all the old .pngs have moved into a new folder and thebitmaps
folder is now autogenerated..rc
file, then manually add the new bitmap name to the enum and map inresources.h
.