Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: [Update] Happiness display (GTK client)
Home

[Freeciv-Dev] Re: [Update] Happiness display (GTK client)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: tuomas.airaksinen@xxxxxxxxxx
Cc: mike_jing@xxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Update] Happiness display (GTK client)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Feb 2001 11:08:04 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

On Sat, Feb 17, 2001 at 12:28:32AM +0200, Tuomas Airaksinen wrote:
> On Fri, Feb 16, 2001 at 09:31:48AM -0500, Mike Jing wrote:
> > These two patches add a Happiness display for the GTK client,
> > accessable through a new button in the City dialog.  I ended up copying a 
> > lot from the City dialog code.  Here is what the individual patch does:
> > 
> > new_city_info.diff:  modifies the city_info packet to included need
> > information to diaplay the happiness breakdown and adds a new optional 
> > capability string.
> > 
> > happy_display_gtk.diff: adds the Happiness display window.
> > 
> > NOTE: the displayed info will be *incorrect* when playing on unpatched 
> > servers.
> > 
> > More coming.  Please give it a read and test (thanks in advance, vasc. :-).
> 
> Cool,... and very useful! But... Texts weren't so nobrainer, for example, 
> could you
> explain what this means: "3 content with 1 additional unhappy sitizen for
> every 7 cities over 13 (18 total)". Should it just tell how many unhappy
> sitizens are caused by amount of cities? 

It also took me some minutes. However I have never looked at the
happiness stuff so I didn't report it.

The above means IMHO: "You start with 2 content citizen because your
base is 3 content citizen (because you use $current_government) and
one content citizen is unhappy because of your empire size this also
depends on your government. You get 1 additional unhappy citizen for
every 7 cities over 13 (you have 18 cities total)."

If this is correct the remaining problem is to squeeze it into one
line.

> In general, Civ2s city dialog were more practical, and we could do
> something like that using for example GTK+'s tab widget (or whatever
> it is called, the one that gives more pages in one dialog
> (Happiness, unitlist, configuration, worklist and this kind of
> things)

I think this is a good idea. Does anybody see disadvantages?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "These download files are in Microsoft Word 6.0 format. After
  unzipping, these files can be viewed in any text editor, including
  all versions of Microsoft Word, WordPad, and Microsoft Word Viewer."
    -- http://www.microsoft.com/hwdev/pc99.htm



[Prev in Thread] Current Thread [Next in Thread]