[Freeciv-Dev] Re: Explosion animations
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
explosions-patch-2.diff.gz
Description: Binary data
jjm
|
|