Just checked into cvs: The following bits changes how fog of war looks in SDL mode. Now, fog of war spaces are drawn in greyscale, instead of half darkness. This makes it clearer what the status of the space is (fog of war/darkness). This change probably uses less cpu to draw, but uses more memory for the images (as it now has to store a rendered greyscale image). If not using SDL, you'll still have the old behaviour (dimmed spaces for fog of war), and no significant amount of extra memory will be used. -- gtk/gx11.h: Add fog_image pointer to PixmapInfo structure. gtk/image.c: Add code to render greyscale image. Also add code to free greyscale image. gtk/sdl.c: Modify map draw code to use grey fog image if space is fog of war space. Disable dimming of fog spaces - no longer necessary as space now looks different. MSW 2003-03-24 As a note, it probably wouldn't be really hard to make this a config option. However, I'm a bit reluctant to make everything a config option - this is more code to maintain, which then makes it harder to debug problems and whatnot. The only real issue is the extra amount of memory the above change takes up. If you make the approximation that each image takes up about 4 k (32 x 32 x 4), then that means if every image is rendered, that adds up to about 16-17 MB of extra memory that is required. Given that this change is only for SDL mode, I'd say that if memory is a concern, probably could just not use sdl mode. _______________________________________________ crossfire-devel mailing list crossfire-devel at lists.real-time.com https://mailman.real-time.com/mailman/listinfo/crossfire-devel