Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: More imporved game starting [patch]
Home

[Freeciv-Dev] Re: More imporved game starting [patch]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: More imporved game starting [patch]
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Wed, 26 Dec 2001 21:48:19 +0100 (MET)

On Wed, 26 Dec 2001, Christian Knoke wrote:
> Hhm, yes, I've seen that when I was on civgo. But still parsing
> is needed, plus the l10n problem.

'rfcstyle' is not intended to be human readable. The comments were meant
merely for anyone doing debugging, and can be removed.

That changes

        > create Per
        012 Per ist als KI-Spieler dazu gekommen.
        100 KI-Spieler Per generiert.

to

        > create Per
        100 Per

(0?? messages are debugging messages, and can be ignored)

And this...

        > list
        000 Spieler:
        000
        
------------------------------------------------------------------------------
        000 Per (AI, Schwierigkeitsgrad easy)
        000 Chris (AI, Schwierigkeitsgrad easy)
        000
        
------------------------------------------------------------------------------
        >

...should be (here I must invent a new C_* category, #define C_CONTINUED
600, which implies an answer to a requested operation that spans multiple
lines):

        > list
        600 "Per" AI easy
        600 "Chris" AI easy
        100

E.g. the function con_write(C_OK, _("Game saved as %s"), filename) writes
"100 <filename>", ie the first paramater is simply ignored.

This removes parsing through i10n completely from consideration.

Yours,
Per

"Economics is extremely useful as a form of employment for economists."
 -- John Kenneth Galbraith



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