Complete.Org: Mailing Lists: Archives: freeciv-ai: March 2004:
[freeciv-ai] Re: simple historian agent
Home

[freeciv-ai] Re: simple historian agent

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: nikodimka <nikodimka@xxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: simple historian agent
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Thu, 25 Mar 2004 19:24:59 -0500

nikodimka wrote:

 strcpy(simple_historian_agent.name, "Simple Historian");

strlcpy

What is it? I don't think you mean the cool OpenBSDism.
Do you mean strncpy?

He means mystrlcpy.  See support.h.  See also sz_strlcpy.

The second issue is: "in which coordinate system these x,y should be?"
the "index" allways has well defined meaning whereas x,y is something pretty fuzzy as far as I can tell.

_If_ you use (x,y) you want them to be map positions.

jason


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