Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#2521) general effects framework
Home

[Freeciv-Dev] (PR#2521) general effects framework

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx, vasc@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2521) general effects framework
From: "Jason Short via RT" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Sep 2004 03:44:02 -0700
Reply-to: RT_CorrespondAddressNotSet@xxxxxxxxxxxxxx

<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=2521 >

OK, here is a new patch.

I went over every line of effects.[ch] and cleaned it up.

I renamed a bunch of variables.  For instance "arg" as an argument to a
function isn't very descriptive.

I finally figured out the correct name for count_targets_in_range.  It
should be count_sources_in_range!

I added lots of comments.  Particularly some explaining the groups.

I'm now satisfied with these two files, and with the patch overall.

jason

Attachment: effects21.diff.bz2
Description: application/bzip


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