[Freeciv-Dev] Re: [PATCH] generalized unit capabs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wednesday 05 December 2001 02:27 pm, Andrew Sutton wrote:
> 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.
apparently it wasn't that hard. apparently the patches are additive so here's
the total patch with network code to transmit the capability array.
sorry for all the reposts... i just keep missing things. somebody tell me if
i'm missing anything for the framework
- gen capabs implementation
- ruleset parsing of gen capabs
- mapping into the ruleset unit packet
- can send ruleset unit pakcet w/new flags
- can recv ruleset unit packet w/new flags
the only thing i'm really missing is backpatching the entire project to use
the new framework. but again, i don't have to since it supports both styles.
oh, and i'm missing configuration of new capabilities in all the old
rulesets. the default settler is partially done as an example.
andy
gen_capb_net.diff
Description: Text Data
|
|