[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Re: darkness of fog of war and how to change it correc
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] Re: darkness of fog of war and how to change it correctly |
Date: |
Fri, 13 Jul 2007 09:43:16 +0200 |
User-agent: |
KMail/1.9.7 |
> 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] All custom maps (so minus campaigns and tutorial) complete, Kieran P, 2007/07/04
- [glob2-devel] Re: All custom maps (so minus campaigns and tutorial) complete, Kieran P, 2007/07/04
- Re: [glob2-devel] All custom maps (so minus campaigns and tutorial) complete, Stéphane Magnenat, 2007/07/04
- Re: [glob2-devel] All custom maps (so minus campaigns and tutorial) complete, Kai Antweiler, 2007/07/04
- Re: [glob2-devel] All custom maps (so minus campaigns and tutorial) complete, Kai Antweiler, 2007/07/04
- Re: [glob2-devel] All custom maps (so minus campaigns and tutorial) complete, Bradley Arsenault, 2007/07/04
- darkness of fog of war and how to change it correctly (was: [glob2-devel] All custom maps (so minus campaigns and tutorial) complete), Joe Wells, 2007/07/04
- [glob2-devel] Re: darkness of fog of war and how to change it correctly, Leo Wandersleb, 2007/07/13
- Re: [glob2-devel] Re: darkness of fog of war and how to change it correctly,
Stéphane Magnenat <=
- [glob2-devel] memory use (was: darkness of fog of war and how to change it correctly), Joe Wells, 2007/07/13
- Re: [glob2-devel] memory use (was: darkness of fog of war and how to change it correctly), Stéphane Magnenat, 2007/07/13
- Re: [glob2-devel] memory use (was: darkness of fog of war and how to change it correctly), Bradley Arsenault, 2007/07/13
- Re: [glob2-devel] memory use (was: darkness of fog of war and how to change it correctly), Stéphane Magnenat, 2007/07/13