MiniMap

MiniMap

Postby paul424 » 02 Jun 2012, 19:58

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 !
User avatar
paul424
OD Moderator
 
Posts: 660
Joined: 24 Jan 2012, 13:54

Re: MiniMap

Postby paul424 » 14 Jun 2012, 21:48

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 ?
User avatar
paul424
OD Moderator
 
Posts: 660
Joined: 24 Jan 2012, 13:54

Re: MiniMap

Postby oln » 14 Jun 2012, 23:03

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.)
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: MiniMap

Postby paul424 » 22 Jun 2012, 14:02

Someone more artistically inclined could choose a color pallete for minimap coloring , if it is going to stay in a code.
User avatar
paul424
OD Moderator
 
Posts: 660
Joined: 24 Jan 2012, 13:54

Re: MiniMap

Postby svenskmand » 22 Jun 2012, 16:18

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.
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: MiniMap

Postby paul424 » 22 Jun 2012, 20:19

How I am supposed to read that file :D ?
User avatar
paul424
OD Moderator
 
Posts: 660
Joined: 24 Jan 2012, 13:54

Re: MiniMap

Postby svenskmand » 22 Jun 2012, 20:38

Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: MiniMap

Postby paul424 » 22 Jun 2012, 21:50

Huh that also, but I meant how do I read that into the game program :D ?
User avatar
paul424
OD Moderator
 
Posts: 660
Joined: 24 Jan 2012, 13:54

Re: MiniMap

Postby svenskmand » 22 Jun 2012, 22:31

What do you mean? You just need the rgb values which you can read out of the file using Inkscape.
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: MiniMap

Postby paul424 » 23 Jun 2012, 08:21

Ok, I thought that you want use that file as a program configuration file.
User avatar
paul424
OD Moderator
 
Posts: 660
Joined: 24 Jan 2012, 13:54

Who is online

Users browsing this forum: No registered users and 1 guest

cron