[Freeciv-Dev] Re: (PR#4107) Client crash on start.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, May 02, 2003 at 09:40:51AM -0700, Gregory Berkolaiko wrote:
>
> On Fri, 2 May 2003, Raimar Falke wrote:
>
> > On Fri, May 02, 2003 at 08:55:07AM -0700, Per I. Mathisen wrote:
> >
> > > One way to generalising them, and presumably save some network
> > > traffic, would be to instead mark units as "dirty" when they need
> > > updating on the client, and then actually only do the
> > > send_unit_infos later.
> >
> > I would rather add a new parameter "bool send_packets" for
> > generic_city_refresh.
>
> But then you have monstrosity like line 74 of common/city.h
This is city.c. Cleaner would be a callback. Non-set for the client
and set to a send_unit_info for the server. Hmmm I like this idea.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"The very concept of PNP is a lovely dream that simply does not translate to
reality. The confusion of manually doing stuff is nothing compared to the
confusion of computers trying to do stuff and getting it wrong, which they
gleefully do with great enthusiasm."
-- Jinx Tigr in the SDM
[Freeciv-Dev] Re: (PR#4107) Client crash on start., Per I. Mathisen, 2003/05/02
|
|