[Freeciv-Dev] Re: [PATCH] Unit movement
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, 16 Jan 2001, Raimar Falke wrote:
> Whats wrong with:
>
> for_each_unit
> {
> while(current_unit_can_move)
> {
> think_about_best_direction(); /* could use dry_run */
> result=move();
> /* if dry_run was used before if should succeed */
> }
> }
>
> This assumes the result packet is sent last. Particular after the tile
> info and the info for the enemy unit.
You would need to take into the account the following situation:
A unit moves and uncovers a hostile unit next to him, but has moves left.
He could either retreat or call for help by another unit that could
possibly kill the hostile unit. Then the explorer could advance further.
Cheers,
Gerhard
- [Freeciv-Dev] Re: [PATCH] Unit movement, (continued)
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Reinier Post, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Reinier Post, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, ccrayne, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Reinier Post, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, ccrayne, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, ccrayne, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement,
Gerhard Killesreiter <=
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, Reinier Post, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/16
- [Freeciv-Dev] Re: [PATCH] Unit movement, Jeff Mallatt, 2001/01/15
|
|