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

[Freeciv-Dev] Re: [PATCH] generalized unit capabs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] generalized unit capabs
From: "ansutton@xxxxxxx" <dbsmith@xxxxxxxxxxx>
Date: Wednesday, 05 Dec 2001 20:18:48 -500

Originally to: David Bryan Smith

  by provide.net (CommuniGate Pro SMTP 3.5b5)
  with ESMTP id 6261444 for dbsmith@xxxxxxxxxxx; Wed, 05 Dec 2001 15:09:19 -0500
Received: from pi (localhost [127.0.0.1])
        by pi.glockenspiel.complete.org (Postfix) with ESMTP
        id 82B343B854; Wed,  5 Dec 2001 15:07:05 -0500 (EST)
Received: with LISTAR (v1.0.0; list freeciv-dev); Wed, 05 Dec 2001 15:07:05 
-0500 (EST)
Delivered-To: virtual-freeciv.org-freeciv-dev@xxxxxxxxxxxx
Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net 
[207.69.200.243])
        by pi.glockenspiel.complete.org (Postfix) with ESMTP id CB50F3B853
        for <freeciv-dev@xxxxxxxxxxx>; Wed,  5 Dec 2001 15:07:04 -0500 (EST)
Received: from user-2injgmj.dsl.mindspring.com ([165.121.194.211] helo=there)
        by maynard.mail.mindspring.net with smtp (Exim 3.33 #1)
        id 16BiJr-0008Eu-00
        for freeciv-dev@xxxxxxxxxxx; Wed, 05 Dec 2001 15:07:03 -0500
From: Andrew Sutton <ansutton@xxxxxxx>
Organization: Software Emgineering Pros.
To: Freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [PATCH] generalized unit capabs
Date: Wed, 5 Dec 2001 15:00:26 -0500
X-Mailer: KMail [version 1.3.1]
References: 

16Bhnv-00009A-00@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
In-Reply-To: 

16Bhnv-00009A-00@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  










-----------Boundary-00=_QKZV7F3AD54W5YH1NZ7F"
Message-Id: 

16BiJr-0008Eu-00@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
X-archive-position: 5097
X-listar-version: Listar v1.0.0
Sender: freeciv-dev-bounce@xxxxxxxxxxx
Errors-To: freeciv-dev-bounce@xxxxxxxxxxx
X-original-sender: ansutton@xxxxxxx
Precedence: bulk
X-list: freeciv-dev




------------Boundary-00=_QKZV7F3AD54W5YH1NZ7F
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

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


------------Boundary-00=_QKZV7F3AD54W5YH1NZ7F
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="gen_capb_net.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gen_capb_net.diff"

Attached file: gen_capb_net.diff



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [PATCH] generalized unit capabs, ansutton@xxxxxxx <=