K 10
svn:author
V 7
freeciv
K 8
svn:date
V 27
1998-09-19T16:03:46.000000Z
K 7
svn:log
V 1466
mjd@alphalink.com.au:
This patch makes some improvements to the help system.

Tags are added to helpdata.txt to say explicitly whether items are
TEXT, UNIT, IMPROVEMENT, WONDER, or TECH.  And in the code to popup a
help text, you can ask for a particular type.  One effect this has is
that the Government help items Monarchy etc don't need a "(Gov)"
addition to distinguish them from the corresponding advances.

The help system is slightly more robust and nicer if a help item
doesn't correspond to the specified component of the game (unit_type
etc) or the component has been "removed".  Or vice versa -- if a game
component doesn't have a help item for some reason.  One effect of
this is that unimplemented Civ2 units etc can be added back to the
help with an explanatory note, so players coming from Civ2 can see
what's missing and possibly why.

Comments for unit types relating to transport_capacity, flags, and
fuel, are generated automatically, ensuring clarity, consistency,
correctness, cetc.

boot_help_texts() was moved to after log_init(), so log messages in
boot_help_texts are actually useful.

client/helpdlgs.c:find_help_item_by_topic() is #if-ed out, as it
appears to me to be unused, and furthermore broken.

changes to helpdlgs.c aren't really as drastic as the patch makes
appear, but I've moved some things around.

citydlg.c:change_help_callback() was pretty weird, and now cleaned up.

Patch supplied by David Pfitzner <dwp@mso.anu.edu.au>.

END
