Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-12 Thread Florian Schanda
On Sunday 10 May 2009 14:08:39 Per Inge Mathisen wrote: Looks good on little egypt, but way too crisp red on other, more normal maps. Actually, whats wrong with a really strong contrast? The map preview was never intended to look overly pretty, I figured it should be functional first and

[Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Florian Schanda
Hi all, attached is a patch for 2.2 which will show water in blue and cliffs red on the skirmish / mp map preview. Florian Index: src/multiint.c === --- src/multiint.c (revision 7364) +++ src/multiint.c (working copy) @@

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Christian Ohm
On Sunday, 10 May 2009 at 10:59, Florian Schanda wrote: attached is a patch for 2.2 which will show water in blue and cliffs red on the skirmish / mp map preview. Looks nice, and simple enough for 2.2 imo (unless it somehow misbehaves with FBOs, but I doubt that). Just three comments: +

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Florian Schanda
On Sunday 10 May 2009 12:39:12 Christian Ohm wrote: Looks nice, and simple enough for 2.2 imo (unless it somehow misbehaves with FBOs, but I doubt that). It really can't -- unless something truly magical is going on :) Just three comments: + char *p =

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Florian Schanda
On Sunday 10 May 2009 12:51:43 Per Inge Mathisen wrote: 2009/5/10 Florian Schanda flor...@elysiumlarp.org.uk: attached is a patch for 2.2 which will show water in blue and cliffs red on the skirmish / mp map preview. Thanks. This is a good idea, and I love the blue water. Is it possible to

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Christian Ohm
On Sunday, 10 May 2009 at 12:46, Florian Schanda wrote: On Sunday 10 May 2009 12:39:12 Christian Ohm wrote: Pointer should be const ^ Nope :) char * const p, not const char *p. ___ Warzone-dev mailing list Warzone-dev@gna.org

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Per Inge Mathisen
On Sun, May 10, 2009 at 1:56 PM, Florian Schanda flor...@elysiumlarp.org.uk wrote: Thanks. This is a good idea, and I love the blue water. Is it possible to use some other colour than red for cliffs? I tried a few colour combinations but got nothing that looked better. Thanks :) I also

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Florian Schanda
On Sunday 10 May 2009 13:18:01 Per Inge Mathisen wrote: Trying some more, I came up with +     case TER_CLIFFFACE: +   p[0] = 255 - col; +   p[1] = 255 - col; + 

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Christian Ohm
On Sunday, 10 May 2009 at 14:18, Per Inge Mathisen wrote: On Sun, May 10, 2009 at 1:56 PM, Florian Schanda I also tried, but I think red will stand out the most. Its meant to be only an overview anyway -- to quickly see whats going on on the map. Trying some more, I came up with +

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Florian Schanda
On Sunday 10 May 2009 13:32:59 Christian Ohm wrote: On Sunday, 10 May 2009 at 14:18, Per Inge Mathisen wrote: On Sun, May 10, 2009 at 1:56 PM, Florian Schanda I also tried, but I think red will stand out the most. Its meant to be only an overview anyway -- to quickly see whats going on

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread Per Inge Mathisen
On Sun, May 10, 2009 at 2:21 PM, Florian Schanda flor...@elysiumlarp.org.uk wrote: On Sunday 10 May 2009 13:18:01 Per Inge Mathisen wrote: Trying some more, I came up with +     case TER_CLIFFFACE: +   p[0] = 255 - col; +

Re: [Warzone-dev] Patch to show cliffs and water on map previews

2009-05-10 Thread bugs buggy
On 5/10/09, Florian Schanda flor...@elysiumlarp.org.uk wrote: Hi all, attached is a patch for 2.2 which will show water in blue and cliffs red on the skirmish / mp map preview. Florian Back when I was screwing around with this code, you almost need 3 different color pallets, one