wmmon I/O monitor bug fixes:
[dockapps.git] / wmweather+ / animation.h
blob1906eb1ebd70c40c2e0f0905c36ae8d4c10fe354
1 struct animation {
2 int do_animate:1; /* animate, or use min_pct? */
3 int show_counter:1; /* display the percentage counter? */
4 unsigned int min_pct:7; /* when not animating, show any occurence with more
5 than this percent chance */
6 int changed:1; /* Set this if you change any of the above */
8 int active:1;
9 int x, y;
10 int sky;
11 int obs;
12 int vis;
13 int items[5];
14 int ac;
15 double moon;
16 unsigned int old_pct:7;
17 int pct;
20 void SetAnimation(struct animation *a, int x, int y, int sky, int obs, int vis,
21 int frz, int snow, int rain, int tstorm, int svtstorm,
22 double moon);
23 void DoAnimation(struct animation *a);