Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: PATCH: network i/o
Home

[Freeciv-Dev] Re: PATCH: network i/o

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: PATCH: network i/o
From: Jed Davis <jldavis@xxxxxxxxxxxxxx>
Date: Mon, 04 Sep 2000 10:13:28 -0400

--On Monday, 4 September 2000 15:44 +1100 David Pfitzner <dwp@xxxxxxxxxxxxxx> wrote:

- I found it a bit confusing that game.net_compress_level is named so
similarly to game.save_compress_level when actually the 'levels' are
quite different: latter is "compression level/quality" 1 to 9 (or 0
for off), while former is an enum of whether compression is allowed
and/or required for clients.  Didn't change though.

So maybe game.net_compress_level should be the quality/speed tradeoff of the network compression from 1..9 (or 0 for off), which would a more intuitive use for the name, and something like game.net_compress_policy could be the never-compress/compress-if-possible/always-compress selector. Or, if the two compression levels are to be the same, rename them/it to something like game.compress_level.

--Jed





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