Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Borders?

[Freeciv-Dev] Borders?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Borders?
From: Adam Gregory <Adammgregory@xxxxxxxxx>
Date: Sun, 25 Nov 2001 18:52:05 -0300
Reply-to: Adammgregory@xxxxxxxxx

Hi everyone! I'd like to help implement borders for the countries in freeciv (assuming this isn't already being taken care of). This is my first time contributing to a free software project, so any and all support would be most appreciated. I have a few questions: How should the borders be calculated, does anyone have any ideas for the algorithm? Should the borders be coloured like in Alpha Centauri, and if so where would the national colours be found?
Is this already done (I saw borders.jpg in the incoming FTP)?

My own thoughts on calculating the borders would be that each nation has a particular level of claim on each square, which is based on its proximity to cities (within a certain range, say 10 squares), and the nation with the highest claim to the square owns it. I have an idea of how to do this, but it's difficult for me to put into words (I tried, it wasn't pretty :)).

I've familiarised myself with the hacker's guide, and I'm starting to try to write something for borders into the code now, but I'd really appreciate some feedback. Sorry about my newbieness.

The twin evils of an indifferent God and the spiteful force of gravity.

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