[Freeciv-Dev] Re: PATCH: AI cleanup Version 2
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I looked at your patch.
It's absolutely fine apart from the comment to unit_move_turns
You say: "Things like railroad, roads will make the actual move cost
lower than the given estimation. Mountains, swamps will increase actual
move cost"
But the estimation is based on the warmap which takes into account swamps
and roads. I suggest you remove the last two sentences. Instead add:
"VERY IMPORTANT: the function assumes that there is ready warmap for
punit at (x, y)"
Maybe you should just send in the patch with the function unit_move_turns
and then, separately, all other changes. By me the current patch is
fine. But Raimar might want to split it up ;)
And to make it 100% safe run autogame and compare the saves.
Best,
G.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and
Music Charts
http://uk.my.yahoo.com
- [Freeciv-Dev] Clearing your backlog, (continued)
- [Freeciv-Dev] Clearing your backlog, Raahul Kumar, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Raimar Falke, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Raahul Kumar, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Petr Baudis, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Raimar Falke, 2001/11/26
- [Freeciv-Dev] Re: Clearing your backlog, Gregory Berkolaiko, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Raimar Falke, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Gregory Berkolaiko, 2001/11/26
- [Freeciv-Dev] Re: Clearing your backlog, Gregor Zeitlinger, 2001/11/25
- [Freeciv-Dev] Re: Clearing your backlog, Reinier Post, 2001/11/29
- [Freeciv-Dev] Re: PATCH: AI cleanup Version 2,
Gregory Berkolaiko <=
- [Freeciv-Dev] Re: PATCH: AI cleanup Version 2, Raimar Falke, 2001/11/26
- [Freeciv-Dev] PATCH: AI cleanup Version 2, Raahul Kumar, 2001/11/27
- [Freeciv-Dev] Re: PATCH: AI cleanup Version 2, Raimar Falke, 2001/11/27
- [Freeciv-Dev] Re: PATCH: AI cleanup Version 2, Gregory Berkolaiko, 2001/11/27
- [Freeciv-Dev] Re: PATCH: AI cleanup Version 2, Raimar Falke, 2001/11/28
- [Freeciv-Dev] Re: PATCH: AI cleanup Version 2, Raahul Kumar, 2001/11/29
[Freeciv-Dev] Re: RFC: Fixing movement code, Petr Baudis, 2001/11/22
|
|