Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Re: Two patches
Home

[Freeciv-Dev] Re: Two patches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Two patches
From: Kero van Gelder <kero@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Aug 2000 16:51:26 +0200
Reply-to: kero@xxxxxx

> >First patchs improves the shuffle_players() to perfect randomness (it
> >was close, but n! is not a perfect divisor of n^n), save the
> >randomness of my_rand().
> 
> I don't understand this patch.  The new code seems to me to have the same
> effect as the old code.

As perfectly explained by David, it fixes the randomness.
I mis-re-typed my patch from elsewhere :-(

> >Second patch moves a couple of unit strings derived in gui-gtk to
> >common/unit.c (I'd like to change the information printed much more,
> >but I'll wait with that until this patch is applied; also, I don't
> >thin the function unit_description() is very helpful).
> >
> >In particular, the 'V' for veteran is added by
> >unit_statistics_text(). Now I believe you're not supposed to see
> >whether an _enemy_ unit is veteran or not, so I turned the field to
> >false when the server passes unit info to a client that's not the
> >owner of the unit.
> 
> This patch is missing the Xaw (and MUI, if possible) implementations.  I'll
> get to them eventually, if no one else does.

I know. Enough lessons in one evening with gtk.
Any way of testing MUI on a linux box?

+--- Kero --------------------------------- kero@xxxxxx ---+
|  Don't split your mentality without thinking twice       |
|                          Proud like a God -- Guano Apes  |
+--- M38c ------------------ http://huizen.dds.nl/~kero ---+



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