Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] (PR#3627) Use of MAX_NUM_NATIONS
Home

[Freeciv-Dev] (PR#3627) Use of MAX_NUM_NATIONS

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3627) Use of MAX_NUM_NATIONS
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 6 Mar 2003 02:32:42 -0800
Reply-to: rt@xxxxxxxxxxxxxx


MAX_NUM_NATIONS it is used as a flag value to indicate "no nation
choosen yet". This is bad since it requires to do capability code
every time we change it. Better to use value outside of the normal
range. Either very large (65000) or a very small (-1).

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Using only the operating-system that came with your computer is just
  like only playing the demo-disc that came with your CD-player."




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