Complete.Org: Mailing Lists: Archives: freeciv-dev: September 1999:
[Freeciv-Dev] Re: City styles - patch
Home

[Freeciv-Dev] Re: City styles - patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: City styles - patch
From: Jerzy Klek <qpkjeek@xxxxxxxxxxxxxxx>
Date: Sun, 19 Sep 1999 19:04:39 +0200 (MET DST)

Hi!

> At first glance, it looks good.
> 
> One small problem:  I tried to load an old save file, and it aborted
> because there was no player0.city_style value.  In player_load() in
> plrhand.c, you should probably use secfile_lookup_int_default(), and, if
> city_style is not found, pick a reasonable default, based on the technology
> level of the player.

Thanks for info, I have fixed this problem. The nation default
style will be used. There's no need to look at player's tech
at this stage. This is check when city is drawn (It's not
optimal, I know).

> Now, I'll look in to implementing the style selection for the Xaw client.

Not much work here, just update nation selection dialog.

/Jerzy

Attachment: city2_diff.gz
Description: city2_diff.gz


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