Page 1 of 1
MiniMap

Posted:
02 Jun 2012, 19:58
by paul424
How do I check whether the given Creature in GamMap::creatures exist in Game ?
I try the funciton if((*it)->isMeshExisting() , but that beside proper Creatures it gives also some trash, as well.
Basic MiniMap already works , enjoy !
Re: MiniMap

Posted:
14 Jun 2012, 21:48
by paul424
After some investigation, I found that for each pixel of Texture I can write once, since than MiniMap has it's own buffer/
Some additional Image library would be nice to have all the Transformations , smoothering , filters etc.
The freeimage currently included into OD's does not have such advanced operations.
I found
http://www.imagemagick.org/script/magic ... o09nasahg4 .
Could someone merge that into current makefile system ?
Re: MiniMap

Posted:
14 Jun 2012, 23:03
by oln
Would prefer to not introduce any more libraries unless there is a good reason. In either case, don't worry about filtering before you have actually managed to make the minimap work in the first place. (Also I don't really know if it's sensible to use something like imagemagick for this purpose.)
Re: MiniMap

Posted:
22 Jun 2012, 14:02
by paul424
Someone more artistically inclined could choose a color pallete for minimap coloring , if it is going to stay in a code.
Re: MiniMap

Posted:
22 Jun 2012, 16:18
by svenskmand
I have made a rough color palette at some point. But the colors should not be hard-coded anyway, they should be loaded from a configuration file. You can find the colors
here.
Re: MiniMap

Posted:
22 Jun 2012, 20:19
by paul424
How I am supposed to read that file

?
Re: MiniMap

Posted:
22 Jun 2012, 20:38
by svenskmand
Re: MiniMap

Posted:
22 Jun 2012, 21:50
by paul424
Huh that also, but I meant how do I read that into the game program

?
Re: MiniMap

Posted:
22 Jun 2012, 22:31
by svenskmand
What do you mean? You just need the rgb values which you can read out of the file using Inkscape.
Re: MiniMap

Posted:
23 Jun 2012, 08:21
by paul424
Ok, I thought that you want use that file as a program configuration file.