Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10153) show requirements met by buildings
Home

[Freeciv-Dev] (PR#10153) show requirements met by buildings

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10153) show requirements met by buildings
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Fri, 17 Sep 2004 02:51:10 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10153 >

> [jdorje - Fri Sep 17 02:01:27 2004]:
> 
> This patch changes helptext_building to show the requirements met by the
> building.  It is best explained by looking at the attached screenshot
> (made with a modified ruleset of course).
> 
> There's a problem with this kind of thing in general.  As an example,
> the clients currently use a GUI interface to show the allowances
> provided by technologies.  But this won't show up in the autogenerated
> manual because it's not found by helptext_tech.  By contrast for
> buildings the allowances are put in the text, but will not be
> cross-referenced by the GUI.  I'm not sure how to fix this in the long
> run.  One option is to pass a "show_reqs" parameter to the helptext
> function (if set, both allowances and reqs are shown).  Another option
> is for the GUI to search the strings to find linkable text, and
> cross-reference directly (which is probably what the manual generator
> should do).
(...)
> jason
> 

Maybe the client should be a http server. And the help menu could run 
$BROWSER with adresses like:
http://localhost:8888/technologies
http://localhost:8888/units
http://localhost:8888/units/howitzer
http://localhost:8888/sprites/howitzer
--
mateusz



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