Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF: prev on map update (fwd)
[forwarded, as requested by the sender]
>>>>[From Preston F. Crow]
From Preston.F.Crow@Dartmouth.EDU Tue Sep 30 18:31:16 1997
Message-id: <47570361@dancer.Dartmouth.EDU>
Date: 30 Sep 97 21:31:12 EDT
From: Preston.F.Crow@Dartmouth.EDU (Preston F. Crow)
Reply-To: preston.crow@dancer.dartmouth.edu
Subject: Re: CF: prev on map update
To: philb@csua.berkeley.edu (Philip Brown)
>WHen in the Scorn port, it does not update "everything visible". It
>updates
> "The sea, plus all unseen squares"
Would it be possible for the server to send the full animation
sequence once, and let the client handle the animation? That would
cut down on the bandwidth a lot in some cases.
I'm clueless as to the code structure, but I'm thinking something
along the line:
Server: square x,y is anim_ocean
Client: explain anim_ocean
Server: anim_ocean: ocean_1, ocean_2, ocean_3
Client: get_xpm: ocean_1, ocean_2, ocean_3
...
Something like the above would minimize communication after the first
ocean square has been seen.
Of course, to really minimize bandwidth, we should use a binary
protocol, but that's another issue.
--PC
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]