Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2006:
[Freeciv-Dev] Re: (PR#16347) Lua tech API improvement
Home

[Freeciv-Dev] Re: (PR#16347) Lua tech API improvement

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#16347) Lua tech API improvement
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Apr 2006 15:33:13 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=16347 >

Per I. Mathisen wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=16347 >
> 
> This patch changes the return type of the give_technology() to Tech_Type
> instead of bool, so that the script can know which random tech was granted
> by this function when a random tech was requested.
> 
> This also matches the API of the events documentation in the wiki.

Sounds good.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#16347) Lua tech API improvement, Jason Short <=