Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094)
Home

[Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Improvement effects speedup (PR#1094)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jan 2002 23:12:50 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Jan 21, 2002 at 11:36:23AM -0800, Ben Webb wrote:
> On Mon, 21 Jan 2002, Raimar Falke wrote:
> 
> > With the attached patch you can be sure that if you got
> > client_game_running_state_via_connect that you will get an START_TURN
> > soon. client_game_running_state_via_reconnect stats for "no START_TURN
> > till you sent a new year packet first".
> 
> Er, what patch?

Sorry.

> > So you can do something like:
> > 
> >   if(get_client_state()==CLIENT_GAME_RUNNING_STATE) {
> >     ...
> >     free_intro_radar_sprites();
> > + if(client_game_running_state_via_reconnect) {
> > +   do some updating
> > + }
> >   }
> 
>       Is it not possible to just have the server send another START_TURN 
> packet at this point?

This is IMHO more ugly. But this would also possible.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Like the ad says, at 300 dpi you can tell she's wearing a
  swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you
  can tell it's painted on. I suppose at 2400 dpi you can tell
  if the paint is giving her a rash."
    -- Joshua R. Poulson

Attachment: game_state1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]