[Freeciv-Dev] Re: (PR#2053) Cient can see all units in a stack
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Apr 28, 2003 at 01:03:27PM +0100, Gregory Berkolaiko wrote:
> Sending only "top" leads to all sorts of problems. The root of all evil
> is that the units move into a tile (to form a stack) one by one and each
> of these movements is sent to the client.
For real stacks we need an abstraction. Stacks must form a new atomic
object. A stack moves as a whole or not. All units of a stack attack
and defend. A stack needs a leader unit which is shown. I would here
say that the most expensive unit should be shown. But this is only a
detail. You would see all leaders of all stacks of a tile. And maybe
also the unit count of each stack.
Stacks are the "real" solution. However it may make the game too
complex. Especially since I assume that groups of units are not much
used in today games. But it is possible that this is caused by the
lack of real stacks.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Premature optimization is the root of all evil."
-- D. E. Knuth in "Structured Programming with go to Statements"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#2053) Cient can see all units in a stack,
Raimar Falke <=
|
|