Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#717) WISHLIST: Goto cursor shows movecost
Home

[Freeciv-Dev] (PR#717) WISHLIST: Goto cursor shows movecost

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: sigra@xxxxxxx, stepan@xxxxxxxx, Brett.Albertson@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#717) WISHLIST: Goto cursor shows movecost
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 14:26:09 -0700
Reply-to: rt@xxxxxxxxxxxxxx

A new version of this patch.

Changes:

- Drop hundreds and thousands' place; these are totally unnecessary.
- Fix the sprite name for the tens' place.
- Remove unnecessary #include.

Problems:

- Doesn't work with waypoints.  How can this be solved with PF?  We
can't just look at 'turns' but need to consider the actual number of
moves along each path.  Perhaps the easiest thing is to concatenate the
paths - although this is in theory slow (it's currently only done when
we execute the goto), it's probably fine in practice.

jason

Attachment: goto_distance-2.diff
Description: goto_distance-2.diff


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#717) WISHLIST: Goto cursor shows movecost, Jason Short <=