[freeciv-ai] Re: simple historian agent
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
strcpy(simple_historian_agent.name, "Simple Historian");
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.