Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] fix bug in smooth move draw and lots more
Home

[Freeciv-Dev] fix bug in smooth move draw and lots more

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] fix bug in smooth move draw and lots more
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Fri, 16 Jun 2000 20:09:08 -0400

I noticed a bug in both the GTK+ and Xaw clients' move_unit_map_canvas()
routines: the intermediate images as drawn contained a bunch of garbage
around the edges (if solid color off and flags transparent).  (Actually, in
GTK+ the "garbage" was a solid white background.)

Well, to fix the bug, it helps to see it -- and to see this bug when
running the clients, I had to throttle the smooth move drawing.  This being
a request from awhile ago, I decided to implement it for real (rather than
just for test purposes).  To put the throttling under user control, I
needed to implement client options that were integers (rather than just
booleans).

The attached patch does all this.

Attachment: smooth-move-fix-plus-1.diff.gz
Description: Binary data

jjm

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