Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] [Update] City management agent
Home

[Freeciv-Dev] [Update] City management agent

[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] [Update] City management agent
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2001 23:53:02 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

Hi,

If you apply (in this order): attribute_client_and_server-2.diff,
generic_city_refresh-2.diff, note-8_based_on_attr2.diff,
gtk_dialogs.diff and cma-2.diff you can use the "All new version"[TM]
of the city management agent (CMA). Changes to previous version:
 - disables the map and citizen if the agent is active
 - added extra "Agents" button
 - make use of generic_city_refresh() to speed up calculation
 - removed cache1
 - doen't change city state on the server if it is up2date (reduces
   network traffic even more)
 - rewrote optimize_final() to really catch the best solution (the
   speed can be improved)
 - added column to city report (this was really easy, thanks to the
   coder of it)
 - moved code to city_management_frontend_common.[ch]
 - structs converted to arrays
 - uses client generated notes to indicate a failure
 - changed interaction with client/packhand.c

So the current version is faster (it is usable now) and also has a
nice interface (only for the GTK client).

Open issues:
 - in the german version the extra button enlarges the width the city
   dialog above 1024 pixel
 - take a look at optimize_final() (it will break if the number of
   factors which are !=0 is greater than 3 or 4)
 - add custom settings (if player want this)

Please provide some feedback.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  What's nice about GUI is that you see what you manipulate.
  What's bad about GUI is that you can only manipulate what you see.

Attachment: cma-2.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [Update] City management agent, Raimar Falke <=