File: structs.h

package info (click to toggle)
bombardier 0.8.5
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 204 kB
  • sloc: ansic: 829; sh: 50; makefile: 38
file content (33 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Bombardier */
/* The GNU Bombing utility */
/* Copyright (C) 2001, 2009 Gergely Risko */
/* Can be licensed under the terms of GPL v3 or above */

struct struc_state
{
    unsigned char houses[WIDTH];
    int houses_text[WIDTH];
    unsigned char line;
    unsigned char x;
    unsigned char bombx;
    unsigned char bomby;
    unsigned char willbebombed;
    unsigned char crashed;
    unsigned int city;
    unsigned int blocks;
    unsigned int numofblocks;
    unsigned char exit;
    unsigned int delay;
    int score;
    char *text;
    struct timeval tvusleeputan, szamolashoz, uu, ue;
    signed long int bombsleep, usleepelni;
    int shouldpause;
};

struct struc_texts
{
    unsigned char minfloor;
    unsigned char maxfloor;
    char *text;
};