Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] Re: (PR#4024) New tech aquired
Home

[Freeciv-Dev] Re: (PR#4024) New tech aquired

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: a-l@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4024) New tech aquired
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 27 Apr 2003 07:32:04 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, 18 Apr 2003, a-l@xxxxxxx wrote:
> Change an instance of "poptechup" to "new_tech_aquired" in
> packhand.c: handle_player_info().
>
> In this and maybe future cases it is useful to distinguish between
> "change current research" (causes popup) and "gained a new tech"
> (maybe through treaty or looting).

The problem with this patch is that we _do_ want to update the science
dialog every time we gain a tech _iff_ the dialog is already open. Is
there a way to test if the dialog is open, and update it for newly gained
techs that we didn't research, if that is the case?

  - Per




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