more news about the images. However, I found some strange behaviour,
maybe Graphic artists know more here. :)
Testing around, I found that indeed the alpha channel is somehow
responsible for the inability of changing the alpha value of the image.
If this sounds weird, I continue lateron.
First the empirical part. In File.cpp, change the content of
File::getMiscPicture(...) to "File::loadImage(..., false) to have the
alpha channel _not_ copied. Voila, the buttons should be shaded grey
when they are not accessible.
Now this raises two questions:
1. What happens in File::loadImage is that the loaded image is copied on
another one with the screen settings (color depth etc.) for faster
blitting. In the "bad" case, the alpha values are copied on the new
image (i.e. preserved), in the "good" case they are used (i.e.
transparent pixels have the background color after the optimization).
Now why is it possible to change the transparency of images in one case,
but not in the other?
2. If you do the same change with File::getMapsetPicture, most of the
images will look horrible, but the ruins look just the same. This leads
to the question: If the ruin image still has transparent pixels after
the optimization, where it shouldn't have them any longer, why doesn't
this work with the other images?
Andrea, is it OK with you if I give you this subject for further
investigation? Propably a mail to the SDL list would clarify some