Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Patch: Requirement generalization for units
Home

[Freeciv-Dev] Patch: Requirement generalization for units

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Patch: Requirement generalization for units
From: Marko Lindqvist <caz@xxxxxxxxxxxxxxxx>
Date: Fri, 7 Jul 2000 15:29:21 +0300 (EET DST)

 This is first part of requirement ganeralization code. It allows setting
several tech requirements for units.

 - Patched units.ruleset included, civ1 and civ2 rulesets not.
 - When only one tech requirement set, everything should work exactly like
   before.
 - Helpbrowsers and rulesout command need fixing if units use more than
   one tech requirement
    - Rulesout lists units allowed by their first (order in ruleset)
      required tech. Units are listed obsoleted with first tech required
      for unit that really obsoletes them.
    - Helpbrowser tech section works lists allowed units as rulesout does.
    - Helpbrowser unit section shows first not yet discovered (by this
      player) required tech as only requirement. If all required techs are
      already discodered, it shows first required tech.
 - Only GTK client is changed, other clients won't even compile.


 btw. Is there interest for putting req_gen into CVS? Should I send it as
small patches to mailing list (it's better to put into CVS in small parts)
or should I just send one big patch to ftp.freeciv.org for those 
interested when I have finished it?


 Caz

--

Attachment: req_gen_for_units.diff.gz
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Patch: Requirement generalization for units, Marko Lindqvist <=