Re: [Freeciv-Dev] Idea for 2.0
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Artur Biesiadowski (abies@xxxxxxxxx) wrote:
> Greg Wooledge wrote:
> > Yes, but that unique ID number is a secret that should be known only to
> > the server. The client should not know it.
> Of course not.
> In that case server could get away with pointers only. ID is needed to
> communicate with client. In other case how would you pass changes in
> info about units ?
Yes, using IDs for all units does simplify things greatly.
There's no problem with sending the client the unit IDs of the player's
*own* units. The problem comes when sending unit ID information for
enemy units.
Perhaps some time in the future, all enemy unit information could be
passed differently -- this may mean treating enemy units as a sort of tile
improvement that doesn't always stick around. ;-) But for now, to keep
things simple, I'd probably recommend leave the unit ID approach intact.
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
- Re: [Freeciv-Dev] Idea for 2.0, (continued)
- Re: [Freeciv-Dev] Idea for 2.0, Jules Bean, 2019/10/12
- Re: [Freeciv-Dev] Idea for 2.0, Greg Wooledge, 1999/07/15
- Re: [Freeciv-Dev] Idea for 2.0, Daniel Sjolie, 1999/07/15
- Re: [Freeciv-Dev] Idea for 2.0, Artur Biesiadowski, 1999/07/17
- RE: [Freeciv-Dev] Idea for 2.0, Todd Goodman, 1999/07/17
- Re: [Freeciv-Dev] Idea for 2.0, Peter Schaefer, 1999/07/17
- Re: [Freeciv-Dev] Idea for 2.0, Greg Wooledge, 1999/07/17
- Re: [Freeciv-Dev] Idea for 2.0, Artur Biesiadowski, 1999/07/17
- Re: [Freeciv-Dev] Idea for 2.0, Greg Wooledge, 1999/07/18
- Re: [Freeciv-Dev] Idea for 2.0, Artur Biesiadowski, 1999/07/18
- Re: [Freeciv-Dev] Idea for 2.0,
Greg Wooledge <=
- Re: [Freeciv-Dev] Idea for 2.0, Daniel Burrows, 1999/07/18
- [Freeciv-Dev] updating tile visibility (was: Idea for 2.0), Reinier Post, 1999/07/19
- Re: [Freeciv-Dev] updating tile visibility (was: Idea for 2.0), Daniel Burrows, 1999/07/19
- Re: [Freeciv-Dev] Idea for 2.0, Jules Bean, 1999/07/18
- Re: [Freeciv-Dev] Idea for 2.0, Alan Schmitt, 1999/07/19
- Re: [Freeciv-Dev] Idea for 2.0, Peter Schaefer, 1999/07/19
- Re: [Freeciv-Dev] Idea for 2.0, David Pfitzner, 1999/07/19
Re: [Freeciv-Dev] Idea for 2.0, Peter Schaefer, 2019/10/12
|
|