> To allow easy adjustment and maybe even allow the user to set fog of war > density in the settings, the png alpha should be [0 .. 1] and be scaled by > some alpha programmatically. I guess that is possible.
Yes, this feature just has to be added to GAGCore::DrawableSurface and GAGCore::Sprite. By the way, I just noticed someone has added lot of members to DrawableSurface, presumably for text screen dump. This is bad, this code, related to screen, should be in GAGCore::GraphicContext. There is tens of thousands of GAGCore::DrawableSurface instantiated, so there is a loss of memory there. Steph -- http://stephane.magnenat.net _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
