Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] [Patch] CMA 2.5
Home

[Freeciv-Dev] [Patch] CMA 2.5

[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] CMA 2.5
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Oct 2001 20:28:39 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

Changes since 2.4:
 - fix bug wrt to disconnect
 - CMA crashed if a city is for a short time in another condition
 (example: goto through a city, after the first step into the city the
 server sends a city_info packet were the martical law of the unit is
 active. If the CMA now re-calculates this and sents an update to the
 server the server will calculate another result because the unit is
 long ago moved out of the city. BOOM. Solution: The agent
 "controller" agents.c will collect all pending callbacks and calls
 them after the processing finished packet comes in. At this time the
 unit has moved through the city. This has also the nice effect of
 reducing the number of re-calculations and so possible the number of
 adjustments of the citizens)
 - cleaned the preset handling a bit up and shortend the list a bit

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  +#if defined(__alpha__) && defined(CONFIG_PCI)
  +       /*
  +        * The meaning of life, the universe, and everything. Plus
  +        * this makes the year come out right.
  +        */
  +       year -= 42;
  +#endif
    -- Patch for 1.3.2 (kernel/time.c) from Marcus Meissner

Attachment: cma2_5.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [Patch] CMA 2.5, Raimar Falke <=