Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2001:
[Freeciv-Dev] client shared code?
Home

[Freeciv-Dev] client shared code?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] client shared code?
From: Jason Short <jshort@xxxxxxxxxxxxx>
Date: Mon, 30 Apr 2001 23:07:43 -0400

I'd never looked at the freeciv code before, but I didn't like the way
production that would never be finished was displayed as "999 turns" to
completion.  I went in and changed this so that it would display "never"
instead of "999" or "999 turns".  I realized this code was duplicated
over all of the different client gui's (almost line-for-line between gtk
and xaw), so I separated it from them (making several client shared
functions used by gtk, xaw, and mui*).

However, I have no idea where to put this shared code.  There are a
number of files in client/, including a variety of shared code, but none
of it seems to have any relation to this code.  What file would this
best be put into?

BTW, although I haven't finished it up yet, the changes I have made are
at http://devon.dhs.org/freeciv/city_build_text.patch.  Also, after
making the changes and playing with them, I'm even happier with the
improvement (999->never) than I thought.  I guess I never realized how
much that bugged me.

* I also realized I have no idea what the mui client is.  I was unable
to test this one out, since it won't even compile on my system.

jason short


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] client shared code?, Jason Short <=