Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2006:
[Freeciv-Dev] Re: Freeciv Naval Units
Home

[Freeciv-Dev] Re: Freeciv Naval Units

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Lorimer <dlorimer@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Freeciv Naval Units
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Tue, 7 Feb 2006 11:38:11 +0000 (GMT)

On Mon, 6 Feb 2006, David Lorimer wrote:
> Hi.My name is David Lorimer, and I am a college student at Kentucky
> Mountain Bible College.I've been playing freeciv for several years now,
> and I love it!My roomate and I were looking into changing the naval unit
> rules when we discovered your partially completed "bombard" flag.I guess I
> don't really know how this game is designed.I have some ideas for working
> on that flag, but I couldn't find where it is stored.Are your flags like a
> ruleset or is it code?If code, what code is freeciv written in?I'm not a
> programmer, but if it's something relatively simple, I'd like to give it a
> try.

The "Bombard" flag is stored in the file units.ruleset, and is checked in
the code by unit_flag(punit, F_BOMBARD). Freeciv is written in C. What is
missing for the bombard code is AI support. This is non-trivial. If you
are not an experienced coder, I suggest you start with something simpler
first.

  - Per




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