File: animation.h

package info (click to toggle)
wmweather+ 2.15-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,100 kB
  • ctags: 579
  • sloc: ansic: 5,822; sh: 1,294; makefile: 42
file content (23 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);