Re: [Freeciv-Dev] (PR#39409) Technology tree (reqtree.c) edge colors

2007-06-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=39409 > Forgot to send the patch, same for both commits. Index: client/reqtree.c === --- client/reqtree.c(revision 13016) +++ client/reqtree.c(working copy) @@ -107,8 +107,10 @@

Re: [Freeciv-Dev] (PR#39409) Technology tree (reqtree.c) edge colors

2007-06-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=39409 > As I was testing the patch, I noticed that there were 6 available node colors. Not all make sense for edges, but flagging those currently reachable and researching might be visually helpful on long lines. I also noticed the .h comments don'

Re: [Freeciv-Dev] (PR#39409) Technology tree (reqtree.c) edge colors

2007-06-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=39409 > Thank you! Since I was the last to touch this code, I've handled it (again), although it's not my usual bailiwick. Also, found that a bug fix had been applied to trunk and not to S2_1, so that's added, too Committed trunk revision 1301

Re: [Freeciv-Dev] (PR#39409) Technology tree (reqtree.c) edge colors

2007-06-23 Thread Ulrik Sverdrup
http://bugs.freeciv.org/Ticket/Display.html?id=39409 > Here is an improved and more tested patch. This still uses the three categories for edges. It adds one color for inactive, unknown edges that are gray. Active edges use the unreachable_goal color (just reusing to simplify). No lists, the li

Re: [Freeciv-Dev] (PR#39409) Technology tree (reqtree.c) edge colors

2007-06-22 Thread Ulrik Sverdrup
http://bugs.freeciv.org/Ticket/Display.html?id=39409 > I did some embarrasing mistakes in the v1 patch, I'm just letting you know that I'm working on v2. Rgds Ulrik ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freec

Re: [Freeciv-Dev] (PR#39409) Technology tree (reqtree.c) edge colors

2007-06-21 Thread Daniel Markstedt
http://bugs.freeciv.org/Ticket/Display.html?id=39409 > On 6/22/07, Ulrik Sverdrup <[EMAIL PROTECTED]> wrote: > > http://bugs.freeciv.org/Ticket/Display.html?id=39409 > > > Here is a proposed change and patch for client/reqtree.c. Attached > diff from trunk r13007 > > The feature is adding colors