Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2005:
[Freeciv-Dev] Re: Question about client coding
Home

[Freeciv-Dev] Re: Question about client coding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jérôme Plût <Jerome.Plut@xxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Question about client coding
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Thu, 17 Nov 2005 14:50:23 +0000 (GMT)

On Thu, 17 Nov 2005, Jérôme Plût wrote:
> This must be a FAQ about client coding: if I try to write a patch that
> implies some (very minor) client code modification in client/gui-*, am
> I supposed to try to write/test it for each available GUI?

No. The gtk2 client is the "main" client, and every other client has its
own maintainer that updates that client against the gtk2 client when he
has time.

> Another, very related, question: I noticed that some of the
> gui-specific functions don't call common functions (such as those in
> client/text.c about the unit popup tooltips) whenever possible, but
> rather reimplement the very same thing by themselves. In my view this
> is not a very bright idea, since it onlymakes the job of the coders
> more difficult; but since I'm new to the freeciv code I suppose there
> must be a good reason to keep it this way?

There was originally only one client, and the process of moving code from
specific clients and to client common code has been going on for quite
some time. We can still move more code from the clients and to client
common code - I guess we just do not feel that moving code around is very
fun.

> And a third one: since those must be FAQ, maybe they should be in the
> Wiki?

Feel free to add it there.

  - Per




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