Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
[Freeciv-Dev] patch: split gov.flag into flags and hints (PR#120)
Home

[Freeciv-Dev] patch: split gov.flag into flags and hints (PR#120)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] patch: split gov.flag into flags and hints (PR#120)
From: Sune Kirkeby <sune@xxxxxxxxxxx>
Date: Sun, 29 Aug 1999 11:14:44 -0700 (PDT)

The attached patch splits the government flags field into
actual flags (those that effect the game rules), and those
that are infact just hints to the AI.

The old flags-and-hints-are-equal approach had the disadvantage
of not being clear on what each of the "flags" do.  Also,
this change might help when implementing CTP, which I imagine
would need a few new flags to work correctly.  (Just guessing
there, though.)

The patch also adds a no-op flag "-", that is handy if a government
have no hints or flags.

-- 
Sune Kirkeby | "Imagine, if you will, that there were no such
             |  thing as a hypothetical situation..."

Attachment: freeciv-gov_hint.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] patch: split gov.flag into flags and hints (PR#120), Sune Kirkeby <=