Author: sveinung
Date: Tue Mar 24 23:30:20 2015
New Revision: 28615

URL: http://svn.gna.org/viewcvs/freeciv?rev=28615&view=rev
Log:
Add research_reqs, a requirement vector for research, to techs.

A tech's research_reqs must be true before it can be researched. For shared
research it is enough that it is true for one of the players sharing.

Only unchanging requirements are supported for now. This includes requiring
that a player must have a certain nationality to research a tech.

Tech requirements have their own warning telling the ruleset author to put
them in req1, req2 or root_req in stead.

See patch #5944

Modified:
    trunk/client/packhand.c
    trunk/common/packets.def
    trunk/common/research.c
    trunk/common/tech.c
    trunk/common/tech.h
    trunk/data/alien/techs.ruleset
    trunk/data/civ1/techs.ruleset
    trunk/data/civ2/techs.ruleset
    trunk/data/civ2civ3/techs.ruleset
    trunk/data/classic/techs.ruleset
    trunk/data/experimental/techs.ruleset
    trunk/data/multiplayer/techs.ruleset
    trunk/data/stub/techs.ruleset
    trunk/fc_version
    trunk/server/rssanity.c
    trunk/server/ruleset.c
    trunk/tools/ruledit/rulesave.c

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/packhand.c?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/common/packets.def
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/packets.def?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/common/research.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/research.c?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/common/tech.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/tech.c?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/common/tech.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/tech.h?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/alien/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/alien/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/civ1/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ1/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/civ2/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/civ2civ3/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/civ2civ3/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/classic/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/classic/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/experimental/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/experimental/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/multiplayer/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/multiplayer/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/data/stub/techs.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/stub/techs.ruleset?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/fc_version
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/fc_version?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/server/rssanity.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/rssanity.c?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=28615&r1=28614&r2=28615&view=diff

Modified: trunk/tools/ruledit/rulesave.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/rulesave.c?rev=28615&r1=28614&r2=28615&view=diff


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to