Author: sveinung Date: Tue Oct 11 16:16:15 2016 New Revision: 34095 URL: http://svn.gna.org/viewcvs/freeciv?rev=34095&view=rev Log: Move obligatory hard requirements to actions.c.
An action may force all its enablers to include one or more of its hard requirements. The information about what requirements are obligatory for what actions has lived in rssanity.c's sanity_check_ruleset_data() until now. Move it to the new function action_enabler_obligatory_reqs_missing(). Make it possible to check each individual action enabler. See patch #7801 Modified: trunk/common/actions.c trunk/common/actions.h trunk/server/rssanity.c [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/common/actions.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.c?rev=34095&r1=34094&r2=34095&view=diff Modified: trunk/common/actions.h URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.h?rev=34095&r1=34094&r2=34095&view=diff Modified: trunk/server/rssanity.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/rssanity.c?rev=34095&r1=34094&r2=34095&view=diff _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits