Re: [Freeciv-Dev] patch: solar plant...
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Daniel Sjolie (deepone@xxxxxxxxxx) wrote:
> I now know why I want more general packets... :)
> I tried to add fileds to the city struct to display
> more detailed pollution info in the client...
> I found 4-6 places I had to change in the code and
> it still went crazy... I removed that... :p
But this isn't secret information that the client should be able to
learn only from the server. The formulas are (sort of) clearly exposed
in the source code, after all. So put the calculation of pollution in
the common directory, and let both the client and the server compute
the value, or any subvalues you wish. Then the client can display all
the details without ever consulting the server.
--
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] patch: solar plant..., (continued)
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/23
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., David Pfitzner, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/25
- Re: [Freeciv-Dev] patch: solar plant..., Greg Wooledge, 1999/07/25
- Re: [Freeciv-Dev] patch: solar plant...,
Greg Wooledge <=
- Re: [Freeciv-Dev] patch: solar plant..., David Pfitzner, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Stephen Hodge, 1999/07/23
- Re: [Freeciv-Dev] patch: solar plant..., Stephen Hodge, 1999/07/25
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/26
Re: [Freeciv-Dev] patch: solar plant..., Martin Willemoes Hansen, 1999/07/20
Re: [Freeciv-Dev] patch: solar plant..., Martin Willemoes Hansen, 1999/07/20
|
|