dockapps/wmweather+-2.12/animation.h
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00

24 lines
745 B
C

struct animation {
int do_animate:1; /* animate, or use min_pct? */
int show_counter:1; /* display the percentage counter? */
unsigned int min_pct:7; /* when not animating, show any occurence with more
than this percent chance */
int changed:1; /* Set this if you change any of the above */
int active:1;
int x, y;
int sky;
int obs;
int vis;
int items[5];
int ac;
double moon;
unsigned int old_pct:7;
int pct;
};
void SetAnimation(struct animation *a, int x, int y, int sky, int obs, int vis,
int frz, int snow, int rain, int tstorm, int svtstorm,
double moon);
void DoAnimation(struct animation *a);