Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] [PATCH] settler activity progress

[Freeciv-Dev] [PATCH] settler activity progress

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [PATCH] settler activity progress
From: Stepan Roh <stepan@xxxxxxxx>
Date: Thu, 30 Aug 2001 23:08:10 +0200 (CEST)

Attached is a patch against current CVS which adds settler activity
progress to the GTK client. Progress is shown in the middle-button popup.
Example: "Activity: Road(1)/Irrigation(4)". Numbers in parentheses are
numbers of turns to completion. Case of multiple settlers doing one job is
handled correctly (I hope). Following activities are shown:  Pollution,
Road, Mine, Irrigation, Fortress, Railroad, Transform, Airbase, Fallout.

This code assumes that unit.activity_count is increased by one each turn
(I have a feeling that Engineers in Civ2 were twice as fast than Settlers
- this is not implemented in Freeciv, right?).

Have a nice day.

Stepan Roh

Attachment: settler_activity_progress.diff
Description: cvs diff -u

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