Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] [PATCH] generalized unit capabs
Home

[Freeciv-Dev] [PATCH] generalized unit capabs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [PATCH] generalized unit capabs
From: Andrew Sutton <ansutton@xxxxxxx>
Date: Wed, 5 Dec 2001 14:27:26 -0500

okay... i've resolved all the formatting stuff. and got rid of the part 
touching the registry code.

> It is useless (dead code) if it is added to the tree and not used. You
> may provide this code (at an external location) and see if someone
> likes and uses it. Till then it will not be included by me.

surprisingly there is no code that uses this, so it won't be included at this 
point. catch 22? won't be included until its used. can't be used until its 
included. whatever.

apparently thinking ahead is penalized here. so for people that would like to 
write a whole bunch of capabilities that aren't found in freeciv (without 
excessive patching) it's here. i still need to add the network patch for it 
though. i'll work on that for a while... it shouldn't be too hard. just a 
loop across a set of unsigned integers.

for the AC folks, this might help with your quest for unit composition. it 
will at least let you define capabilities that correspond to the various unit 
components. they could probably be masked onto existing capabilities (e.g. 
movement). i'd actually like to know how that goes.

hopefully, i won't have to submit this any more... it's getting tedious. have 
fun kids,

andy

Attachment: gen_capab.diff
Description: Text Data


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