Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12266) patch: supporting variable numbers of trade rou
Home

[Freeciv-Dev] (PR#12266) patch: supporting variable numbers of trade rou

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12266) patch: supporting variable numbers of trade routes
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Feb 2005 16:54:19 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12266 >

This is a slightly-tested patch that allows changing the number of
trade routes.  Except for how it doesn't *actually* allow you to change
the number of trade routes, but it puts some of the infrastructure there.

What's missing:
- ruleset-dependent number of trade routes per city
- savegame and network support for > 4 trade routes per city

I don't know how to do either.  For the second, I'm thinking
we should have a list of traderoutes (traderoutes { cityA cityB, ...})
in the savegame rather than traderoutes per city; and we should
send traderoutes as a new kind of packet, but I'm not sure this is
best.  How do others feel this should be done?

What's present:
- infrastructure that should give zero change in behaviour.

My dream is to have something like size/2 traderoutes per city, 
and to have trade routes able to carry food and shields.  This patch
starts addresses the first goal.

I don't have good memory checking, so I'd be happy if someone could
apply the patch, play a game, and tell me of any problems.

Attachment: traderoutes_variable.diff
Description: Binary data


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