Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] (PR#8754) effects patch
Home

[Freeciv-Dev] (PR#8754) effects patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8754) effects patch
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 28 May 2004 18:42:24 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8754 >

Since there is doubt if this system can work for the present ruleset
effects, let alone more, I am trying to lay those fears to rest by
implementing default.ruleset in full.

This patch contains an implementation of all effects except: pollution,
space parts, aqueduct, sewer, tithes, police station/suffrage, supermarket.

AI, client and goto are not fully converted yet either. I may have
missed a couple of places. I did run some autogames on CVS HEAD vs this
code and md5sum'ed them to check for differences and so far so good.

If all you are interested in is looking at the base code, please see:
common/eff.[ch]
common/city.c       ; city_affected_by_wonder
common/packets.def
server/ruleset.c
player/packhand.c

These files contain the important parts of the base code.

data/default/buildings.ruleset is also interesting to look.

The rest is mostly implementation of effects.

Base code and ruleset data exempted, this patch actually decreases the
amount of lines of code used in the implementation of these effects.

Attachment: eff_bundle_v1.patch.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]