Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] [Patch] New nation selection schema
Home

[Freeciv-Dev] [Patch] New nation selection schema

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [Patch] New nation selection schema
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Aug 2001 12:21:04 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

The attached patch changes the way the server informs the client about
allocated nations. Currently the server send a bitmask which resticts
the number of nations to 64. The new is to send a list of nation
ids. Since this is dynamical at the network level the new solution
will even use less bandwidth than the current one for up to 4
allocated nations. This allows up to 64k nations (hello and welcome
star trek nations).

Since this change is a bit intruding I would not like to add backward
compatible code and make this capability mandatory. Backward
compatible code would be a mess since also the gui has to be changed.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  (On the statement print "42 monkeys"+"1 snake"): BTW, both perl and Python
  get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when 
  the answer is clearly "41 monkeys and 1 fat snake".  
    -- Jim Fulton, 10 Aug 1999

Attachment: new_nation_selection1.diff
Description: Text document


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