Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2000:
[Freeciv-Dev] Re: Explosion animations
Home

[Freeciv-Dev] Re: Explosion animations

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Explosion animations
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Tue, 18 Jan 2000 11:10:18 -0500

At 2000/01/16 15:42 , Falk Hueffner wrote:
>here's another attempt to get my explosion animation stuff into the
>main distribution... It's now adapted to the tilespec system.
>Explosions still stolen from xgalaga, but actually they don't look
>that bad.
>
>Problems:
>
>- gtk client only, but should be easy for other clients
>- animation speed hardcoded. I don't know if there's need to have this
>  dynamic...
>
>Please, folks, tell me what you think about this, so I can make it
>perfect this time :)

It looks good, but there was a small problem.  The new sleep stuff is more
than just the "wrapper" that common/support.[hc] is supposed to be for.
Also, it used configuration constants without including config.h (and,
would require including config.h in a header file, proliferating it).
Finally, much of the unification of gettimeofday() is already done in
common/timing.[hc].  So, I decided to build a "sleep until..." thing on top
of the timer stuff.

The timer-based sleep, plus some minor clean-up, plus speeding up the
animations a bit (the speed is still hardcoded), plus the Xaw client
implementation are included in the attached, updated patch.

Attachment: explosions-patch-2.diff.gz
Description: Binary data

jjm

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